summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-09 11:42:31 -0400
committermidipix <writeonce@midipix.org>2016-05-09 11:44:19 -0400
commiteb1dc5158729c2d9a13a69ea9cc67e34719b2676 (patch)
tree2e81a3c907b42cbfe7c91ff6929188462fa9c5a2
parent1ed3757b181b5153a79afebc65a14014a9a2278b (diff)
downloadslibtool-eb1dc5158729c2d9a13a69ea9cc67e34719b2676.tar.bz2
slibtool-eb1dc5158729c2d9a13a69ea9cc67e34719b2676.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