W32: no need to define ETC, but need to define LINUXDOC

This commit is contained in:
Christian 2007-04-10 14:04:57 +02:00
parent 9974e5bfb9
commit 7157a474da
2 changed files with 7 additions and 4 deletions

View File

@ -6,10 +6,12 @@ ifneq ($(prefix),)
CFLAGS+= -DPREFIX=\"$(prefix)\"
endif
ifneq ($(etc),)
CFLAGS+= -DETC=\"$(etc)\"
else
CFLAGS+= -DETC=\"/etc/xca\"
ifneq ($(HOST),w32)
ifneq ($(etc),)
CFLAGS+= -DETC=\"$(etc)\"
else
CFLAGS+= -DETC=\"/etc/xca\"
endif
endif
CFLAGS+= -DVER=\"$(shell cat $(TOPDIR)/VERSION)\"

View File

@ -39,6 +39,7 @@ LD=$(CROSS)ld
STRIP=$(CROSS)strip
WINDRES=$(CROSS)windres
SUFFIX=.exe
LINUXDOC=linuxdoc
prefix=
basedir=