Commit 0867677c authored by Leigh Stoller's avatar Leigh Stoller

Add a simple ifeq to see if building on my home machine so that I can

get the path to the oskit includes correct. This should either by a
config option or we should install bootwhat.h in a standard location.
I'm loath to do either, so I won't do anything until it bites us in
the ass later.
parent 3f326ae6
......@@ -23,9 +23,12 @@ DBSRC = bootinfo_null.c bootinfo_cfile.c bootinfo_mysql.c
DBOBJ = bootinfo_null.o bootinfo_cfile.o bootinfo_mysql.o
INCS = -I/usr/local/include
ifeq "$(filter -DLBS, $(CFLAGS))" "-DLBS"
INCS += -I/build/oskit-debug/install/include
else
INCS += -I/n/moab/z/mike/flux/install.debug/include
#INCS += -I/n/moab/z/stoller/oskit-debug/install/include
#INCS += -I/build/oskit-debug/install/include
endif
CFLAGS += $(INCS) $(DBFLAG) -DSOLARIS -DHAVE_SOCKADDR_SA_LEN -DUSE_RECVMSG \
-DCONFPATH='"$(INSTALL_ETCDIR)/"' -DTBDBNAME='"$(TBDBNAME)"'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment