Force -I../include ahead of other INCLUDES OS2_BRANCH
authorlaw
Sat, 20 Jun 1998 00:41:59 +0000
branchOS2_BRANCH
changeset 34 8f18b40c2e41daaa4cecfe0819b0a588b800a78e
parent 33 5ad903d6b75e83724e73af6fc40fdc1a998d7e25
child 43 0323328451e6abf2c1566e14902215b78f007549
push idunknown
push userunknown
push dateunknown
Force -I../include ahead of other INCLUDES
dbm/src/Makefile
--- a/dbm/src/Makefile
+++ b/dbm/src/Makefile
@@ -17,16 +17,20 @@ CSRCS = db.c	   \
 	ndbm.c	   \
 	snprintf.c \
 	strerror.c \
 	nsres.c	   \
 	$(NULL)
 
 LIBRARY_NAME = dbm
 
+ifeq ($(subst /,,$(shell uname -s)),OS2)
+LOCAL_PREINCLUDES += -I../include
+endif
+
 include $(DEPTH)/config/rules.mk
 
 DEFINES += -DMEMMOVE -D__DBINTERFACE_PRIVATE $(SECURITY_FLAG) -DNSPR20=1
 
 INCLUDES += -I../include
 
 ifeq ($(OS_ARCH),AIX)
 	OS_LIBS += -lc_r