Initial revision
authorPaul Mackerras <paulus@samba.org>
Tue, 14 Dec 1993 02:57:14 +0000 (02:57 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 14 Dec 1993 02:57:14 +0000 (02:57 +0000)
pppstats/Makefile.bsd [new file with mode: 0644]
pppstats/Makefile.sun [new file with mode: 0644]

diff --git a/pppstats/Makefile.bsd b/pppstats/Makefile.bsd
new file mode 100644 (file)
index 0000000..1fea43b
--- /dev/null
@@ -0,0 +1,11 @@
+#      $Id: Makefile.bsd,v 1.1 1993/12/14 02:57:14 paulus Exp $
+
+PROG=  pppstats
+SRCS=  pppstats.c
+LDADD= -lutil
+NOMAN= noman
+BINMODE=2555
+BINGRP=        kmem
+BINDIR=        /usr/sbin
+
+.include <bsd.prog.mk>
diff --git a/pppstats/Makefile.sun b/pppstats/Makefile.sun
new file mode 100644 (file)
index 0000000..2253fb9
--- /dev/null
@@ -0,0 +1,33 @@
+#
+# pppstats makefile
+# $Id: Makefile.sun,v 1.1 1993/12/14 02:57:14 paulus Exp $
+#
+
+PPPSTATSRCS = pppstats.c
+PPPSTATOBJS = pppstats.o
+
+CC = gcc
+COPTS = -O
+COMPILE_FLAGS = -DKVMLIB -DSTREAMS
+LIBS = -lkvm
+
+CFLAGS = -I.. $(COPTS) $(COMPILE_FLAGS)
+
+all: pppstats
+
+install:
+       install -c -g kmem pppstats $(BINDIR)/pppstats
+
+pppstats: $(PPPSTATSRCS)
+       $(CC) $(CFLAGS) -o pppstats pppstats.c $(LIBS)
+
+clean:
+       rm -f pppstats *~ #* core
+
+depend:
+       cpp -M $(CFLAGS) $(PPPSTATSRCS) >.depend
+#      makedepend $(CFLAGS) $(PPPSTATSRCS)
+
+saber_pppstats:
+       #setopt load_flags $(CFLAGS)
+       #load $(PPPSTATSRCS)