]> git.ozlabs.org Git - ppp.git/blobdiff - svr4/Makefile.top
use Makedefs rather than passing lots of things on make command line
[ppp.git] / svr4 / Makefile.top
index c9d7eb577b66051ea835fdab46a81edaa2721805..0d01d204a6608bde8fa5037c105dc0feaecc1946 100644 (file)
@@ -1,14 +1,10 @@
 #
-# ppp top level makefile for Solaris 2
+# ppp top level makefile for SVR4 and Solaris 2
 #
-# $Id: Makefile.top,v 1.4 1996/09/14 05:12:31 paulus Exp $
+# $Id: Makefile.top,v 1.6 1998/02/04 01:43:23 paulus Exp $
 #
 
-BINDIR = /usr/local/bin
-MANDIR = /usr/local/man
-ETCDIR = /etc/ppp
-
-INSTALL= /usr/sbin/install
+include svr4/Makedefs
 
 all:
        cd chat; $(MAKE) all
@@ -19,10 +15,10 @@ all:
 install: $(BINDIR) $(MANDIR)/man8 install-progs install-etcppp
 
 install-progs:
-       cd chat; $(MAKE) BINDIR=$(BINDIR) MANDIR=$(MANDIR) install
-       cd pppd; $(MAKE) BINDIR=$(BINDIR) MANDIR=$(MANDIR) install
-       cd pppstats; $(MAKE) BINDIR=$(BINDIR) MANDIR=$(MANDIR) install
-       cd svr4; $(MAKE) BINDIR=$(BINDIR) install
+       cd chat; $(MAKE) install
+       cd pppd; $(MAKE) install
+       cd pppstats; $(MAKE) install
+       cd svr4; $(MAKE) install
 
 install-etcppp: $(ETCDIR) $(ETCDIR)/options $(ETCDIR)/pap-secrets \
        $(ETCDIR)/chap-secrets