--- projects/cms/source/ihost/Makefile 2002/05/16 15:23:40 1.3 +++ projects/cms/source/ihost/Makefile 2002/05/16 17:57:30 1.5 @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.3 2002/05/16 15:23:40 tdb Exp $ +# $Id: Makefile,v 1.5 2002/05/16 17:57:30 tdb Exp $ # defines that should be set DEFS= @@ -10,7 +10,8 @@ LIBUKCPROG = libukcprog # where libstatgrab can be found for compiling LIBSTATGRAB = libstatgrab -CFLAGS = -O3 -Wall +#CFLAGS = -O3 -Wall +CFLAGS = -O3 -Wall -g INCLUDES = -I${LIBUKCPROG} -I${LIBSTATGRAB} OURLIBS = ${LIBSTATGRAB}/libstatgrab.a ${LIBUKCPROG}/libukcprog.a @@ -23,10 +24,10 @@ all: @echo " $(MAKE) oldlinux" ${LIBUKCPROG}/libukcprog.a: - cd ${LIBUKCPROG} && $(MAKE) libukcprog.a + cd ${LIBUKCPROG} && $(MAKE) libukcprog.a CFLAGS="${CFLAGS}" ${LIBSTATGRAB}/libstatgrab.a: - cd ${LIBSTATGRAB} && $(MAKE) libstatgrab.a DEFS="${DEFS}" + cd ${LIBSTATGRAB} && $(MAKE) libstatgrab.a DEFS="${DEFS}" CFLAGS="${CFLAGS}" ihost.o: ihost.c ${LIBUKCPROG}/ukcprog.h ${LIBSTATGRAB}/statgrab.h ${CC} ${DEFS} ${CFLAGS} -c ${INCLUDES} ihost.c @@ -41,7 +42,7 @@ linux: $(MAKE) ihost DEFS="-DLINUX" freebsd: - $(MAKE) ihost DEFS="-DFREEBSD" + $(MAKE) ihost DEFS="-DFREEBSD" LIBS="-lkvm" oldlinux: $(MAKE) ihost DEFS="-DOLDLINUX -DLINUX"