|
|
@@ -26,7 +26,6 @@ VERSION := $(shell git describe)
|
|
|
DISTRIB = wraith-$(VERSION)
|
|
|
|
|
|
HELPFILE = doc/help.txt
|
|
|
-SETTINGSFILE = doc/settings.txt
|
|
|
RESPONSESFILE = doc/responses.txt
|
|
|
|
|
|
# defaults
|
|
|
@@ -75,14 +74,14 @@ MAKE_UTILS_NR = $(MAKE) 'CXX=$(CXX)' 'STRIP=touch' 'INCLUDES=$(INCLUDES)' \
|
|
|
|
|
|
MAKE_CONFIG = $(MAKE) 'MAKE=$(MAKE)'
|
|
|
|
|
|
-.PHONY: checkclean.static checkclean.dynamic checkclean.debug lib wraith dwraith lib.debug debug test general crypto utils sorthelp makehelp makeset makeres stringfix set res help sort indent tar distrib distclean clean cleanutils test all dynamic static tags
|
|
|
+.PHONY: checkclean.static checkclean.dynamic checkclean.debug lib wraith dwraith lib.debug debug test general crypto utils sorthelp makehelp makeres stringfix res help sort indent tar distrib distclean clean cleanutils test all dynamic static tags
|
|
|
|
|
|
all: dynamic
|
|
|
|
|
|
test:
|
|
|
|
|
|
cleanutils:
|
|
|
- @rm -f $(STRINGFIX) src/sorthelp@EXEEXT@ src/makehelp@EXEEXT@ src/makeres@EXEEXT@ src/makeset@EXEEXT@
|
|
|
+ @rm -f $(STRINGFIX) src/sorthelp@EXEEXT@ src/makehelp@EXEEXT@ src/makeres@EXEEXT@
|
|
|
|
|
|
clean: cleanutils
|
|
|
+@cd src && $(MAKE) clean
|
|
|
@@ -155,16 +154,6 @@ help: makehelp
|
|
|
cp -f src/help.h~ src/help.h; \
|
|
|
fi)
|
|
|
|
|
|
-set: makeset
|
|
|
- @src/makeset@EXEEXT@ $(SETTINGSFILE) src/set_default.h~
|
|
|
- @(if [ ! -f src/set_default.h ]; then \
|
|
|
- touch src/set_default.h; \
|
|
|
- fi)
|
|
|
- @(if test "x`$(DIFF) -qurN src/set_default.h~ src/set_default.h`" != "x"; then \
|
|
|
- cp -f src/set_default.h~ src/set_default.h; \
|
|
|
- fi)
|
|
|
-
|
|
|
-
|
|
|
res: makeres
|
|
|
@src/makeres@EXEEXT@ $(RESPONSESFILE) src/ 1
|
|
|
@(if [ ! -f src/response.h ]; then \
|
|
|
@@ -186,9 +175,6 @@ stringfix: src/stringfix.cc src/config.h
|
|
|
makeres: src/makeres.cc
|
|
|
+@cd src && ${MAKE_UTILS} makeres
|
|
|
|
|
|
-makeset: src/makeset.cc
|
|
|
- +@cd src && ${MAKE_UTILS} makeset
|
|
|
-
|
|
|
makehelp: src/makehelp.cc
|
|
|
+@cd src && ${MAKE_UTILS} makehelp
|
|
|
|
|
|
@@ -200,7 +186,7 @@ utils: stringfix makehelp
|
|
|
crypto:
|
|
|
+@cd src/crypto && ${MAKE_UTILS} crypto
|
|
|
|
|
|
-general: help res set stringfix
|
|
|
+general: help res stringfix
|
|
|
|
|
|
.NOTPARALLEL: checkclean.static checkclean.dynamic checkclean.debug
|
|
|
|