]> git.ozlabs.org Git - ppp.git/blob - pppstats/Makefile.sun
Mods from Al Longyear, including adding a -a flag (show absolute
[ppp.git] / pppstats / Makefile.sun
1 #
2 # pppstats makefile
3 # $Id: Makefile.sun,v 1.5 1995/04/28 06:16:19 paulus Exp $
4 #
5
6 PPPSTATSRCS = pppstats.c
7 PPPSTATOBJS = pppstats.o
8
9 #CC = gcc
10 COPTS = -O
11 COMPILE_FLAGS = -DSTREAMS
12 LIBS =
13
14 INSTALL= install -o root -g daemon
15
16 CFLAGS = -I.. $(COPTS) $(COMPILE_FLAGS)
17
18 all: pppstats
19
20 install: pppstats
21         $(INSTALL) -c pppstats $(BINDIR)/pppstats
22         $(INSTALL) -c -m 444 pppstats.8 $(MANDIR)/man8/pppstats.8
23
24 pppstats: $(PPPSTATSRCS)
25         $(CC) $(CFLAGS) -o pppstats pppstats.c $(LIBS)
26
27 clean:
28         rm -f pppstats *~ #* core
29
30 depend:
31         cpp -M $(CFLAGS) $(PPPSTATSRCS) >.depend
32 #       makedepend $(CFLAGS) $(PPPSTATSRCS)