blob: 3a026e8e9f0c32fee05d9b0715f09e0a150d230a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
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
|