diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2011-11-03 13:23:10 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2011-11-03 13:23:10 +0100 |
commit | 162da0ff4f11598bd6999ab78be26f75545f5991 (patch) | |
tree | 2d4e785358c7d84fc441f59e112d4f19947c400f | |
parent | c1725e2fbc5cea52c83ba987a21e014a7003993d (diff) | |
download | wolfbones-162da0ff4f11598bd6999ab78be26f75545f5991.tar.gz wolfbones-162da0ff4f11598bd6999ab78be26f75545f5991.tar.bz2 |
default values for ENABLE_NLS and ENABLE_THREADS
-rw-r--r-- | include/GNUmakefile | 2 | ||||
-rw-r--r-- | 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 += \ |