]> git.ozlabs.org Git - ppp.git/blobdiff - pppstats/Makefile.linux
Updates from Al Longyear
[ppp.git] / pppstats / Makefile.linux
diff --git a/pppstats/Makefile.linux b/pppstats/Makefile.linux
new file mode 100644 (file)
index 0000000..37add73
--- /dev/null
@@ -0,0 +1,32 @@
+#
+# pppstats makefile
+# $Id: Makefile.linux,v 1.1 1995/06/30 01:58:28 paulus Exp $
+#
+
+PPPSTATSRCS = pppstats.c
+PPPSTATOBJS = pppstats.o
+
+#CC = gcc
+COPTS = -O
+COMPILE_FLAGS = -D_linux_
+LIBS =
+
+INSTALL= install -o root -g daemon
+
+CFLAGS = $(COPTS) $(COMPILE_FLAGS)
+
+all: pppstats
+
+install: pppstats
+       $(INSTALL) -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)