diff options
author | midipix <writeonce@midipix.org> | 2016-05-05 19:02:54 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-11 00:22:41 -0500 |
commit | 840c6644991373cf8ce206909e92c79fb07b4d74 (patch) | |
tree | 4fe1ab0511ed4eb14efc4db400e868f6614da05a /project | |
parent | 31ed663b2582ac55762ced2a44462ba2f448460e (diff) | |
download | mdso-840c6644991373cf8ce206909e92c79fb07b4d74.tar.bz2 mdso-840c6644991373cf8ce206909e92c79fb07b4d74.tar.xz |
build system: Makefile.in, custom.mk: added --disable-[shared|static] support.
Diffstat (limited to 'project')
-rw-r--r-- | project/custom.mk | 28 |
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 |