1 # translate the version string, so it can be used on DJGPP, where only
2 # one dot in filename is allowed
4 # to avoid recursion when redefining $(version)
6 __version=$(subst ., ,$(_version))
7 version=$(word 1,$(__version))$(word 2,$(__version)).$(word 3,$(__version))
9 SYSTEM_HEADER_DIR=$(DJDIR)/include
10 X_CPPFLAGS=-DSTANDARD_INCLUDE_DIR=\"\$$DJDIR/include\" \
11 -DSTANDARD_INCLUDE_COMPONENT=\"\"
13 # when building a native compiler for DJGPP, make the target_alias
14 # a shorter name, since otherwise it will produce some problems, when
15 # using the same gcc once with long filenames and once with short (8+3)
17 ifeq ($(findstring -pc-msdosdjgpp,$(target_alias)),-pc-msdosdjgpp)
21 # on DJGPP the 'ln -s' does not work correctly