usbmodeswitch: Updated to v.1.2.6 from shibby's branch.
[tomato.git] / release / src / router / pppd / pppstats / Makefile.linux
blobcca6f0f61d87f70016e903dbad7821dc87473249
2 # pppstats makefile
3 # $Id: Makefile.linux,v 1.9 2006/06/04 05:07:46 paulus Exp $
5 DESTDIR = $(INSTROOT)@DESTDIR@
6 BINDIR = $(DESTDIR)/sbin
7 MANDIR = $(DESTDIR)/share/man/man8
9 PPPSTATSRCS = pppstats.c
10 PPPSTATOBJS = pppstats.o
12 #CC = gcc
13 COPTS = -O
14 COMPILE_FLAGS = -I../include
15 LIBS =
17 INSTALL= install
19 CFLAGS = $(COPTS) $(COMPILE_FLAGS)
21 all: pppstats
23 install: pppstats
24         -mkdir -p $(MANDIR)
25         $(INSTALL) -s -c pppstats $(BINDIR)
26         $(INSTALL) -c -m 444 pppstats.8 $(MANDIR)
28 pppstats: $(PPPSTATSRCS)
29         $(CC) $(CFLAGS) -o pppstats pppstats.c $(LIBS)
31 clean:
32         rm -f pppstats *~ #* core
34 depend:
35         cpp -M $(CFLAGS) $(PPPSTATSRCS) >.depend
36 #       makedepend $(CFLAGS) $(PPPSTATSRCS)