ppp/sunos4/Makefile.top
Paul Mackerras 5018cc2da5 add man page for pppdump and add it to the list of things
to be installed on linux, sol2, svr4, sunos4
1999-04-01 11:44:55 +00:00

47 lines
925 B
Makefile

#
# ppp top level makefile
#
include sunos4/Makedefs
all:
cd chat; $(MAKE) all
cd pppd; $(MAKE) all
cd pppstats; $(MAKE) all
cd sunos4; $(MAKE) all
cd pppdump; $(MAKE) all
install: $(BINDIR) $(MANDIR)/man8 install-progs install-etcppp
install-progs:
cd chat; $(MAKE) install
cd pppd; $(MAKE) install
cd pppstats; $(MAKE) install
cd pppdump; $(MAKE) install
cd sunos4; $(MAKE) install
install-etcppp: $(ETCDIR) $(ETCDIR)/options $(ETCDIR)/pap-secrets \
$(ETCDIR)/chap-secrets
$(ETCDIR)/options:
$(INSTALL) -c -m 644 etc.ppp/options $@
$(ETCDIR)/pap-secrets:
$(INSTALL) -c -m 600 etc.ppp/pap-secrets $@
$(ETCDIR)/chap-secrets:
$(INSTALL) -c -m 600 etc.ppp/chap-secrets $@
$(BINDIR):
$(INSTALL) -d -m 755 $@
$(MANDIR)/man8:
$(INSTALL) -d -m 755 $@
$(ETCDIR):
$(INSTALL) -d -m 755 $@
clean:
rm -f *~
cd chat; $(MAKE) clean
cd pppd; $(MAKE) clean
cd pppstats; $(MAKE) clean
cd sunos4; $(MAKE) clean