X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppstats%2FMakefile.sun;h=165a77664987355afe3ed63987eabbc8d50b3493;hp=42f42bf082a90e5ad90d44ff9d0e63957fa94a7f;hb=f7f6e00dd75ae5f73808e000387a1f09c2f1a1ac;hpb=46adcb0e8d393a0e5be447e69e089313078792a0 diff --git a/pppstats/Makefile.sun b/pppstats/Makefile.sun index 42f42bf..165a776 100644 --- a/pppstats/Makefile.sun +++ b/pppstats/Makefile.sun @@ -1,6 +1,6 @@ # # pppstats makefile -# $Id: Makefile.sun,v 1.4 1994/09/19 04:15:17 paulus Exp $ +# $Id: Makefile.sun,v 1.5 1995/04/28 06:16:19 paulus Exp $ # PPPSTATSRCS = pppstats.c @@ -11,12 +11,15 @@ COPTS = -O COMPILE_FLAGS = -DSTREAMS LIBS = +INSTALL= install -o root -g daemon + CFLAGS = -I.. $(COPTS) $(COMPILE_FLAGS) all: pppstats -install: - install -c 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)