summaryrefslogtreecommitdiffhomepage
path: root/sofort/core/flavor.mk
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-09 13:31:49 +0000
committermidipix <writeonce@midipix.org>2021-04-10 20:54:42 +0000
commit09e9f270788fce645b110706c0caacfdc0993beb (patch)
tree68b0e3484aa9ef3f6eb774d4570f3346047a6f03 /sofort/core/flavor.mk
parenta667411997d8886afa12eae341571f1427af1073 (diff)
downloadmmglue-09e9f270788fce645b110706c0caacfdc0993beb.tar.bz2
mmglue-09e9f270788fce645b110706c0caacfdc0993beb.tar.xz
build system: posix make support: refactored build-flavor dependency schemes.
Diffstat (limited to 'sofort/core/flavor.mk')
-rw-r--r--sofort/core/flavor.mk69
1 files changed, 5 insertions, 64 deletions
diff --git a/sofort/core/flavor.mk b/sofort/core/flavor.mk
index 45b16d7..6a7c97a 100644
--- a/sofort/core/flavor.mk
+++ b/sofort/core/flavor.mk
@@ -3,69 +3,10 @@
include $(PROJECT_DIR)/sofort/exrules/$(OS_DSO_EXRULES).mk
-ifeq ($(DISABLE_STATIC),yes)
-package-static:
-package-install-static:
-else
-package-static: static
-package-install-static: install-static
-endif
+include $(PROJECT_DIR)/sofort/core/_flavor/flavor_static_library_$(STATIC_LIBRARY_OPT).mk
+include $(PROJECT_DIR)/sofort/core/_flavor/flavor_shared_library_$(SHARED_LIBRARY_OPT).mk
-ifeq ($(DISABLE_SHARED),yes)
-package-shared:
-package-install-shared:
-else
-package-shared: shared
-package-install-shared: install-shared
-endif
+include $(PROJECT_DIR)/sofort/core/_flavor/flavor_app_frontend_$(APP_FRONTEND_OPT).mk
+include $(PROJECT_DIR)/sofort/core/_flavor/flavor_app_linking_$(APP_LINKING_OPT).mk
-
-
-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
+include $(PROJECT_DIR)/sofort/core/_flavor/flavor_install_headers_$(INSTALL_HEADERS_OPT).mk