diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-13 22:47:40 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-21 00:00:01 +0200 |
commit | 77017cb9036902012e7228755896a200b5baf372 (patch) | |
tree | 30582dbedcc83766e08dc094dfca0ef4b72fa77b /ios/qa | |
parent | 3c5fa6f532e222dbda9accc2a0bca787cd8351b9 (diff) |
Try setting up some rc files
Diffstat (limited to 'ios/qa')
-rw-r--r-- | ios/qa/sc/Makefile | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/ios/qa/sc/Makefile b/ios/qa/sc/Makefile index 1cbbb01b2141..28b1fdec1b84 100644 --- a/ios/qa/sc/Makefile +++ b/ios/qa/sc/Makefile @@ -32,11 +32,31 @@ CFLAGS = $(SOLARINC) LIBS = -Wl,$(OUTDIR)/bin/cppunit/cppunittester.a -Wl,$(WORKDIR)/LinkTarget/CppunitTest/libtest_sc_filters_test.a -Wl,$(OUTDIR)/lib/bootstrap.uno.a -Wl,$(OUTDIR)/lib/unoexceptionprotector.a $(SOLARLIB) -lavmedialo -lbasegfxlo -lcanvastoolslo -lcomphelpgcc3 -lcppcanvaslo -lcppunit -ldrawinglayerlo -leditenglo -lforlo -lforuilo -lfwelo -lfwilo -lfwklo -lgcc3_uno -li18nisolang1gcc3 -li18npaperlo -li18nutilgcc3 -licuuc -ljpeg -ljvmfwk -llnglo -lreg -lsal_textenc -lsalcpprt -lsaxlo -lsclo -lsfxlo -lstore -lsvllo -lsvtlo -lsvxlo -lsvxcorelo -lsotlo -ltest -ltklo -ltllo -lucbhelper4gcc3 -luno_cppuhelpergcc3 -luno_cppu -luno_sal -luno_salhelpergcc3 -lunotest -lutllo -lvcllo -lxml2 -lxmlreader -lxolo -lz $(addprefix -framework , $(gb_Library__FRAMEWORKS)) -liconv -lobjc -all: $(APPDIR)/$(APP) +all: $(APPDIR)/$(APP) stuff $(APPDIR)/$(APP): $(SRCS) mkdir -p $(APPDIR) $(CXX) -o $@ $(CFLAGS) $(gb_OBJCXXFLAGS) $(SRCS) $(LIBS) +stuff: +# inifile: + echo 'URE_BOOTSTRAP=$${ORIGIN}/fundamentalrc' >$(APPDIR)/rc +# +# URE_BOOTSTRAP file, fundamentalrc: + ( \ + echo '[Bootstrap]'; \ + echo 'BRAND_BASE_DIR=$${ORIGIN}'; \ + ) >$(APPDIR)/fundamentalrc +# +# .res files +# +# $BRAND_BASE_DIR/program/resource hardcoded in +# ResMgrContainer::init() in tools/source/rc/resmgr.cxx, so let's use +# that. + mkdir -p $(APPDIR)/program/resource + for F in $(OUTDIR)/bin/*.res; do \ + cp $$F $(APPDIR)/res; \ + done + clean: rm -rf $(APPDIR) |