diff options
author | midipix <writeonce@midipix.org> | 2016-05-09 11:42:31 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:48 -0500 |
commit | a403fe9a3f2cbae6a1c8b2b1a53ae8ebd51638a0 (patch) | |
tree | 472af376c61c4ec296ddd0a403fc2a1a8f29a0b5 | |
parent | 9409994d09254b3b985f1f82d034c4917ccfadd3 (diff) | |
download | perk-a403fe9a3f2cbae6a1c8b2b1a53ae8ebd51638a0.tar.bz2 perk-a403fe9a3f2cbae6a1c8b2b1a53ae8ebd51638a0.tar.xz |
build system: Makefile.in, custom.mk: added --disable-frontend support.
-rw-r--r-- | Makefile.in | 10 | ||||
-rw-r--r-- | project/custom.mk | 12 |
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 |