From 162da0ff4f11598bd6999ab78be26f75545f5991 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 3 Nov 2011 13:23:10 +0100 Subject: default values for ENABLE_NLS and ENABLE_THREADS --- include/GNUmakefile | 2 ++ makefiles/gmake/platform.mk | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/GNUmakefile b/include/GNUmakefile index 7df06a2..f8ccbc0 100644 --- a/include/GNUmakefile +++ b/include/GNUmakefile @@ -29,5 +29,7 @@ local_install: $(INSTALL) -m 644 wolf/library/*.h $(includedir)/wolf/library $(INSTALL) -d -m 755 $(includedir)/wolf/network $(INSTALL) -m 644 wolf/network/*.h $(includedir)/wolf/network +ifeq "$(ENABLE_THREADS)" "1" $(INSTALL) -d -m 755 $(includedir)/wolf/threads $(INSTALL) -m 644 wolf/threads/*.h $(includedir)/wolf/threads +endif diff --git a/makefiles/gmake/platform.mk b/makefiles/gmake/platform.mk index d5fb525..b72bc07 100644 --- a/makefiles/gmake/platform.mk +++ b/makefiles/gmake/platform.mk @@ -105,7 +105,7 @@ endif ####################### # enable or disable internationalization code -ENABLE_NLS = 1 +ENABLE_NLS ?= 1 ifeq "$(ENABLE_NLS)" "1" @@ -225,7 +225,7 @@ PLATFORM_COMPILE_FLAGS += $(INCLUDE_FLAGS_NET) ################### # enable or disable threading -ENABLE_THREADS = 1 +ENABLE_THREADS ?= 1 ifeq "$(ENABLE_NLS)" "1" PLATFORM_COMPILE_FLAGS += \ -- cgit v1.2.3-54-g00ecf