diff options
Diffstat (limited to 'mdk-stage1/ppp/pppstats/Makefile.linux')
-rw-r--r-- | mdk-stage1/ppp/pppstats/Makefile.linux | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/mdk-stage1/ppp/pppstats/Makefile.linux b/mdk-stage1/ppp/pppstats/Makefile.linux new file mode 100644 index 000000000..ef0764c5d --- /dev/null +++ b/mdk-stage1/ppp/pppstats/Makefile.linux @@ -0,0 +1,32 @@ +# +# pppstats makefile +# $Id$ +# + +PPPSTATSRCS = pppstats.c +PPPSTATOBJS = pppstats.o + +#CC = gcc +COPTS = -O +COMPILE_FLAGS = -D_linux_ -I../include +LIBS = + +INSTALL= install -o root -g daemon + +CFLAGS = $(COPTS) $(COMPILE_FLAGS) + +all: pppstats + +install: pppstats + $(INSTALL) -s -c pppstats $(BINDIR)/pppstats + $(INSTALL) -c -m 444 pppstats.8 $(MANDIR)/man8/pppstats.8 + +pppstats: $(PPPSTATSRCS) + $(CC) $(CFLAGS) -o pppstats pppstats.c $(LIBS) + +clean: + rm -f pppstats *~ #* core + +depend: + cpp -M $(CFLAGS) $(PPPSTATSRCS) >.depend +# makedepend $(CFLAGS) $(PPPSTATSRCS) |