diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-03 12:59:07 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-05 02:05:16 +0200 |
commit | 844096cf8dd1553d5d0600bb99a64f5728e7d9b9 (patch) | |
tree | 4bd876d96fc9b9a02fe5a657769db44953498574 /postprocess/packregistry | |
parent | 05a0b08606ac77cf7d3e294998138610b53b1b6d (diff) |
Make postprocess build for iOS and --disable-database-connectivity
Whether anything that's done in postprocess is relevant for iOS
remains to be seen.
Diffstat (limited to 'postprocess/packregistry')
-rw-r--r-- | postprocess/packregistry/makefile.mk | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/postprocess/packregistry/makefile.mk b/postprocess/packregistry/makefile.mk index 843a8802c54b..f17b9446d32d 100644 --- a/postprocess/packregistry/makefile.mk +++ b/postprocess/packregistry/makefile.mk @@ -68,13 +68,17 @@ MY_FILES_calc = \ $(MY_XCS)/Office/UI/CalcWindowState.xcs \ $(MY_XCU)/Office/UI/CalcCommands.xcu \ $(MY_XCU)/Office/UI/CalcWindowState.xcu \ - $(MY_MOD)/DataAccess/calc.xcu \ $(MY_MOD)/fcfg_calc_filters.xcu \ $(MY_MOD)/fcfg_calc_types.xcu \ $(MY_MOD)/org/openoffice/Office/Common-calc.xcu \ $(MY_MOD)/org/openoffice/Office/Embedding-calc.xcu \ $(MY_MOD)/org/openoffice/Setup-calc.xcu +.IF "$(BUILD_TYPE)" != "$(BUILD_TYPE:s/DBCONNECTIVITY//)" +MY_FILES_calc += \ + $(MY_MOD)/DataAccess/calc.xcu +.ENDIF + MY_DEPS_cjk = main MY_FILES_cjk = \ $(MY_MOD)/org/openoffice/Office/Common-cjk.xcu \ @@ -261,10 +265,6 @@ MY_FILES_main = \ $(MY_XCU)/UserProfile.xcu \ $(MY_XCU)/VCL.xcu \ $(MY_XCU)/ucb/Configuration.xcu \ - $(MY_MOD)/DataAccess/dbase.xcu \ - $(MY_MOD)/DataAccess/flat.xcu \ - $(MY_MOD)/DataAccess/mysql.xcu \ - $(MY_MOD)/DataAccess/odbc.xcu \ $(MY_MOD)/fcfg_base_filters.xcu \ $(MY_MOD)/fcfg_base_others.xcu \ $(MY_MOD)/fcfg_base_types.xcu \ @@ -280,6 +280,13 @@ MY_FILES_main = \ $(MY_MOD)/org/openoffice/TypeDetection/UISort-impress.xcu \ $(MY_MOD)/org/openoffice/TypeDetection/UISort-math.xcu \ $(MY_MOD)/org/openoffice/TypeDetection/UISort-writer.xcu +.IF "$(BUILD_TYPE)" != "$(BUILD_TYPE:s/DBCONNECTIVITY//)" +MY_FILES_main += \ + $(MY_MOD)/DataAccess/dbase.xcu \ + $(MY_MOD)/DataAccess/flat.xcu \ + $(MY_MOD)/DataAccess/mysql.xcu \ + $(MY_MOD)/DataAccess/odbc.xcu +.ENDIF .IF "$(GUIBASE)" == "aqua" MY_FILES_main += \ $(MY_MOD)/DataAccess/macab.xcu \ @@ -521,22 +528,33 @@ $(MISC)/lang/fcfg_langpack_%.xcd .ERRREMOVE : $(XSLTPROC) --nonet --stringparam prefix $(PWD)/$(MISC)/ -o $@ \ $(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list -$(MISC)/lang/registry_{$(alllangiso)}.xcd : $(SOLARPCKDIR)/$$(@:b).zip \ - $(SOLARPCKDIR)/fcfg_drivers_$$(@:b:s/registry_//).zip +$(MISC)/lang/registry_{$(alllangiso)}.xcd : $(SOLARPCKDIR)/$$(@:b).zip + +.IF "$(BUILD_TYPE)" != "$(BUILD_TYPE:s/DBCONNECTIVITY//)" +$(MISC)/lang/registry_{$(alllangiso)}.xcd : $(SOLARPCKDIR)/fcfg_drivers_$$(@:b:s/registry_//).zip +.ENDIF $(MISC)/lang/registry_%.xcd .ERRREMOVE : $(MKDIRHIER) $(@:d) rm -rf $(MISC)/$(@:b).unzip mkdir $(MISC)/$(@:b).unzip cd $(MISC)/$(@:b).unzip && unzip $(SOLARPCKDIR)/$(@:b).zip +.IF "$(BUILD_TYPE)" != "$(BUILD_TYPE:s/DBCONNECTIVITY//)" rm -rf $(MISC)/fcfg_drivers_$*.unzip mkdir $(MISC)/fcfg_drivers_$*.unzip cd $(MISC)/fcfg_drivers_$*.unzip && \ unzip $(SOLARPCKDIR)/fcfg_drivers_$*.zip +.ENDIF - $(RM) $(MISC)/$(@:b).list # filter out filenames starting with "." +.IF "$(BUILD_TYPE)" != "$(BUILD_TYPE:s/DBCONNECTIVITY//)" echo '<list>' $(foreach,i,$(shell cd $(MISC) && \ find $(@:b).unzip fcfg_drivers_$*.unzip -name \[!.\]\*.xcu -print) \ '<filename>$i</filename>') '</list>' > $(MISC)/$(@:b).list +.ELSE + echo '<list>' $(foreach,i,$(shell cd $(MISC) && \ + find $(@:b).unzip -name \[!.\]\*.xcu -print) \ + '<filename>$i</filename>') '</list>' > $(MISC)/$(@:b).list +.ENDIF $(XSLTPROC) --nonet --stringparam prefix $(PWD)/$(MISC)/ -o $@ \ $(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list |