--- projects/cms/source/ihost/Makefile 2002/05/13 13:44:41 1.2 +++ projects/cms/source/ihost/Makefile 2002/05/16 17:57:30 1.5 @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.2 2002/05/13 13:44:41 tdb Exp $ +# $Id: Makefile,v 1.5 2002/05/16 17:57:30 tdb Exp $ # defines that should be set DEFS= @@ -8,12 +8,13 @@ LIBS= # where libukcprog can be found for compiling LIBUKCPROG = libukcprog # where libstatgrab can be found for compiling -LIBSTATGRAB = statgrab +LIBSTATGRAB = libstatgrab -CFLAGS = -O3 -Wall +#CFLAGS = -O3 -Wall +CFLAGS = -O3 -Wall -g INCLUDES = -I${LIBUKCPROG} -I${LIBSTATGRAB} -OURLIBS = ${LIBUKCPROG}/libukcprog.a ${LIBSTATGRAB}/libstatgrab.a +OURLIBS = ${LIBSTATGRAB}/libstatgrab.a ${LIBUKCPROG}/libukcprog.a all: @echo "Must use one of the following targets :-" @@ -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"