pppd: Add support for arbitrary baud rates via BOTHER on Linux (#278)
[ppp.git] / pppdump / Makefile.linux
1 CROSS_COMPILE=@CROSS_COMPILE@
2 CC=$(CROSS_COMPILE)@CC@
3 COPTS=@CFLAGS@
4
5 PREFIX = @DESTDIR@
6 DESTDIR = $(INSTROOT)$(PREFIX)
7 BINDIR = $(DESTDIR)/sbin
8 MANDIR = $(DESTDIR)/share/man/man8
9
10 CFLAGS = $(COPTS) -I../include/net
11 OBJS = pppdump.o bsd-comp.o deflate.o zlib.o
12
13 INSTALL= install
14
15 all:    pppdump
16
17 pppdump: $(OBJS)
18         $(CC) $(LDFLAGS) -o pppdump $(OBJS)
19
20 clean:
21         rm -f pppdump $(OBJS) *~
22
23 install:
24         mkdir -p $(BINDIR) $(MANDIR)
25         $(INSTALL) -c pppdump $(BINDIR)
26         $(INSTALL) -c -m 444 pppdump.8 $(MANDIR)