From eb1dc5158729c2d9a13a69ea9cc67e34719b2676 Mon Sep 17 00:00:00 2001 From: midipix Date: May 09 2016 15:44:19 +0000 Subject: build system: Makefile.in, custom.mk: added --disable-frontend support. --- 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