summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-09 11:42:31 -0400
committermidipix <writeonce@midipix.org>2016-05-09 22:04:01 -0400
commit54c1e4ea1a3b372275d4b02374fae49c5092bafe (patch)
tree5ab5762e648ba872d7a32132eb904c822b244b11
parentb9a8a240d0e27094ebaf3b9b26df696303cf6d13 (diff)
downloadsofort-54c1e4ea1a3b372275d4b02374fae49c5092bafe.tar.bz2
sofort-54c1e4ea1a3b372275d4b02374fae49c5092bafe.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