1 # ppp top level makefile for NeXT systems
3 # $Id: Makefile.top,v 1.8 1999/07/23 07:07:33 paulus Exp $
6 # Change the values of ARCHFLAGS to include the
7 # appropriate architectures. A blank entry compiles
8 # for the local architecture
9 #ARCHFLAGS = -arch i386 -arch m68k -arch hppa -arch sparc
10 #ARCHFLAGS = -arch i386 -arch m68k
14 # It is not suggested that you change any values from here
17 BINDIR = /usr/local/ppp/bin
18 MANDIR = /usr/local/ppp/man
23 cd NeXT/libposix; $(MAKE) ARCHFLAGS="$(ARCHFLAGS)" all
24 cd chat; $(MAKE) -f Makefile.NeXT ARCHFLAGS="$(ARCHFLAGS)" all
25 cd pppstats; $(MAKE) -f Makefile.NeXT ARCHFLAGS="$(ARCHFLAGS)" all
26 cd pppd; $(MAKE) -f Makefile.NeXT ARCHFLAGS="$(ARCHFLAGS)" all
27 cd NeXT; $(MAKE) ARCHFLAGS="$(ARCHFLAGS)" all
32 $(MAKE) -f Makefile.NeXT ARCHFLAGS="$(ARCHFLAGS)" BINDIR=$(BINDIR) MANDIR=$(MANDIR) install
34 $(MAKE) -f Makefile.NeXT ARCHFLAGS="$(ARCHFLAGS)" BINDIR=$(BINDIR) MANDIR=$(MANDIR) install
36 $(MAKE) -f Makefile.NeXT ARCHFLAGS="$(ARCHFLAGS)" BINDIR=$(BINDIR) MANDIR=$(MANDIR) install
38 $(MAKE) ARCHFLAGS="$(ARCHFLAGS)" BINDIR=$(BINDIR) ETCDIR=$(ETCDIR) install
42 (cd libposix; $(MAKE) -f Makefile.NeXT clean)
43 (cd chat; $(MAKE) -f Makefile.NeXT clean)
44 (cd pppstats; $(MAKE) -f Makefile.NeXT clean)
45 (cd pppd; $(MAKE) -f Makefile.NeXT clean)
46 (cd NeXT; $(MAKE) clean)
55 libposix/Makefile.NeXT \
70 pppstats/Makefile.NeXT \
84 NeXT/Load_Commands.sect \
89 NeXT/Unload_Commands.sect \
103 NeXT/hppa/README.hppa \
104 NeXT/hppa/hppaSerialPatch.tar.gz \
108 NeXT/mach/features.h \
113 NeXT/Examples/NXHosting_with_PPP \
114 NeXT/Examples/Persistent_Connection \
115 NeXT/Examples/README \
116 NeXT/Examples/chap-secrets.example \
117 NeXT/Examples/flow-control-hints \
118 NeXT/Examples/ip-down.example \
119 NeXT/Examples/ip-up.example \
120 NeXT/Examples/options.example \
121 NeXT/Examples/pap-secrets.example \
122 NeXT/Examples/ppp_multiple_hosts.tar.gz \
123 NeXT/Examples/pppdown \
124 NeXT/Examples/pppkill.c \
125 NeXT/Examples/pppup.annex \
126 NeXT/Examples/pppup.direct \
127 NeXT/Examples/pppup.portmaster \
128 NeXT/Examples/pppup.remote \
129 NeXT/Examples/pppup.zyxel \
130 NeXT/Examples/redial.sh \
148 # The idea is to make for easy distribution of new port material.
149 # Just make sure all relevant files appear in the lists above,
151 # 1) Update the file ./NeXT_Version with a new number
152 # 2) go to the top level directory and type 'make portdist'.
153 # You should get a nice tared/compressed file that is ready for
158 echo NeXT-ppp2.3.9-`sed -e '/version_string/!d' \
159 -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q ./NeXT/NeXT_Version.h` > .fname
162 mkdir `cat .fname`/libposix
163 mkdir `cat .fname`/pppd
164 mkdir `cat .fname`/net
165 mkdir `cat .fname`/chat
166 mkdir `cat .fname`/NeXT
167 mkdir `cat .fname`/NeXT/hppa
168 mkdir `cat .fname`/NeXT/mach
169 mkdir `cat .fname`/NeXT/Examples
170 mkdir `cat .fname`/pppstats
171 -ln $(NEXTTOP) `cat .fname`
172 -ln $(NEXTPOSIX) `cat .fname`/libposix
173 -ln $(NEXTPPPD) `cat .fname`/pppd
174 -ln $(NEXTNET) `cat .fname`/net
175 -ln $(NEXTCHAT) `cat .fname`/chat
176 -ln $(NEXTLKS) `cat .fname`/NeXT
177 -ln $(NEXTHPPA) `cat .fname`/NeXT/hppa
178 -ln $(NEXTMACH) `cat .fname`/NeXT/mach
179 -ln $(NEXTEXAMP) `cat .fname`/NeXT/Examples
180 -ln $(NEXTSTATS) `cat .fname`/pppstats
181 for file in $(NEXTPORT); do \
182 test -r `cat .fname`/$$file || cp -p $$file `cat .fname`; \
184 (cd `cat .fname`;tar chf - '.' | gzip --best > ../`cat ../.fname`.tar.gz)
185 rm -rf `cat .fname` .fname
187 .PHONY: dialppp portdist