summaryrefslogtreecommitdiff
path: root/make/template
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2016-02-26 13:12:09 +0000
committerPeter Powell <petpow@saberuk.com>2016-04-04 13:20:21 +0100
commit30bd7bb39fb55a4b6b3075a1f8a7df47bc0e261f (patch)
tree23119a89eb97f752cb68fd6e3bad69aa1000663d /make/template
parent932748db6dd2a7225c9f12bc34339fcb2f37c319 (diff)
Rename PURE_STATIC to INSPIRCD_STATIC.
Diffstat (limited to 'make/template')
-rw-r--r--make/template/main.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index 7b153a924..73ebbd53e 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -122,8 +122,8 @@ FOOTER = finishmessage
VERBOSE =
@ENDIF
-@IFDEF PURE_STATIC
- CORECXXFLAGS += -DPURE_STATIC
+@IFDEF INSPIRCD_STATIC
+ CORECXXFLAGS += -DINSPIRCD_STATIC
@ENDIF
# Add the users CXXFLAGS to the base ones to allow them to override
@@ -131,7 +131,7 @@ FOOTER = finishmessage
CORECXXFLAGS += $(CXXFLAGS)
@DO_EXPORT CXX CORECXXFLAGS LDLIBS PICLDFLAGS VERBOSE SOCKETENGINE CORELDFLAGS
-@DO_EXPORT SOURCEPATH BUILDPATH PURE_STATIC
+@DO_EXPORT SOURCEPATH BUILDPATH INSPIRCD_STATIC
# Default target
TARGET = all
@@ -177,7 +177,7 @@ debug-header:
@echo "*************************************"
mod-header:
-@IFDEF PURE_STATIC
+@IFDEF INSPIRCD_STATIC
@echo 'Cannot build single modules in pure-static build'
@exit 1
@ENDIF
@@ -226,7 +226,7 @@ install: target
@-$(INSTALL) -d -m $(INSTMODE_DIR) $(MANPATH)
@-$(INSTALL) -d -m $(INSTMODE_DIR) $(MODPATH)
[ $(BUILDPATH)/bin/ -ef $(BINPATH) ] || $(INSTALL) -m $(INSTMODE_BIN) $(BUILDPATH)/bin/inspircd $(BINPATH)
-@IFNDEF PURE_STATIC
+@IFNDEF INSPIRCD_STATIC
[ $(BUILDPATH)/modules/ -ef $(MODPATH) ] || $(INSTALL) -m $(INSTMODE_LIB) $(BUILDPATH)/modules/*.so $(MODPATH)
@ENDIF
-$(INSTALL) -m $(INSTMODE_BIN) @CONFIGURE_DIRECTORY@/inspircd $(BASE) 2>/dev/null