ac028f6bf4f0d121f38ff1519ee2632c1a663df8
[ppp.git] / pppdump / Makefile.linux
1 DESTDIR = $(INSTROOT)@DESTDIR@
2 BINDIR = $(DESTDIR)/sbin
3 MANDIR = $(DESTDIR)/share/man/man8
4
5 CFLAGS= -O -I../include/net
6 OBJS = pppdump.o bsd-comp.o deflate.o zlib.o
7
8 INSTALL= install
9
10 all:    pppdump
11
12 pppdump: $(OBJS)
13         $(CC) -o pppdump $(OBJS)
14
15 clean:
16         rm -f pppdump $(OBJS) *~
17
18 install:
19         mkdir -p $(BINDIR) $(MANDIR)
20         $(INSTALL) -s -c pppdump $(BINDIR)
21         $(INSTALL) -c -m 444 pppdump.8 $(MANDIR)