instead
* q2data: remove RSA security copyrighted md4.c, using mdfour.c from DP
instead as a drop-in replacement
+ * all: get rid of makeversion.py dependency (still need Python for
+ install.py)
2008-09-13 Rudolf Polzer divVerent(at)alientrap.org
* q3map2: update to ZeroRadiant's q3map2
DLL = so
NETAPI = berkley
+RADIANT_ABOUTMSG = Custom build
+
LDD ?= ldd
FIND ?= find
RANLIB ?= ranlib
.PHONY: all
all: \
+ makeversion \
install/q3map2.$(EXE) \
install/q3data.$(EXE) \
install/radiant.$(EXE) \
plugins/vfspk3/vfs.o \
plugins/vfspk3/vfspk3.o \
+.PHONY: makeversion
+makeversion:
+ set -ex; \
+ ver=`cat include/version.default`; \
+ major=`echo $$ver | cut -d . -f 2`; \
+ minor=`echo $$ver | cut -d . -f 3 | cut -d - -f 1`; \
+ echo "// generated header, see Makefile" > include/version.h; \
+ echo "#define RADIANT_VERSION \"$$ver\"" >> include/version.h; \
+ echo "#define RADIANT_MAJOR_VERSION \"$$major\"" >> include/version.h; \
+ echo "#define RADIANT_MINOR_VERSION \"$$minor\"" >> include/version.h; \
+ echo "$$major" > include/RADIANT_MAJOR; \
+ echo "$$minor" > include/RADIANT_MINOR; \
+ echo "$$ver" > include/version; \
+ echo "// generated header, see Makefile" > include/aboutmsg.h; \
+ echo "#define RADIANT_ABOUTMSG \"$(RADIANT_ABOUTMSG)\"" >> include/aboutmsg.h; \
+