make include path overridable.

This commit is contained in:
Gunter Knauf 2004-06-10 17:11:39 +00:00
parent 977e106924
commit 1a3797a699
2 changed files with 14 additions and 10 deletions

View File

@ -8,11 +8,13 @@
################################################################# #################################################################
# Edit the path below to point to the base of your Novell NDK. # Edit the path below to point to the base of your Novell NDK.
BASE = c:/novell ifndef NDKBASE
NDKBASE = /novell
endif
INSTDIR = s:/libcurl INSTDIR = s:/libcurl
# Edit the path below to point to the base of your Zlib sources. # Edit the path below to point to the base of your Zlib sources.
#ZLIB_PATH = ../../../cw/zlib-src-1.1.4 #ZLIB_PATH = ../../zlib-1.2.1
# Edit the vars below to change NLM target settings. # Edit the vars below to change NLM target settings.
TARGET = libcurl TARGET = libcurl
@ -88,13 +90,13 @@ ifeq ($(LIBARCH),LIBC)
# CFLAGS += -D__ANSIC__ # CFLAGS += -D__ANSIC__
else else
PRELUDE = $(SDK_CLIB)/imports/clibpre.gcc.o PRELUDE = $(SDK_CLIB)/imports/clibpre.gcc.o
CFLAGS += -include $(BASE)/nlmconv/genlm.h CFLAGS += -include $(NDKBASE)/nlmconv/genlm.h
endif endif
endif endif
LDLIBS = LDLIBS =
NDK_ROOT = $(BASE)/ndk NDK_ROOT = $(NDKBASE)/ndk
SDK_CLIB = $(NDK_ROOT)/nwsdk SDK_CLIB = $(NDK_ROOT)/nwsdk
SDK_LIBC = $(NDK_ROOT)/libc SDK_LIBC = $(NDK_ROOT)/libc
SDK_LDAP = $(NDK_ROOT)/cldapsdk/netware SDK_LDAP = $(NDK_ROOT)/cldapsdk/netware
@ -126,7 +128,7 @@ endif
ifeq ($(OSTYPE),linux) ifeq ($(OSTYPE),linux)
DL = ' DL = '
#-include $(BASE)/nlmconv/ncpfs.inc #-include $(NDKBASE)/nlmconv/ncpfs.inc
endif endif
OBJS = \ OBJS = \

View File

@ -8,11 +8,13 @@
################################################################# #################################################################
# Edit the path below to point to the base of your Novell NDK. # Edit the path below to point to the base of your Novell NDK.
BASE = c:/novell ifndef NDKBASE
NDKBASE = /novell
endif
INSTDIR = s:/libcurl INSTDIR = s:/libcurl
# Edit the path below to point to the base of your Zlib sources. # Edit the path below to point to the base of your Zlib sources.
#ZLIB_PATH = ../../../cw/zlib-src-1.1.4 #ZLIB_PATH = ../../zlib-1.2.1
# Edit the vars below to change NLM target settings. # Edit the vars below to change NLM target settings.
TARGET = curl TARGET = curl
@ -90,13 +92,13 @@ ifeq ($(LIBARCH),LIBC)
# CFLAGS += -D__ANSIC__ # CFLAGS += -D__ANSIC__
else else
PRELUDE = $(SDK_CLIB)/imports/clibpre.gcc.o PRELUDE = $(SDK_CLIB)/imports/clibpre.gcc.o
CFLAGS += -include $(BASE)/nlmconv/genlm.h CFLAGS += -include $(NDKBASE)/nlmconv/genlm.h
endif endif
endif endif
LDLIBS = LDLIBS =
NDK_ROOT = $(BASE)/ndk NDK_ROOT = $(NDKBASE)/ndk
SDK_CLIB = $(NDK_ROOT)/nwsdk SDK_CLIB = $(NDK_ROOT)/nwsdk
SDK_LIBC = $(NDK_ROOT)/libc SDK_LIBC = $(NDK_ROOT)/libc
SDK_LDAP = $(NDK_ROOT)/cldapsdk/netware SDK_LDAP = $(NDK_ROOT)/cldapsdk/netware
@ -129,7 +131,7 @@ endif
ifeq ($(OSTYPE),linux) ifeq ($(OSTYPE),linux)
DL = ' DL = '
#-include $(BASE)/nlmconv/ncpfs.inc #-include $(NDKBASE)/nlmconv/ncpfs.inc
endif endif
OBJS = \ OBJS = \