summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-05 19:02:54 -0400
committermidipix <writeonce@midipix.org>2016-05-06 11:02:24 -0400
commita8ab0d1de8626fefb543b87d5391be35d772c78a (patch)
treebaf5e9a9bfb5694613b35be9fbc65355aca48ef6 /project
parentc26f15154a05e101a8d92dede9a37075e9427f50 (diff)
downloadsofort-a8ab0d1de8626fefb543b87d5391be35d772c78a.tar.bz2
sofort-a8ab0d1de8626fefb543b87d5391be35d772c78a.tar.xz
build system: Makefile.in, custom.mk: added --disable-[shared|static] support.
Diffstat (limited to 'project')
-rw-r--r--project/custom.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/project/custom.mk b/project/custom.mk
index e58f88c..056855d 100644
--- a/project/custom.mk
+++ b/project/custom.mk
@@ -8,6 +8,34 @@ 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
+
+ifneq ($(DISABLE_STATIC),yes)
+package-install-headers:install-headers
+
+else ifneq ($(DISABLE_SHARED),yes)
+package-install-headers:install-headers
+
+else
+package-install-headers:
+endif
+
+
+
ifeq ($(ALL_STATIC),yes)
package-app: static-app