X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=NeXT%2FMakefile.top;h=4ca9d5827cead9772cfaecfaa1456e2f34b96f8a;hp=c281bc3a2e45d239754dee0978ced1840b9eb93e;hb=3371dbae2932c2f3035587d05962240d95b1f63b;hpb=7554d5fef3f478ca0f9c8911522d7c1783989eae diff --git a/NeXT/Makefile.top b/NeXT/Makefile.top index c281bc3..4ca9d58 100644 --- a/NeXT/Makefile.top +++ b/NeXT/Makefile.top @@ -1,23 +1,32 @@ - # ppp top level makefile for NeXT systems # -# $Id: Makefile.top,v 1.1 1995/12/18 03:29:52 paulus Exp $ +# $Id: Makefile.top,v 1.10 1999/12/23 01:48:44 paulus Exp $ # -BINDIR = /usr/local/ppp/bin -MANDIR = /usr/local/ppp/man -ETCDIR = /etc/ppp +# Change the values of ARCHFLAGS to include the +# appropriate architectures. A blank entry compiles +# for the local architecture #ARCHFLAGS = -arch i386 -arch m68k -arch hppa -arch sparc #ARCHFLAGS = -arch i386 -arch m68k -#ARCHFLAGS = -arch i386 ARCHFLAGS = +# +# It is not suggested that you change any values from here +# on. +# +BINDIR = /usr/local/ppp/bin +MANDIR = /usr/local/ppp/man +ETCDIR = /etc/ppp + + all: + cd NeXT/libposix; $(MAKE) ARCHFLAGS="$(ARCHFLAGS)" all cd chat; $(MAKE) -f Makefile.NeXT ARCHFLAGS="$(ARCHFLAGS)" all cd pppstats; $(MAKE) -f Makefile.NeXT ARCHFLAGS="$(ARCHFLAGS)" all cd pppd; $(MAKE) -f Makefile.NeXT ARCHFLAGS="$(ARCHFLAGS)" all cd NeXT; $(MAKE) ARCHFLAGS="$(ARCHFLAGS)" all + install: cd chat; \ $(MAKE) -f Makefile.NeXT ARCHFLAGS="$(ARCHFLAGS)" BINDIR=$(BINDIR) MANDIR=$(MANDIR) install @@ -30,6 +39,7 @@ install: clean: rm -f *~ + (cd libposix; $(MAKE) -f Makefile.NeXT clean) (cd chat; $(MAKE) -f Makefile.NeXT clean) (cd pppstats; $(MAKE) -f Makefile.NeXT clean) (cd pppd; $(MAKE) -f Makefile.NeXT clean) @@ -38,49 +48,46 @@ clean: NEXTTOP = \ - README.NeXT \ + README.NeXT \ + ${NULL} + +NEXTPOSIX = \ + libposix/Makefile.NeXT \ + libposix/libposix.c \ ${NULL} NEXTPPPD = \ pppd/Makefile.NeXT \ - pppd/ipcp.c \ - pppd/ipcp.h \ - pppd/options.c \ pppd/sys-NeXT.c \ ${NULL} NEXTNET = \ - ${NULL} - - -# -# Currently not supported -# -NEXTPPPEXC = \ - pppexclude/Makefile.NeXT \ - pppexclude/pppipexclude.8 \ - pppexclude/pppipexclude.c \ + net/if_ppp.h \ + net/ppp_defs.h \ ${NULL} NEXTSTATS = \ pppstats/Makefile.NeXT \ ${NULL} +# pppstats/pppstats.c + + NEXTCHAT = \ chat/Makefile.NeXT \ chat/chat.c.3.2 \ ${NULL} NEXTLKS = \ + NeXT/ChangeLog.rtf \ NeXT/INSTALL \ NeXT/Load_Commands.sect \ NeXT/Makefile \ NeXT/Makefile.top \ - NeXT/NeXT_Version \ - NeXT/README.NeXT \ + NeXT/NeXT_Version.h \ NeXT/TODO.NeXT \ NeXT/Unload_Commands.sect \ - NeXT/bsd-comp.c \ + NeXT/bsd-comp.c \ NeXT/if_ppp.c \ NeXT/if_pppvar.h \ NeXT/inlines.h \ @@ -88,8 +95,6 @@ NEXTLKS = \ NeXT/nbq.h \ NeXT/netbuf.h \ NeXT/ppp_tty.c \ - NeXT/random.c \ - NeXT/random.h \ NeXT/spl.h \ NeXT/vjcompress.c \ ${NULL} @@ -97,66 +102,48 @@ NEXTLKS = \ NEXTHPPA = \ NeXT/hppa/README.hppa \ NeXT/hppa/hppaSerialPatch.tar.gz \ - $(NULL} + ${NULL} NEXTMACH = \ NeXT/mach/features.h \ - $(NULL} - - -NEXTBPF = \ - NeXT/bpf/Load_Commands.sect \ - NeXT/bpf/Makefile \ - NeXT/bpf/NeXT_Support.c \ - NeXT/bpf/README.NeXT \ - NeXT/bpf/Unload_Commands.sect \ - NeXT/bpf/bpf.4 \ - NeXT/bpf/bpf.c \ - NeXT/bpf/bpf.h \ - NeXT/bpf/bpf_compat.h \ - NeXT/bpf/bpf_filter.c \ - NeXT/bpf/bpfdesc.h \ - NeXT/bpf/netbuf.h \ - NeXT/bpf/promisc.c \ - NeXT/bpf/spl.h \ ${NULL} + NEXTEXAMP = \ - Examples/NXHosting_with_PPP \ - Examples/Persistent_Connection \ - Examples/README \ - Examples/flow-control-hints \ - Examples/ip-down.example \ - Examples/ip-up.example \ - Examples/options \ - Examples/pdial \ - Examples/ppp_multiple_hosts.tar.gz \ - Examples/pppdown \ - Examples/pppkill.c \ - Examples/pppup.annex \ - Examples/pppup.direct \ - Examples/pppup.portmaster \ - Examples/pppup.remote \ - Examples/pppup.zyxel \ - Examples/rc.ppp \ - Examples/redial.sh \ + NeXT/Examples/NXHosting_with_PPP \ + NeXT/Examples/Persistent_Connection \ + NeXT/Examples/README \ + NeXT/Examples/chap-secrets.example \ + NeXT/Examples/flow-control-hints \ + NeXT/Examples/ip-down.example \ + NeXT/Examples/ip-up.example \ + NeXT/Examples/options.example \ + NeXT/Examples/pap-secrets.example \ + NeXT/Examples/ppp_multiple_hosts.tar.gz \ + NeXT/Examples/pppdown \ + NeXT/Examples/pppkill.c \ + NeXT/Examples/pppup.annex \ + NeXT/Examples/pppup.direct \ + NeXT/Examples/pppup.portmaster \ + NeXT/Examples/pppup.remote \ + NeXT/Examples/pppup.zyxel \ + NeXT/Examples/redial.sh \ ${NULL} - NEXTPORT = \ ${NEXTTOP} \ + ${NEXTPOSIX} \ ${NEXTPPPD} \ + ${NEXTNET} \ ${NEXTSTATS} \ ${NEXTCHAT} \ ${NEXTLKS} \ ${NEXTHPPA} \ ${NEXTMACH} \ - ${NEXTBPF} \ ${NEXTEXAMP} \ ${NULL} - # # The idea is to make for easy distribution of new port material. # Just make sure all relevant files appear in the lists above, @@ -167,29 +154,30 @@ NEXTPORT = \ # the archive. # - portdist: - echo NeXT-ppp2.2-`sed -e '/version_string/!d' \ - -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q ./NeXT/NeXT_Version` > .fname + echo NeXT-ppp2.3.11-`sed -e '/version_string/!d' \ + -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q ./NeXT/NeXT_Version.h` > .fname rm -rf `cat .fname` mkdir `cat .fname` + mkdir `cat .fname`/libposix mkdir `cat .fname`/pppd + mkdir `cat .fname`/net mkdir `cat .fname`/chat mkdir `cat .fname`/NeXT mkdir `cat .fname`/NeXT/hppa mkdir `cat .fname`/NeXT/mach - mkdir `cat .fname`/NeXT/bpf + mkdir `cat .fname`/NeXT/Examples mkdir `cat .fname`/pppstats - mkdir `cat .fname`/Examples -ln $(NEXTTOP) `cat .fname` + -ln $(NEXTPOSIX) `cat .fname`/libposix -ln $(NEXTPPPD) `cat .fname`/pppd + -ln $(NEXTNET) `cat .fname`/net -ln $(NEXTCHAT) `cat .fname`/chat -ln $(NEXTLKS) `cat .fname`/NeXT -ln $(NEXTHPPA) `cat .fname`/NeXT/hppa -ln $(NEXTMACH) `cat .fname`/NeXT/mach - -ln $(NEXTBPF) `cat .fname`/NeXT/bpf + -ln $(NEXTEXAMP) `cat .fname`/NeXT/Examples -ln $(NEXTSTATS) `cat .fname`/pppstats - -ln $(NEXTEXAMP) `cat .fname`/Examples for file in $(NEXTPORT); do \ test -r `cat .fname`/$$file || cp -p $$file `cat .fname`; \ done