From 5b28e8fd50ed261e2025a59fd5d267c32522930f Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 5 May 2016 19:02:54 -0400 Subject: build system: Makefile.in, custom.mk: added --disable-[shared|static] support. --- project/custom.mk | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'project') diff --git a/project/custom.mk b/project/custom.mk index e58f88c..056855d 100644 --- a/project/custom.mk +++ b/project/custom.mk @@ -8,6 +8,34 @@ endif +ifeq ($(DISABLE_STATIC),yes) +package-static: +package-install-static: +else +package-static: static +package-install-static: install-static +endif + +ifeq ($(DISABLE_SHARED),yes) +package-shared: +package-install-shared: +else +package-shared: shared +package-install-shared: install-shared +endif + +ifneq ($(DISABLE_STATIC),yes) +package-install-headers:install-headers + +else ifneq ($(DISABLE_SHARED),yes) +package-install-headers:install-headers + +else +package-install-headers: +endif + + + ifeq ($(ALL_STATIC),yes) package-app: static-app -- cgit v1.2.3