X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=sunos4%2FMakefile.top;h=a0d31a95737fd8d3cfbca3a14c0c4fa322e9b220;hp=c24e057b4881d21a6bbb99ea48169a82daee4aba;hb=c9ac1d31b8c373fa5d5b26d6a04562c3dd3459d3;hpb=e5ad7e3dbf232955054ee90e54cebd6ee9533a85 diff --git a/sunos4/Makefile.top b/sunos4/Makefile.top index c24e057..a0d31a9 100644 --- a/sunos4/Makefile.top +++ b/sunos4/Makefile.top @@ -8,19 +8,21 @@ ETCDIR = /etc/ppp INSTALL= install -o root -g daemon +MOPTS = $(MFLAGS) CC=$(CC) BINDIR=$(BINDIR) MANDIR=$(MANDIR) + all: - cd chat; $(MAKE) all - cd pppd; $(MAKE) all - cd pppstats; $(MAKE) all - cd sunos4; $(MAKE) all + cd chat; $(MAKE) $(MOPTS) all + cd pppd; $(MAKE) $(MOPTS) all + cd pppstats; $(MAKE) $(MOPTS) all + cd sunos4; $(MAKE) $(MOPTS) 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 sunos4; $(MAKE) BINDIR=$(BINDIR) install + cd chat; $(MAKE) $(MOPTS) install + cd pppd; $(MAKE) $(MOPTS) install + cd pppstats; $(MAKE) $(MOPTS) install + cd sunos4; $(MAKE) $(MOPTS) install install-etcppp: $(ETCDIR) $(ETCDIR)/options $(ETCDIR)/pap-secrets \ $(ETCDIR)/chap-secrets