X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppstats%2FMakefile.sun;h=165a77664987355afe3ed63987eabbc8d50b3493;hp=67d3c2b4ee200ff87fc7ffacf4fbf1d54d10de6f;hb=1b82ef17d74c492811724a78d3fc2edd5cc77d29;hpb=42ef7debd30c0f11a9c9cadf8c94c14213510b2a diff --git a/pppstats/Makefile.sun b/pppstats/Makefile.sun index 67d3c2b..165a776 100644 --- a/pppstats/Makefile.sun +++ b/pppstats/Makefile.sun @@ -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)