diff options
author | midipix <writeonce@midipix.org> | 2020-01-26 16:40:49 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-05-23 05:59:01 +0000 |
commit | 944e2bdb67e96024a149fbdc07e5ec83bae0abe3 (patch) | |
tree | 856807fb699fe2b3570e8109233dff61d6d5e883 /sofort/core/flavor.mk | |
parent | c755a5575fd437e95ea96cd10b45968562793656 (diff) | |
download | tpax-944e2bdb67e96024a149fbdc07e5ec83bae0abe3.tar.bz2 tpax-944e2bdb67e96024a149fbdc07e5ec83bae0abe3.tar.xz |
build system: created skeleton.
Diffstat (limited to 'sofort/core/flavor.mk')
-rw-r--r-- | sofort/core/flavor.mk | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/sofort/core/flavor.mk b/sofort/core/flavor.mk new file mode 100644 index 0000000..85c41a2 --- /dev/null +++ b/sofort/core/flavor.mk @@ -0,0 +1,73 @@ +# flavor.mk: top-level handling of build flavors. +# this file is covered by COPYING.SOFORT. + +ifneq ($(OS_DSO_EXRULES),) +include $(PROJECT_DIR)/sofort/exrules/$(OS_DSO_EXRULES).mk +endif + +ifeq ($(DISABLE_STATIC),yes) +package-static: +package-install-static: +else +package-static: static +package-install-static: install-static +endif + +ifeq ($(DISABLE_SHARED),yes) +package-shared: +package-install-shared: +else +package-shared: shared +package-install-shared: install-shared +endif + + + +ifeq ($(DISABLE_FRONTEND),yes) +app-tag: +package-install-app: +package-install-extras: +else +app-tag: package-app app.tag +package-install-app: install-app +package-install-extras: install-extras +endif + + + +ifeq ($(ALL_STATIC),yes) + +package-app: static-app +app: PACKAGE_APP = $(STATIC_APP) +app-tag: PACKAGE_APP = $(STATIC_APP) +app.tag: $(STATIC_APP) + + +else ifeq ($(ALL_SHARED),yes) + +package-app: shared-app +app: PACKAGE_APP = $(SHARED_APP) +app-tag: PACKAGE_APP = $(SHARED_APP) +app.tag: $(SHARED_APP) + + +else + +package-app: default-app +app: PACKAGE_APP = $(DEFAULT_APP) +app-tag: PACKAGE_APP = $(DEFAULT_APP) +app.tag: $(DEFAULT_APP) + +endif + + + +ifeq ($(CUSTOM_INSTALL_HEADERS),yes) + +install-headers:install-headers-custom + +else + +install-headers:install-headers-default + +endif |