]>
Commit | Line | Data |
---|---|---|
bbd7c8af | 1 | diff -ur efingerd-1.6/Makefile efingerd-1.6.new/Makefile |
2 | --- efingerd-1.6/Makefile Mon Mar 12 14:34:49 2001 | |
3 | +++ efingerd-1.6.new/Makefile Tue Oct 9 17:56:13 2001 | |
4 | @@ -1,15 +1,15 @@ | |
235195c9 | 5 | |
6 | -BINDIR=/usr/local/sbin | |
7 | -MANDIR=/usr/local/man/man8 | |
8 | +BINDIR=$(DESTDIR)/usr/sbin | |
9 | +MANDIR=$(DESTDIR)/usr/share/man/man8 | |
10 | ||
11 | CC = gcc | |
bbd7c8af | 12 | -CFLAGS = -O2 -Wall -Wsurprising |
13 | +#CFLAGS = -O2 -Wall -Wsurprising | |
235195c9 | 14 | |
15 | #or, if you do not have libinent at all: | |
16 | #CFLAGS = -O2 -Wall -DDONT_HAVE_LIBIDENT | |
235195c9 | 17 | |
18 | #uncomment the following line if you do have libident.so | |
19 | -#LDFLAGS = -lident | |
20 | +LDFLAGS = -lident | |
21 | ||
22 | ||
23 | all: efingerd | |
bbd7c8af | 24 | @@ -19,8 +19,7 @@ |
235195c9 | 25 | #replace the line below with the line above if you have libident.so, or |
26 | #do not have libident at all | |
27 | #modify path to libident.a if necessary | |
28 | - $(CC) $(CFLAGS) $(LDFLAGS) efingerd.o child.o /usr/lib/libident.a -o efingerd | |
29 | - strip efingerd | |
30 | + $(CC) $(CFLAGS) $(LDFLAGS) efingerd.o child.o -o efingerd | |
31 | ||
32 | efingerd.o: efingerd.c | |
33 | $(CC) $(CFLAGS) -c efingerd.c | |
bbd7c8af | 34 | @@ -32,9 +31,11 @@ |
235195c9 | 35 | rm -f *~ *.o efingerd |
36 | ||
37 | install: efingerd | |
38 | + mkdir -p $(BINDIR) | |
39 | cp efingerd $(BINDIR) | |
40 | mkdir -p $(DESTDIR)/etc/efingerd | |
41 | cp examples-standard/* $(DESTDIR)/etc/efingerd | |
42 | ||
43 | install-doc: efingerd | |
44 | - gzip -9 efingerd.8 -c >$(MANDIR)/efingerd.8.gz | |
45 | + mkdir -p $(MANDIR) | |
46 | + cp efingerd.8 $(MANDIR)/efingerd.8 | |
bbd7c8af | 47 | Only in efingerd-1.6.new/: Makefile.orig |
48 | Only in efingerd-1.6.new/: Makefile.rej |