diff --exclude='*~' -urN chkrootkit-0.45.orig/Makefile chkrootkit-0.45/Makefile --- chkrootkit-0.45.orig/Makefile 2005-02-24 21:08:21.044113456 -0500 +++ chkrootkit-0.45/Makefile 2005-02-24 21:17:06.437241560 -0500 @@ -23,48 +23,37 @@ #CFLAGS = -SRCS = chklastlog.c chkwtmp.c ifpromisc.c chkproc.c chkdirs.c check_wtmpx.c strings.c +SRCS = chklastlog.c chkwtmp.c ifpromisc.c chkproc.c chkdirs.c strings.c -OBJS = chklastlog.o chkwtmp.o ifpromisc.o chkproc.o chkdirs.o check_wtmpx.o strings-static.o +OBJS = chklastlog.o chkwtmp.o ifpromisc.o chkproc.o chkdirs.o strings-static.o all: @echo '*** stopping make sense ***' @exec make sense -sense: chklastlog chkwtmp ifpromisc chkproc chkdirs check_wtmpx strings-static chkutmp +sense: chklastlog chkwtmp ifpromisc chkproc chkdirs strings-static chkutmp chklastlog: chklastlog.c - ${CC} ${CFLAGS} -o $@ chklastlog.c - @strip $@ + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ chklastlog.c chkwtmp: chkwtmp.c - ${CC} ${CFLAGS} -o $@ chkwtmp.c - @strip $@ + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ chkwtmp.c ifpromisc: ifpromisc.c ${CC} ${CFLAGS} ${LDFLAGS} -D_FILE_OFFSET_BITS=64 -o $@ ifpromisc.c - @strip $@ chkproc: chkproc.c - ${CC} ${LDFLAGS} -o $@ chkproc.c - @strip $@ + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ chkproc.c chkdirs: chkdirs.c - ${CC} ${LDFLAGS} -o $@ chkdirs.c - @strip $@ - -check_wtmpx: check_wtmpx.c - ${CC} ${LDFLAGS} -o $@ check_wtmpx.c + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ chkdirs.c @strip $@ chkutmp: chkutmp.c - ${CC} ${LDFLAGS} -o $@ chkutmp.c - @strip $@ - + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ chkutmp.c strings-static: strings.c - ${CC} ${STATIC} ${LDFLAGS} -o $@ strings.c - @strip $@ + ${CC} ${STATIC} ${CFLAGS} ${LDFLAGS} -o $@ strings.c clean: rm -f ${OBJS} core chklastlog chkwtmp ifpromisc chkproc chkdirs check_wtmpx strings-static chkutmp