summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2012-11-29 12:13:07 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2012-11-29 12:14:57 +0100
commitd02dc6167a9099b2306f8da0f1a9cf2d748ba30f (patch)
tree5679a3b0e01d27bc8adf78f6e8f95372620b3460
parent79e5ee5f6949f4b8645ef32dba61705d02473c60 (diff)
generate module list on the fly
-rw-r--r--Makefile.top224
1 files changed, 11 insertions, 213 deletions
diff --git a/Makefile.top b/Makefile.top
index 6e616f14703f..f2ae0c334954 100644
--- a/Makefile.top
+++ b/Makefile.top
@@ -27,219 +27,17 @@ endif
# This list tells which modules are gbuild ones. It does *not* tell which modules to build. That is directed
# by the module being mentioned in packimages/prj/build.lst, etc, recursively.
-gbuild_modules:= \
-MathMLDTD\
-Mesa\
-UnoControls\
-accessibility\
-afms\
-android\
-animations\
-apache-commons\
-apple_remote\
-autodoc\
-avmedia\
-basctl\
-basebmp\
-basegfx\
-basic\
-bean\
-beanshell\
-binaryurp\
-bluez_bluetooth\
-boost\
-bridges\
-cairo\
-canvas\
-chart2\
-cli_ure\
-clucene\
-codemaker\
-comphelper\
-configmgr\
-connectivity\
-cosv\
-cppcanvas\
-cppu\
-cppuhelper\
-cpputools\
-ct2n\
-cui\
-curl\
-dbaccess\
-desktop\
-dictionaries \
-drawinglayer\
-dtrans\
-editeng\
-embeddedobj\
-embedserv\
-epm\
-eventattacher\
-expat\
-extensions\
-extras\
-fileaccess\
-filter\
-fontconfig\
-forms\
-formula\
-fpicker\
-framework\
-freetype\
-graphite\
-helpcompiler\
-hsqldb\
-hunspell\
-hwpfilter\
-hyphen\
-i18npool\
-i18nutil\
-idl\
-idlc\
-io\
-javaunohelper\
-jfreereport\
-jpeg\
-jurt\
-jvmaccess\
-jvmfwk\
-l10ntools\
-languagetool\
-lcms2\
-libcdr\
-libcmis\
-libexttextcat\
-liblangtag\
-libmspub\
-liborcus\
-libpng\
-librelogo\
-libvisio\
-libwpd\
-libwpg\
-libwps\
-lingucomponent\
-linguistic\
-lotuswordpro\
-lpsolve\
-mdds\
-more_fonts\
-mythes\
-neon\
-nlpsolver\
-np_sdk\
-o3tl\
-offapi\
-officecfg\
-oovbaapi\
-oox\
-openldap\
-package\
-packimages\
-padmin\
-postgresql\
-psprint_config\
-python3 \
-pyuno\
-qadevOOo\
-readlicense_oo\
-registry\
-remotebridges\
-reportbuilder\
-reportdesign\
-rhino\
-ridljar\
-rsc\
-sal\
-salhelper\
-sane\
-sax\
-sc\
-scaddins\
-sccomp\
-scp2\
-scripting\
-sd\
-sdext\
-sfx2\
-shell\
-slideshow\
-smoketest\
-solenv\
-soltools\
-sot\
-starmath\
-stoc\
-store\
-svgio\
-svl\
-svtools\
-svx\
-sw\
-swext\
-tail_build\
-test\
-testtools\
-tomcat\
-toolkit\
-tools\
-touch\
-translations\
-tubes\
-twain\
-ucb\
-ucbhelper\
-ucpp\
-udkapi\
-udm\
-unixODBC\
-unodevtools\
-unoil\
-unotest\
-unotools\
-unoxml\
-ure\
-uui\
-vbahelper\
-vcl\
-vigra\
-wizards\
-writerfilter\
-writerperfect\
-x11_extensions\
-xmerge\
-xmlhelp\
-xmloff\
-xmlreader\
-xmlscript\
-xmlsecurity\
-xsltml\
-zlib\
-
-dmake_modules:=\
-cppunit\
-crashrep\
-external\
-helpcontent2 \
-icu\
-instsetoo_native\
-libxml2\
-libxmlsec\
-libxslt\
-moz\
-mysqlc\
-mysqlcppconn\
-nss\
-odk\
-openssl\
-postprocess\
-python\
-redland\
-setup_native\
-stlport\
-sysui\
-xpdf\
+$(WORKDIR)/modules.mk:
+ echo -n "gbuild_modules:=" > $@
+ for m in */Module_*.mk; do echo $$m | sed -e 's/\/.*$$/ \\/'; done >> $@
+ echo >> $@
+ echo -n "dmake_modules:=" >> $@
+ for m in */prj/dmake; do echo $$m | sed -e 's/\/.*$$/ \\/'; done >> $@
+ echo >> $@
+
+include $(WORKDIR)/modules.mk
+include $(SRCDIR)/solenv/gbuild/Output.mk
+$(if $(filter $(gbuild_modules),$(dmake_modules)),$(eval $(call gb_Output_info,The following modules claim to be both dmake and gbuild: $(filter $(gbuild_modules),$(dmake_modules)))))
export gb_TAILBUILDTARGET=all slowcheck