]> git.ozlabs.org Git - ppp.git/blobdiff - pppstats/Makefile.sun
added
[ppp.git] / pppstats / Makefile.sun
index 67d3c2b4ee200ff87fc7ffacf4fbf1d54d10de6f..165a77664987355afe3ed63987eabbc8d50b3493 100644 (file)
@@ -1,6 +1,6 @@
 #
 # pppstats makefile
-# $Id: Makefile.sun,v 1.2 1993/12/14 05:11:09 paulus Exp $
+# $Id: Makefile.sun,v 1.5 1995/04/28 06:16:19 paulus Exp $
 #
 
 PPPSTATSRCS = pppstats.c
@@ -9,14 +9,17 @@ PPPSTATOBJS = pppstats.o
 #CC = gcc
 COPTS = -O
 COMPILE_FLAGS = -DSTREAMS
-LIBS = -lkvm
+LIBS =
+
+INSTALL= install -o root -g daemon
 
 CFLAGS = -I.. $(COPTS) $(COMPILE_FLAGS)
 
 all: pppstats
 
-install:
-       install -c -g kmem pppstats $(BINDIR)/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)
@@ -27,7 +30,3 @@ clean:
 depend:
        cpp -M $(CFLAGS) $(PPPSTATSRCS) >.depend
 #      makedepend $(CFLAGS) $(PPPSTATSRCS)
-
-saber_pppstats:
-       #setopt load_flags $(CFLAGS)
-       #load $(PPPSTATSRCS)