summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-09 11:42:31 -0400
committermidipix <writeonce@midipix.org>2016-11-11 00:22:44 -0500
commitd48c740d4b1e485faa1dc90ab7d41df433ac7330 (patch)
treeeb0b360c5ad08fde3d89756e426723055dd7f210
parente1aa5d652b9cf91c99b19537f284a158cf89ee0f (diff)
downloadmdso-d48c740d4b1e485faa1dc90ab7d41df433ac7330.tar.bz2
mdso-d48c740d4b1e485faa1dc90ab7d41df433ac7330.tar.xz
build system: Makefile.in, custom.mk: added --disable-frontend support.
-rw-r--r--Makefile.in10
-rw-r--r--project/custom.mk12
2 files changed, 17 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 2e2652f..3a1564d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -62,6 +62,7 @@ USER_CXX = @user_cxx@
ALL_SHARED = @all_shared@
ALL_STATIC = @all_static@
+DISABLE_FRONTEND = @disable_frontend@
DISABLE_SHARED = @disable_shared@
DISABLE_STATIC = @disable_static@
@@ -110,13 +111,11 @@ lib/%$(OS_ARCHIVE_EXT):
all: package-shared package-static app
-install: install-app
-install: install-extras
+install: package-install-app
+install: package-install-extras
install: install-libs
-app: package-app app-tag
-
-app-tag: package-app app.tag
+app: app-tag
app.tag:
cp $(PACKAGE_APP) $(APP)
@@ -349,6 +348,7 @@ clean: clean-implib
.display-config:
@echo ALL_SHARED:' '$(ALL_SHARED)
@echo ALL_STATIC:' '$(ALL_STATIC)
+ @echo DISABLE_FRONTEND:' '$(DISABLE_FRONTEND)
@echo DISABLE_SHARED:' '$(DISABLE_SHARED)
@echo DISABLE_STATIC:' '$(DISABLE_STATIC)
diff --git a/project/custom.mk b/project/custom.mk
index 8f9fabb..8e0bbc4 100644
--- a/project/custom.mk
+++ b/project/custom.mk
@@ -26,6 +26,18 @@ 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