From 7157a474da96f2b17aa07ca69d2a34f9df9fed27 Mon Sep 17 00:00:00 2001 From: Christian Date: Tue, 10 Apr 2007 14:04:57 +0200 Subject: [PATCH] W32: no need to define ETC, but need to define LINUXDOC --- Rules.mak | 10 ++++++---- misc/Local.mak.w32 | 1 + 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Rules.mak b/Rules.mak index b9383cf0..2d8c8490 100644 --- a/Rules.mak +++ b/Rules.mak @@ -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)\" diff --git a/misc/Local.mak.w32 b/misc/Local.mak.w32 index f53b3a98..6969fdf4 100644 --- a/misc/Local.mak.w32 +++ b/misc/Local.mak.w32 @@ -39,6 +39,7 @@ LD=$(CROSS)ld STRIP=$(CROSS)strip WINDRES=$(CROSS)windres SUFFIX=.exe +LINUXDOC=linuxdoc prefix= basedir=