summaryrefslogtreecommitdiff
path: root/sofort/custom.mk
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-10 17:27:23 -0400
committermidipix <writeonce@midipix.org>2016-05-10 17:32:25 -0400
commitf924d06cc6854060766064d53c6641894e38e76c (patch)
tree9e0d9d42cab05139171b1bb59ba310c809d3d18b /sofort/custom.mk
parent2c8d99bb3bcde713f093b1eaa7d8ed4909d7caee (diff)
downloadslibtool-f924d06cc6854060766064d53c6641894e38e76c.tar.bz2
slibtool-f924d06cc6854060766064d53c6641894e38e76c.tar.xz
build system: moved core definition files to a designated folder.
Diffstat (limited to 'sofort/custom.mk')
-rw-r--r--sofort/custom.mk76
1 files changed, 76 insertions, 0 deletions
diff --git a/sofort/custom.mk b/sofort/custom.mk
new file mode 100644
index 0000000..8e0bbc4
--- /dev/null
+++ b/sofort/custom.mk
@@ -0,0 +1,76 @@
+ifeq ($(OS_BINFMT),PE)
+include $(PROJECT_DIR)/sysinfo/os/pe.mk
+endif
+
+ifeq ($(OS_BINFMT),ELF)
+include $(PROJECT_DIR)/sysinfo/os/elf.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