ppp/solaris/Makefile.top
Adi Masputra f9eac6e29b 1) Created a subdirectory called 'solaris'. Currently it contains a replica
of the 'svr4' directory. However, over time, files in this directory
   will contain the same code as the kernel-portion of pppd in future
   releases of Solaris, hence they most probably will change in contents
   and/or sub-structure.
2) Changed the 'configure' script to not create symbolic link Makefiles
   when the OS is SunOS 4.x. Under 'SunOS' category, only SunOS 5.x (or
   Solaris 2.x) is currently enabled.
3) Changed the rest of the utilities + pppd daemon Makefile.sol2 to point
   to the solaris/Makedefs instead of the one in svr4 directory.
2000-04-18 23:51:29 +00:00

51 lines
1.0 KiB
Makefile

#
# ppp top level makefile for SVR4 and Solaris 2
#
# $Id: Makefile.top,v 1.1 2000/04/18 23:51:28 masputra Exp $
#
include solaris/Makedefs
all:
cd chat; $(MAKE) all
cd pppd; $(MAKE) all
cd pppstats; $(MAKE) all
cd pppdump; $(MAKE) all
cd solaris; $(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 solaris; $(MAKE) install
install-etcppp: $(ETCDIR) $(ETCDIR)/options $(ETCDIR)/pap-secrets \
$(ETCDIR)/chap-secrets
$(ETCDIR)/options:
cp etc.ppp/options $@
chmod go-w $@
$(ETCDIR)/pap-secrets:
$(INSTALL) -f $(ETCDIR) -m 600 etc.ppp/pap-secrets
$(ETCDIR)/chap-secrets:
$(INSTALL) -f $(ETCDIR) -m 600 etc.ppp/chap-secrets
$(BINDIR):
mkdir -m 755 -p $@
$(MANDIR)/man8:
mkdir -m 755 -p $@
$(ETCDIR):
mkdir -m 755 -p $@
clean:
rm -f *~
cd chat; $(MAKE) clean
cd pppd; $(MAKE) clean
cd pppstats; $(MAKE) clean
cd pppdump; $(MAKE) clean
cd solaris; $(MAKE) clean