xref: /titanic_52/usr/src/contrib/ast/src/lib/libpp/Mamfile (revision 906afcb89d0412cc073b95c2d701a804a8cdb62c)
1*906afcb8SAndy Fiddamaninfo mam static 00000 1994-07-17 make (AT&T Research) 5.7 2012-06-20
2*906afcb8SAndy Fiddamansetv INSTALLROOT ../../..
3*906afcb8SAndy Fiddamansetv PACKAGE_ast_INCLUDE ${INSTALLROOT}/include/ast
4*906afcb8SAndy Fiddamansetv PACKAGE_ast_LIB ${INSTALLROOT}/lib
5*906afcb8SAndy Fiddamansetv PACKAGEROOT ../../../../..
6*906afcb8SAndy Fiddamansetv AR ${mam_cc_AR} ${mam_cc_AR_ARFLAGS}
7*906afcb8SAndy Fiddamansetv ARFLAGS rc
8*906afcb8SAndy Fiddamansetv AS as
9*906afcb8SAndy Fiddamansetv ASFLAGS
10*906afcb8SAndy Fiddamansetv CC cc
11*906afcb8SAndy Fiddamansetv mam_cc_FLAGS
12*906afcb8SAndy Fiddamansetv CCFLAGS ${-debug-symbols?1?${mam_cc_DEBUG} -D_BLD_DEBUG?${mam_cc_OPTIMIZE}?}
13*906afcb8SAndy Fiddamansetv CCLDFLAGS ${-strip-symbols?1?${mam_cc_LD_STRIP}??}
14*906afcb8SAndy Fiddamansetv COTEMP $$
15*906afcb8SAndy Fiddamansetv CPIO cpio
16*906afcb8SAndy Fiddamansetv CPIOFLAGS
17*906afcb8SAndy Fiddamansetv CPP "${CC} -E"
18*906afcb8SAndy Fiddamansetv F77 f77
19*906afcb8SAndy Fiddamansetv HOSTCC ${CC}
20*906afcb8SAndy Fiddamansetv IGNORE
21*906afcb8SAndy Fiddamansetv LD ld
22*906afcb8SAndy Fiddamansetv LDFLAGS
23*906afcb8SAndy Fiddamansetv LEX lex
24*906afcb8SAndy Fiddamansetv LEXFLAGS
25*906afcb8SAndy Fiddamansetv LPR lpr
26*906afcb8SAndy Fiddamansetv LPRFLAGS
27*906afcb8SAndy Fiddamansetv M4FLAGS
28*906afcb8SAndy Fiddamansetv NMAKE nmake
29*906afcb8SAndy Fiddamansetv NMAKEFLAGS
30*906afcb8SAndy Fiddamansetv PR pr
31*906afcb8SAndy Fiddamansetv PRFLAGS
32*906afcb8SAndy Fiddamansetv SHELL /bin/sh
33*906afcb8SAndy Fiddamansetv SILENT
34*906afcb8SAndy Fiddamansetv TAR tar
35*906afcb8SAndy Fiddamansetv YACC yacc
36*906afcb8SAndy Fiddamansetv YACCFLAGS -d
37*906afcb8SAndy Fiddamanmake ${PACKAGEROOT}/lib/package/ast.lic
38*906afcb8SAndy Fiddamandone ${PACKAGEROOT}/lib/package/ast.lic
39*906afcb8SAndy Fiddamanmake install
40*906afcb8SAndy Fiddamanmake ppsym
41*906afcb8SAndy Fiddamanmake ppsym.o
42*906afcb8SAndy Fiddamanmake ppsym.c
43*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/endian.h implicit
44*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/bytesex.h implicit
45*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
46*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_map.h implicit
47*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_map.h dontcare
48*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/endian.h implicit
49*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_common.h dontcare
50*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/bytesex.h dontcare
51*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/endian.h dontcare
52*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast.h implicit
53*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_api.h implicit
54*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_api.h dontcare
55*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/vmalloc.h implicit
56*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
57*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
58*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/regex.h implicit
59*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_api.h implicit
60*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_wchar.h implicit
61*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/wctype.h implicit
62*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_wctype.h implicit
63*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/endian.h implicit
64*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/wchar.h implicit
65*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_wchar.h implicit
66*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/wchar.h dontcare
67*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_wctype.h dontcare
68*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/wctype.h dontcare
69*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/stdio.h implicit
70*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_stdio.h implicit
71*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/sfio_s.h implicit
72*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/sfio_s.h dontcare
73*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
74*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_stdio.h dontcare
75*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/stdio.h dontcare
76*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/stdio.h implicit
77*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
78*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_wchar.h dontcare
79*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
80*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
81*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/prototyped.h dontcare
82*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/regex.h dontcare
83*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/getopt.h implicit
84*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_getopt.h implicit
85*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
86*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_getopt.h dontcare
87*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
88*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/getopt.h dontcare
89*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_map.h implicit
90*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_botch.h implicit
91*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_botch.h dontcare
92*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_limits.h implicit
93*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_limits.h dontcare
94*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_fcntl.h implicit
95*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_fs.h implicit
96*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_fs.h dontcare
97*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_fcntl.h dontcare
98*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_getopt.h implicit
99*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_sys.h implicit
100*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/getopt.h implicit
101*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/endian.h implicit
102*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/endian.h implicit
103*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_sys.h dontcare
104*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_lib.h implicit
105*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_lib.h dontcare
106*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
107*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
108*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_std.h dontcare
109*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/vmalloc.h dontcare
110*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/sfio.h implicit
111*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/sfio_s.h implicit
112*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
113*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
114*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/sfio.h dontcare
115*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
116*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
117*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast.h
118*906afcb8SAndy Fiddamandone ppsym.c
119*906afcb8SAndy Fiddamanmeta ppsym.o %.c>%.o ppsym.c ppsym
120*906afcb8SAndy Fiddamanprev ppsym.c
121*906afcb8SAndy Fiddamansetv _BLD_pp -U_BLD_pp
122*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppsym.c
123*906afcb8SAndy Fiddamandone ppsym.o generated
124*906afcb8SAndy Fiddamanbind -last
125*906afcb8SAndy Fiddamanexec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L${INSTALLROOT}/lib} -o ppsym ppsym.o ${mam_libast} ${mam_libast}
126*906afcb8SAndy Fiddamandone ppsym generated
127*906afcb8SAndy Fiddamanmake pp
128*906afcb8SAndy Fiddamanmake libpp.a archive
129*906afcb8SAndy Fiddamanmake pp.req
130*906afcb8SAndy Fiddamanexec - set -
131*906afcb8SAndy Fiddamanexec - echo 'int main(){return 0;}' > 1.${COTEMP}.c
132*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -c 1.${COTEMP}.c &&
133*906afcb8SAndy Fiddamanexec - x=`${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} -o 1.${COTEMP}.x 1.${COTEMP}.o -l'*' 2>&1 | sed -e 's/[][()+@?]/#/g' || :` &&
134*906afcb8SAndy Fiddamanexec - {
135*906afcb8SAndy Fiddamanexec - case "" in
136*906afcb8SAndy Fiddamanexec - *?) echo " " ;;
137*906afcb8SAndy Fiddamanexec - esac
138*906afcb8SAndy Fiddamanexec - for i in pp ast
139*906afcb8SAndy Fiddamanexec - do case $i in
140*906afcb8SAndy Fiddamanexec - "pp"|pp)
141*906afcb8SAndy Fiddamanexec - ;;
142*906afcb8SAndy Fiddamanexec - *) if test -f ${INSTALLROOT}/lib/lib/$i
143*906afcb8SAndy Fiddamanexec - then y=`cat ${INSTALLROOT}/lib/lib/$i`
144*906afcb8SAndy Fiddamanexec - case $y in
145*906afcb8SAndy Fiddamanexec - *-?*) echo "" $y ;;
146*906afcb8SAndy Fiddamanexec - esac
147*906afcb8SAndy Fiddamanexec - continue
148*906afcb8SAndy Fiddamanexec - elif test ! -f ${INSTALLROOT}/lib/lib$i.a
149*906afcb8SAndy Fiddamanexec - then case `{ ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -L../../lib ${LDFLAGS} -o 1.${COTEMP}.x 1.${COTEMP}.o -l$i 2>&1 || echo '' $x ;} | sed -e 's/[][()+@?]/#/g' || :` in
150*906afcb8SAndy Fiddamanexec - *$x*) case `{ ${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} -o 1.${COTEMP}.x 1.${COTEMP}.o -l$i 2>&1 || echo '' $x ;} | sed -e 's/[][()+@?]/#/g' || :` in
151*906afcb8SAndy Fiddamanexec - *$x*) continue ;;
152*906afcb8SAndy Fiddamanexec - esac
153*906afcb8SAndy Fiddamanexec - ;;
154*906afcb8SAndy Fiddamanexec - esac
155*906afcb8SAndy Fiddamanexec - fi
156*906afcb8SAndy Fiddamanexec - ;;
157*906afcb8SAndy Fiddamanexec - esac
158*906afcb8SAndy Fiddamanexec - echo " -l$i"
159*906afcb8SAndy Fiddamanexec - done
160*906afcb8SAndy Fiddamanexec - } > pp.req
161*906afcb8SAndy Fiddamanexec - rm -f 1.${COTEMP}.*
162*906afcb8SAndy Fiddamandone pp.req generated
163*906afcb8SAndy Fiddamanmake ppargs.o
164*906afcb8SAndy Fiddamanmake ppargs.c
165*906afcb8SAndy Fiddamanmake pplib.h implicit
166*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/vmalloc.h implicit
167*906afcb8SAndy Fiddamanmake ppkey.h implicit
168*906afcb8SAndy Fiddamandone ppkey.h dontcare
169*906afcb8SAndy Fiddamanmake ppdef.h implicit
170*906afcb8SAndy Fiddamanmake gentab
171*906afcb8SAndy Fiddamanmake gentab.sh
172*906afcb8SAndy Fiddamandone gentab.sh
173*906afcb8SAndy Fiddamanmeta gentab %.sh>% gentab.sh gentab
174*906afcb8SAndy Fiddamanprev gentab.sh
175*906afcb8SAndy Fiddamanexec - case static,port:$OPTIND:$RANDOM in
176*906afcb8SAndy Fiddamanexec - ?*:*:*|*::*|*:*:$RANDOM)
177*906afcb8SAndy Fiddamanexec - ;;
178*906afcb8SAndy Fiddamanexec - *) if ENV= LC_ALL=C x= $SHELL -nc '[[ a || b ]] && : ${list[level]}  !(pattern)' 2>/dev/null
179*906afcb8SAndy Fiddamanexec - then if grep '### .*archaic.* ###' >/dev/null
180*906afcb8SAndy Fiddamanexec - then : gentab contains archaic constructs :
181*906afcb8SAndy Fiddamanexec - else ENV= LC_ALL=C $SHELL -n gentab.sh
182*906afcb8SAndy Fiddamanexec - fi
183*906afcb8SAndy Fiddamanexec - fi
184*906afcb8SAndy Fiddamanexec - ;;
185*906afcb8SAndy Fiddamanexec - esac
186*906afcb8SAndy Fiddamanexec - case '${mam_cc_SHELLMAGIC}' in
187*906afcb8SAndy Fiddamanexec - "") case 0 in
188*906afcb8SAndy Fiddamanexec - 0) cp gentab.sh gentab
189*906afcb8SAndy Fiddamanexec - ;;
190*906afcb8SAndy Fiddamanexec - *) {
191*906afcb8SAndy Fiddamanexec - i=`(read x; echo $x) < gentab.sh`
192*906afcb8SAndy Fiddamanexec - case $i in
193*906afcb8SAndy Fiddamanexec - '#!'*|*'||'*|':'*|'":"'*|"':'"*) echo "$i" ;;
194*906afcb8SAndy Fiddamanexec - esac
195*906afcb8SAndy Fiddamanexec - cat - gentab.sh <<'!'
196*906afcb8SAndy Fiddamanexec -
197*906afcb8SAndy Fiddamanexec - !
198*906afcb8SAndy Fiddamanexec - } > gentab
199*906afcb8SAndy Fiddamanexec - ;;
200*906afcb8SAndy Fiddamanexec - esac
201*906afcb8SAndy Fiddamanexec - ;;
202*906afcb8SAndy Fiddamanexec - *) cat - gentab.sh > gentab <<'!'
203*906afcb8SAndy Fiddamanexec - ${mam_cc_SHELLMAGIC}
204*906afcb8SAndy Fiddamanexec -
205*906afcb8SAndy Fiddamanexec - !
206*906afcb8SAndy Fiddamanexec - ;;
207*906afcb8SAndy Fiddamanexec - esac
208*906afcb8SAndy Fiddamanexec - silent test -w gentab -a -x gentab || chmod u+w,+x gentab
209*906afcb8SAndy Fiddamandone gentab generated
210*906afcb8SAndy Fiddamanmake pp.tab
211*906afcb8SAndy Fiddamandone pp.tab
212*906afcb8SAndy Fiddamanexec - ${INSTALLROOT}/src/lib/libpp/gentab -d pp.tab > ppdef.h
213*906afcb8SAndy Fiddamandone ppdef.h dontcare generated
214*906afcb8SAndy Fiddamanmake pp.h implicit
215*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ccode.h implicit
216*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_ccode.h implicit
217*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_ccode.h dontcare
218*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
219*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
220*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ccode.h dontcare
221*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/error.h implicit
222*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/option.h implicit
223*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast.h implicit
224*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
225*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/option.h dontcare
226*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast.h implicit
227*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
228*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/error.h dontcare
229*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/hash.h implicit
230*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/hashpart.h implicit
231*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
232*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/hashpart.h dontcare
233*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
234*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/hash.h dontcare
235*906afcb8SAndy Fiddamandone pp.h dontcare
236*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/error.h implicit
237*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast.h implicit
238*906afcb8SAndy Fiddamandone pplib.h
239*906afcb8SAndy Fiddamandone ppargs.c
240*906afcb8SAndy Fiddamanmeta ppargs.o %.c>%.o ppargs.c ppargs
241*906afcb8SAndy Fiddamanprev ppargs.c
242*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -DUSAGE_LICENSE=\""[-author?Glenn Fowler <gsf@research.att.com>][-copyright?Copyright (c) 1986-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libpp]"\" -c ppargs.c
243*906afcb8SAndy Fiddamandone ppargs.o generated
244*906afcb8SAndy Fiddamanmake ppbuiltin.o
245*906afcb8SAndy Fiddamanmake ppbuiltin.c
246*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/times.h implicit
247*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_time.h implicit
248*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_time.h dontcare
249*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast.h implicit
250*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
251*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/times.h
252*906afcb8SAndy Fiddamanprev pplib.h implicit
253*906afcb8SAndy Fiddamandone ppbuiltin.c
254*906afcb8SAndy Fiddamanmeta ppbuiltin.o %.c>%.o ppbuiltin.c ppbuiltin
255*906afcb8SAndy Fiddamanprev ppbuiltin.c
256*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppbuiltin.c
257*906afcb8SAndy Fiddamandone ppbuiltin.o generated
258*906afcb8SAndy Fiddamanmake ppcall.o
259*906afcb8SAndy Fiddamanmake ppcall.c
260*906afcb8SAndy Fiddamanprev pplib.h implicit
261*906afcb8SAndy Fiddamandone ppcall.c
262*906afcb8SAndy Fiddamanmeta ppcall.o %.c>%.o ppcall.c ppcall
263*906afcb8SAndy Fiddamanprev ppcall.c
264*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${-debug-symbols?1?${mam_cc_DEBUG} -D_BLD_DEBUG?${CCFLAGS.FORCE}?} ${DEBUG+-DDEBUG=${DEBUG}} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppcall.c
265*906afcb8SAndy Fiddamandone ppcall.o generated
266*906afcb8SAndy Fiddamanmake ppcomment.o
267*906afcb8SAndy Fiddamanmake ppcomment.c
268*906afcb8SAndy Fiddamanprev pplib.h implicit
269*906afcb8SAndy Fiddamandone ppcomment.c
270*906afcb8SAndy Fiddamanmeta ppcomment.o %.c>%.o ppcomment.c ppcomment
271*906afcb8SAndy Fiddamanprev ppcomment.c
272*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppcomment.c
273*906afcb8SAndy Fiddamandone ppcomment.o generated
274*906afcb8SAndy Fiddamanmake ppcontext.o
275*906afcb8SAndy Fiddamanmake ppcontext.c
276*906afcb8SAndy Fiddamanprev pplib.h implicit
277*906afcb8SAndy Fiddamandone ppcontext.c
278*906afcb8SAndy Fiddamanmeta ppcontext.o %.c>%.o ppcontext.c ppcontext
279*906afcb8SAndy Fiddamanprev ppcontext.c
280*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppcontext.c
281*906afcb8SAndy Fiddamandone ppcontext.o generated
282*906afcb8SAndy Fiddamanmake ppcontrol.o
283*906afcb8SAndy Fiddamanmake ppcontrol.c
284*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/regex.h implicit
285*906afcb8SAndy Fiddamanprev pplib.h implicit
286*906afcb8SAndy Fiddamandone ppcontrol.c
287*906afcb8SAndy Fiddamanmeta ppcontrol.o %.c>%.o ppcontrol.c ppcontrol
288*906afcb8SAndy Fiddamanprev ppcontrol.c
289*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppcontrol.c
290*906afcb8SAndy Fiddamandone ppcontrol.o generated
291*906afcb8SAndy Fiddamanmake ppcpp.o
292*906afcb8SAndy Fiddamanmake ppcpp.c
293*906afcb8SAndy Fiddamanmake pplex.c implicit
294*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/wait.h implicit
295*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_wait.h implicit
296*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_wait.h dontcare
297*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast.h implicit
298*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
299*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/wait.h dontcare
300*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ls.h implicit
301*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_mode.h implicit
302*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_mode.h dontcare
303*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_fs.h implicit
304*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
305*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
306*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ls.h dontcare
307*906afcb8SAndy Fiddamanmake ppfsm.h implicit
308*906afcb8SAndy Fiddamandone ppfsm.h
309*906afcb8SAndy Fiddamanprev pplib.h implicit
310*906afcb8SAndy Fiddamandone pplex.c
311*906afcb8SAndy Fiddamandone ppcpp.c
312*906afcb8SAndy Fiddamanmeta ppcpp.o %.c>%.o ppcpp.c ppcpp
313*906afcb8SAndy Fiddamanprev ppcpp.c
314*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${-debug-symbols?1?${mam_cc_DEBUG} -D_BLD_DEBUG?${CCFLAGS.FORCE}?} ${DEBUG+-DDEBUG=${DEBUG}} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppcpp.c
315*906afcb8SAndy Fiddamandone ppcpp.o generated
316*906afcb8SAndy Fiddamanmake ppdata.o
317*906afcb8SAndy Fiddamanmake ppdata.c
318*906afcb8SAndy Fiddamanprev pplib.h implicit
319*906afcb8SAndy Fiddamandone ppdata.c
320*906afcb8SAndy Fiddamanmeta ppdata.o %.c>%.o ppdata.c ppdata
321*906afcb8SAndy Fiddamanprev ppdata.c
322*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppdata.c
323*906afcb8SAndy Fiddamandone ppdata.o generated
324*906afcb8SAndy Fiddamanmake pperror.o
325*906afcb8SAndy Fiddamanmake pperror.c
326*906afcb8SAndy Fiddamanprev pplib.h implicit
327*906afcb8SAndy Fiddamandone pperror.c
328*906afcb8SAndy Fiddamanmeta pperror.o %.c>%.o pperror.c pperror
329*906afcb8SAndy Fiddamanprev pperror.c
330*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c pperror.c
331*906afcb8SAndy Fiddamandone pperror.o generated
332*906afcb8SAndy Fiddamanmake ppexpr.o
333*906afcb8SAndy Fiddamanmake ppexpr.c
334*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/regex.h implicit
335*906afcb8SAndy Fiddamanprev pplib.h implicit
336*906afcb8SAndy Fiddamandone ppexpr.c
337*906afcb8SAndy Fiddamanmeta ppexpr.o %.c>%.o ppexpr.c ppexpr
338*906afcb8SAndy Fiddamanprev ppexpr.c
339*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppexpr.c
340*906afcb8SAndy Fiddamandone ppexpr.o generated
341*906afcb8SAndy Fiddamanmake ppfsm.o
342*906afcb8SAndy Fiddamanmake ppfsm.c
343*906afcb8SAndy Fiddamanprev ppfsm.h implicit
344*906afcb8SAndy Fiddamanprev pplib.h implicit
345*906afcb8SAndy Fiddamandone ppfsm.c
346*906afcb8SAndy Fiddamanmeta ppfsm.o %.c>%.o ppfsm.c ppfsm
347*906afcb8SAndy Fiddamanprev ppfsm.c
348*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${-debug-symbols?1?${mam_cc_DEBUG} -D_BLD_DEBUG?${CCFLAGS.FORCE}?} ${DEBUG+-DDEBUG=${DEBUG}} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppfsm.c
349*906afcb8SAndy Fiddamandone ppfsm.o generated
350*906afcb8SAndy Fiddamanmake ppincref.o
351*906afcb8SAndy Fiddamanmake ppincref.c
352*906afcb8SAndy Fiddamanprev pplib.h implicit
353*906afcb8SAndy Fiddamandone ppincref.c
354*906afcb8SAndy Fiddamanmeta ppincref.o %.c>%.o ppincref.c ppincref
355*906afcb8SAndy Fiddamanprev ppincref.c
356*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppincref.c
357*906afcb8SAndy Fiddamandone ppincref.o generated
358*906afcb8SAndy Fiddamanmake ppinput.o
359*906afcb8SAndy Fiddamanmake ppinput.c
360*906afcb8SAndy Fiddamanmake ../../lib/libast/path/pathnative.c implicit
361*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast.h implicit
362*906afcb8SAndy Fiddamandone ../../lib/libast/path/pathnative.c
363*906afcb8SAndy Fiddamanprev pplib.h implicit
364*906afcb8SAndy Fiddamandone ppinput.c
365*906afcb8SAndy Fiddamanmeta ppinput.o %.c>%.o ppinput.c ppinput
366*906afcb8SAndy Fiddamanprev ppinput.c
367*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppinput.c
368*906afcb8SAndy Fiddamandone ppinput.o generated
369*906afcb8SAndy Fiddamanmake ppkey.o
370*906afcb8SAndy Fiddamanmake ppkey.c
371*906afcb8SAndy Fiddamanprev ppkey.h implicit
372*906afcb8SAndy Fiddamanprev pplib.h implicit
373*906afcb8SAndy Fiddamandone ppkey.c
374*906afcb8SAndy Fiddamanmeta ppkey.o %.c>%.o ppkey.c ppkey
375*906afcb8SAndy Fiddamanprev ppkey.c
376*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppkey.c
377*906afcb8SAndy Fiddamandone ppkey.o generated
378*906afcb8SAndy Fiddamanmake pplex.o
379*906afcb8SAndy Fiddamanprev pplex.c
380*906afcb8SAndy Fiddamanmeta pplex.o %.c>%.o pplex.c pplex
381*906afcb8SAndy Fiddamanprev pplex.c
382*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${-debug-symbols?1?${mam_cc_DEBUG} -D_BLD_DEBUG?${CCFLAGS.FORCE}?} ${DEBUG+-DDEBUG=${DEBUG}} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c pplex.c
383*906afcb8SAndy Fiddamandone pplex.o generated
384*906afcb8SAndy Fiddamanmake ppline.o
385*906afcb8SAndy Fiddamanmake ppline.c
386*906afcb8SAndy Fiddamanprev pplib.h implicit
387*906afcb8SAndy Fiddamandone ppline.c
388*906afcb8SAndy Fiddamanmeta ppline.o %.c>%.o ppline.c ppline
389*906afcb8SAndy Fiddamanprev ppline.c
390*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppline.c
391*906afcb8SAndy Fiddamandone ppline.o generated
392*906afcb8SAndy Fiddamanmake ppmacref.o
393*906afcb8SAndy Fiddamanmake ppmacref.c
394*906afcb8SAndy Fiddamanprev pplib.h implicit
395*906afcb8SAndy Fiddamandone ppmacref.c
396*906afcb8SAndy Fiddamanmeta ppmacref.o %.c>%.o ppmacref.c ppmacref
397*906afcb8SAndy Fiddamanprev ppmacref.c
398*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppmacref.c
399*906afcb8SAndy Fiddamandone ppmacref.o generated
400*906afcb8SAndy Fiddamanmake ppmisc.o
401*906afcb8SAndy Fiddamanmake ppmisc.c
402*906afcb8SAndy Fiddamanprev pplib.h implicit
403*906afcb8SAndy Fiddamandone ppmisc.c
404*906afcb8SAndy Fiddamanmeta ppmisc.o %.c>%.o ppmisc.c ppmisc
405*906afcb8SAndy Fiddamanprev ppmisc.c
406*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppmisc.c
407*906afcb8SAndy Fiddamandone ppmisc.o generated
408*906afcb8SAndy Fiddamanmake ppop.o
409*906afcb8SAndy Fiddamanmake ppop.c
410*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/preroot.h implicit
411*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/preroot.h
412*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ls.h implicit
413*906afcb8SAndy Fiddamanmake pptab.h implicit
414*906afcb8SAndy Fiddamanprev gentab
415*906afcb8SAndy Fiddamanprev pp.tab
416*906afcb8SAndy Fiddamanexec - ${INSTALLROOT}/src/lib/libpp/gentab -t pp.tab > pptab.h
417*906afcb8SAndy Fiddamandone pptab.h generated
418*906afcb8SAndy Fiddamanprev pplib.h implicit
419*906afcb8SAndy Fiddamandone ppop.c
420*906afcb8SAndy Fiddamanmeta ppop.o %.c>%.o ppop.c ppop
421*906afcb8SAndy Fiddamanprev ppop.c
422*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppop.c
423*906afcb8SAndy Fiddamandone ppop.o generated
424*906afcb8SAndy Fiddamanmake pppragma.o
425*906afcb8SAndy Fiddamanmake pppragma.c
426*906afcb8SAndy Fiddamanprev pplib.h implicit
427*906afcb8SAndy Fiddamandone pppragma.c
428*906afcb8SAndy Fiddamanmeta pppragma.o %.c>%.o pppragma.c pppragma
429*906afcb8SAndy Fiddamanprev pppragma.c
430*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c pppragma.c
431*906afcb8SAndy Fiddamandone pppragma.o generated
432*906afcb8SAndy Fiddamanmake ppprintf.o
433*906afcb8SAndy Fiddamanmake ppprintf.c
434*906afcb8SAndy Fiddamanprev pplib.h implicit
435*906afcb8SAndy Fiddamandone ppprintf.c
436*906afcb8SAndy Fiddamanmeta ppprintf.o %.c>%.o ppprintf.c ppprintf
437*906afcb8SAndy Fiddamanprev ppprintf.c
438*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppprintf.c
439*906afcb8SAndy Fiddamandone ppprintf.o generated
440*906afcb8SAndy Fiddamanmake ppproto.o
441*906afcb8SAndy Fiddamanmake ppproto.c
442*906afcb8SAndy Fiddamanmake ../libast/port/astlicense.c implicit
443*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast.h implicit
444*906afcb8SAndy Fiddamandone ../libast/port/astlicense.c dontcare
445*906afcb8SAndy Fiddamanprev ppfsm.h implicit
446*906afcb8SAndy Fiddamanprev pplib.h implicit
447*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/hashkey.h implicit
448*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
449*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/hashkey.h dontcare
450*906afcb8SAndy Fiddamanprev ppfsm.c implicit
451*906afcb8SAndy Fiddamandone ppproto.c
452*906afcb8SAndy Fiddamanmeta ppproto.o %.c>%.o ppproto.c ppproto
453*906afcb8SAndy Fiddamanprev ppproto.c
454*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppproto.c
455*906afcb8SAndy Fiddamandone ppproto.o generated
456*906afcb8SAndy Fiddamanmake ppsearch.o
457*906afcb8SAndy Fiddamanmake ppsearch.c
458*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ls.h implicit
459*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/vdb.h implicit
460*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
461*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/vdb.h dontcare
462*906afcb8SAndy Fiddamanprev pplib.h implicit
463*906afcb8SAndy Fiddamandone ppsearch.c
464*906afcb8SAndy Fiddamanmeta ppsearch.o %.c>%.o ppsearch.c ppsearch
465*906afcb8SAndy Fiddamanprev ppsearch.c
466*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c ppsearch.c
467*906afcb8SAndy Fiddamandone ppsearch.o generated
468*906afcb8SAndy Fiddamanmake pptrace.o
469*906afcb8SAndy Fiddamanmake pptrace.c
470*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/sig.h implicit
471*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/sig.h dontcare
472*906afcb8SAndy Fiddamanmake ppdebug.h implicit
473*906afcb8SAndy Fiddamanprev ppfsm.h
474*906afcb8SAndy Fiddamanprev ppdef.h
475*906afcb8SAndy Fiddamanprev pplib.h
476*906afcb8SAndy Fiddamanexec - : > 1.${COTEMP}.c
477*906afcb8SAndy Fiddamanexec - ${STDED} ${STDEDFLAGS} 1.${COTEMP}.c <<'!'
478*906afcb8SAndy Fiddamanexec - r ppfsm.h
479*906afcb8SAndy Fiddamanexec - 1,/^#define PROTO/-d
480*906afcb8SAndy Fiddamanexec - /^#define LAST/,$d
481*906afcb8SAndy Fiddamanexec - v/^#define/d
482*906afcb8SAndy Fiddamanexec - g/PROTOMAIN/d
483*906afcb8SAndy Fiddamanexec - 1,$s/^#define //
484*906afcb8SAndy Fiddamanexec - 1,$s/[^A-Za-z0-9_].*//
485*906afcb8SAndy Fiddamanexec - 1,$s/.*/ "&", &,/
486*906afcb8SAndy Fiddamanexec - 1i
487*906afcb8SAndy Fiddamanexec - /*
488*906afcb8SAndy Fiddamanexec - * preprocessor library debug maps
489*906afcb8SAndy Fiddamanexec - */
490*906afcb8SAndy Fiddamanexec - struct map
491*906afcb8SAndy Fiddamanexec - {
492*906afcb8SAndy Fiddamanexec - char* nam;
493*906afcb8SAndy Fiddamanexec - long val;
494*906afcb8SAndy Fiddamanexec - };
495*906afcb8SAndy Fiddamanexec - static struct map pplexmap[] =
496*906afcb8SAndy Fiddamanexec - {
497*906afcb8SAndy Fiddamanexec - .
498*906afcb8SAndy Fiddamanexec - $a
499*906afcb8SAndy Fiddamanexec - };
500*906afcb8SAndy Fiddamanexec - .
501*906afcb8SAndy Fiddamanexec - ka
502*906afcb8SAndy Fiddamanexec - r ppdef.h
503*906afcb8SAndy Fiddamanexec - 'a+1,/^#define ADD/-d
504*906afcb8SAndy Fiddamanexec - /^$/,$d
505*906afcb8SAndy Fiddamanexec - 'a+1,$s/^#define //
506*906afcb8SAndy Fiddamanexec - 'a+1,$s/[ 	].*//
507*906afcb8SAndy Fiddamanexec - 'a+1,$s/.*/	"&", &,/
508*906afcb8SAndy Fiddamanexec - 'aa
509*906afcb8SAndy Fiddamanexec - static struct map ppstatemap[] =
510*906afcb8SAndy Fiddamanexec - {
511*906afcb8SAndy Fiddamanexec - .
512*906afcb8SAndy Fiddamanexec - $a
513*906afcb8SAndy Fiddamanexec - };
514*906afcb8SAndy Fiddamanexec - .
515*906afcb8SAndy Fiddamanexec - ka
516*906afcb8SAndy Fiddamanexec - r ppdef.h
517*906afcb8SAndy Fiddamanexec - 'a+1,/^#define ALLMULTIPLE/-d
518*906afcb8SAndy Fiddamanexec - /^$/,$d
519*906afcb8SAndy Fiddamanexec - 'a+1,$s/^#define //
520*906afcb8SAndy Fiddamanexec - 'a+1,$s/[ 	].*//
521*906afcb8SAndy Fiddamanexec - 'a+1,$s/.*/	"&", &,/
522*906afcb8SAndy Fiddamanexec - 'aa
523*906afcb8SAndy Fiddamanexec - static struct map ppmodemap[] =
524*906afcb8SAndy Fiddamanexec - {
525*906afcb8SAndy Fiddamanexec - .
526*906afcb8SAndy Fiddamanexec - $a
527*906afcb8SAndy Fiddamanexec - };
528*906afcb8SAndy Fiddamanexec - .
529*906afcb8SAndy Fiddamanexec - ka
530*906afcb8SAndy Fiddamanexec - r ppdef.h
531*906afcb8SAndy Fiddamanexec - 'a+1,/^#define ELSEIF/-d
532*906afcb8SAndy Fiddamanexec - /^$/,$d
533*906afcb8SAndy Fiddamanexec - 'a+1,$s/^#define //
534*906afcb8SAndy Fiddamanexec - 'a+1,$s/[ 	].*//
535*906afcb8SAndy Fiddamanexec - 'a+1,$s/.*/	"&", &,/
536*906afcb8SAndy Fiddamanexec - 'aa
537*906afcb8SAndy Fiddamanexec - static struct map ppoptionmap[] =
538*906afcb8SAndy Fiddamanexec - {
539*906afcb8SAndy Fiddamanexec - .
540*906afcb8SAndy Fiddamanexec - $a
541*906afcb8SAndy Fiddamanexec - };
542*906afcb8SAndy Fiddamanexec - .
543*906afcb8SAndy Fiddamanexec - ka
544*906afcb8SAndy Fiddamanexec - r pplib.h
545*906afcb8SAndy Fiddamanexec - 'a+1,/^#define IN_BUFFER/-d
546*906afcb8SAndy Fiddamanexec - /^$/,$d
547*906afcb8SAndy Fiddamanexec - 'a+1,$s/^#define IN_//
548*906afcb8SAndy Fiddamanexec - 'a+1,$s/[ 	].*//
549*906afcb8SAndy Fiddamanexec - 'a+1,$s/.*/	"&", IN_&,/
550*906afcb8SAndy Fiddamanexec - 'aa
551*906afcb8SAndy Fiddamanexec - static struct map ppinmap[] =
552*906afcb8SAndy Fiddamanexec - {
553*906afcb8SAndy Fiddamanexec - .
554*906afcb8SAndy Fiddamanexec - $a
555*906afcb8SAndy Fiddamanexec - };
556*906afcb8SAndy Fiddamanexec - .
557*906afcb8SAndy Fiddamanexec - w
558*906afcb8SAndy Fiddamanexec - q
559*906afcb8SAndy Fiddamanexec - !
560*906afcb8SAndy Fiddamanexec - if cmp 2>/dev/null -s 1.${COTEMP}.c ppdebug.h
561*906afcb8SAndy Fiddamanexec - then rm -f 1.${COTEMP}.c
562*906afcb8SAndy Fiddamanexec - else mv 1.${COTEMP}.c ppdebug.h
563*906afcb8SAndy Fiddamanexec - fi
564*906afcb8SAndy Fiddamandone ppdebug.h dontcare generated
565*906afcb8SAndy Fiddamanprev ppfsm.h implicit
566*906afcb8SAndy Fiddamanprev pplib.h implicit
567*906afcb8SAndy Fiddamandone pptrace.c
568*906afcb8SAndy Fiddamanmeta pptrace.o %.c>%.o pptrace.c pptrace
569*906afcb8SAndy Fiddamanprev pptrace.c
570*906afcb8SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c pptrace.c
571*906afcb8SAndy Fiddamandone pptrace.o generated
572*906afcb8SAndy Fiddamanexec - ${AR} rc libpp.a ppargs.o ppbuiltin.o ppcall.o ppcomment.o ppcontext.o ppcontrol.o ppcpp.o ppdata.o pperror.o ppexpr.o ppfsm.o ppincref.o ppinput.o ppkey.o pplex.o ppline.o ppmacref.o ppmisc.o ppop.o pppragma.o ppprintf.o ppproto.o ppsearch.o pptrace.o
573*906afcb8SAndy Fiddamanexec - (ranlib libpp.a) >/dev/null 2>&1 || true
574*906afcb8SAndy Fiddamandone libpp.a generated
575*906afcb8SAndy Fiddamandone pp virtual
576*906afcb8SAndy Fiddamanprev libpp.a archive
577*906afcb8SAndy Fiddamanmake ${INSTALLROOT}/lib
578*906afcb8SAndy Fiddamanexec - if silent test ! -d ${INSTALLROOT}/lib
579*906afcb8SAndy Fiddamanexec - then mkdir -p ${INSTALLROOT}/lib
580*906afcb8SAndy Fiddamanexec - fi
581*906afcb8SAndy Fiddamandone ${INSTALLROOT}/lib generated
582*906afcb8SAndy Fiddamanmake ${INSTALLROOT}/lib/libpp.a archive
583*906afcb8SAndy Fiddamanprev ${INSTALLROOT}/lib
584*906afcb8SAndy Fiddamanprev libpp.a archive
585*906afcb8SAndy Fiddamanexec - test '' = 'libpp.a' || ${STDCMP} 2>/dev/null -s libpp.a ${INSTALLROOT}/lib/libpp.a || { ${STDMV} ${INSTALLROOT}/lib/libpp.a ${INSTALLROOT}/lib/libpp.a.old 2>/dev/null || true; ${STDCP} libpp.a ${INSTALLROOT}/lib/libpp.a ;}
586*906afcb8SAndy Fiddamanexec - (ranlib ${INSTALLROOT}/lib/libpp.a) >/dev/null 2>&1 || true
587*906afcb8SAndy Fiddamandone ${INSTALLROOT}/lib/libpp.a generated
588*906afcb8SAndy Fiddamanmake ${INSTALLROOT}/man/man3
589*906afcb8SAndy Fiddamanexec - if silent test ! -d ${INSTALLROOT}/man/man3
590*906afcb8SAndy Fiddamanexec - then mkdir -p ${INSTALLROOT}/man/man3
591*906afcb8SAndy Fiddamanexec - fi
592*906afcb8SAndy Fiddamandone ${INSTALLROOT}/man/man3 generated
593*906afcb8SAndy Fiddamanmake ${INSTALLROOT}/man/man3/pp.3
594*906afcb8SAndy Fiddamanprev ${INSTALLROOT}/man/man3
595*906afcb8SAndy Fiddamanmake pp.3
596*906afcb8SAndy Fiddamandone pp.3
597*906afcb8SAndy Fiddamanexec - test '' = 'pp.3' || ${STDCMP} 2>/dev/null -s pp.3 ${INSTALLROOT}/man/man3/pp.3 || { ${STDMV} ${INSTALLROOT}/man/man3/pp.3 ${INSTALLROOT}/man/man3/pp.3.old 2>/dev/null || true; ${STDCP} pp.3 ${INSTALLROOT}/man/man3/pp.3 ;}
598*906afcb8SAndy Fiddamandone ${INSTALLROOT}/man/man3/pp.3 generated
599*906afcb8SAndy Fiddamanmake ${INSTALLROOT}/lib/lib
600*906afcb8SAndy Fiddamanexec - if silent test ! -d ${INSTALLROOT}/lib/lib
601*906afcb8SAndy Fiddamanexec - then mkdir -p ${INSTALLROOT}/lib/lib
602*906afcb8SAndy Fiddamanexec - fi
603*906afcb8SAndy Fiddamandone ${INSTALLROOT}/lib/lib generated
604*906afcb8SAndy Fiddamanmake ${INSTALLROOT}/lib/lib/pp
605*906afcb8SAndy Fiddamanprev ${INSTALLROOT}/lib/lib
606*906afcb8SAndy Fiddamanprev pp.req
607*906afcb8SAndy Fiddamanexec - test '' = 'pp.req' || ${STDCMP} 2>/dev/null -s pp.req ${INSTALLROOT}/lib/lib/pp || { ${STDMV} ${INSTALLROOT}/lib/lib/pp ${INSTALLROOT}/lib/lib/pp.old 2>/dev/null || true; ${STDCP} pp.req ${INSTALLROOT}/lib/lib/pp ;}
608*906afcb8SAndy Fiddamandone ${INSTALLROOT}/lib/lib/pp generated
609*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}
610*906afcb8SAndy Fiddamanexec - if silent test ! -d ${PACKAGE_ast_INCLUDE}
611*906afcb8SAndy Fiddamanexec - then mkdir -p ${PACKAGE_ast_INCLUDE}
612*906afcb8SAndy Fiddamanexec - fi
613*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE} generated
614*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/pp.h
615*906afcb8SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}
616*906afcb8SAndy Fiddamanprev pp.h
617*906afcb8SAndy Fiddamanexec - proto -p -s -l ${PACKAGEROOT}/lib/package/ast.lic '-o since=1986,author=gsf' pp.h > 1.${COTEMP}.x
618*906afcb8SAndy Fiddamanexec - if cmp 2>/dev/null -s ${PACKAGE_ast_INCLUDE}/pp.h 1.${COTEMP}.x
619*906afcb8SAndy Fiddamanexec - then rm -f 1.${COTEMP}.x
620*906afcb8SAndy Fiddamanexec - else mv 1.${COTEMP}.x ${PACKAGE_ast_INCLUDE}/pp.h
621*906afcb8SAndy Fiddamanexec - fi
622*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/pp.h generated
623*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ppkey.h
624*906afcb8SAndy Fiddamanprev ppkey.h
625*906afcb8SAndy Fiddamanexec - proto -p -s -l ${PACKAGEROOT}/lib/package/ast.lic '-o since=1986,author=gsf' ppkey.h > 1.${COTEMP}.x
626*906afcb8SAndy Fiddamanexec - if cmp 2>/dev/null -s ${PACKAGE_ast_INCLUDE}/ppkey.h 1.${COTEMP}.x
627*906afcb8SAndy Fiddamanexec - then rm -f 1.${COTEMP}.x
628*906afcb8SAndy Fiddamanexec - else mv 1.${COTEMP}.x ${PACKAGE_ast_INCLUDE}/ppkey.h
629*906afcb8SAndy Fiddamanexec - fi
630*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ppkey.h generated
631*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/pp.yacc
632*906afcb8SAndy Fiddamanmake pp.yacc
633*906afcb8SAndy Fiddamanmeta pp.yacc %.h>%.yacc pp.h pp
634*906afcb8SAndy Fiddamanprev pp.h
635*906afcb8SAndy Fiddamanprev pp.h
636*906afcb8SAndy Fiddamanexec - rm -f pp.yacc
637*906afcb8SAndy Fiddamanexec - {
638*906afcb8SAndy Fiddamanexec - cat pp.h
639*906afcb8SAndy Fiddamanexec - } > 1.${COTEMP}.c
640*906afcb8SAndy Fiddamanexec - ${STDED} ${STDEDFLAGS} 1.${COTEMP}.c <<'!'
641*906afcb8SAndy Fiddamanexec - g/^#define N_/m0
642*906afcb8SAndy Fiddamanexec - v/^#define [NT]_/d
643*906afcb8SAndy Fiddamanexec - 1,$s/^#define \(T_[A-Z0-9_]*\).*/&\
644*906afcb8SAndy Fiddamanexec - printf(" \1 %d", \1);/
645*906afcb8SAndy Fiddamanexec - g/^printf.*T_HEADER/d
646*906afcb8SAndy Fiddamanexec - g/^printf.*T_KEYWORD/d
647*906afcb8SAndy Fiddamanexec - g/^printf.*T_TOKCAT/d
648*906afcb8SAndy Fiddamanexec - g/^printf.*T_TOKEN/d
649*906afcb8SAndy Fiddamanexec - 0a
650*906afcb8SAndy Fiddamanexec - #include <stdio.h>
651*906afcb8SAndy Fiddamanexec - int
652*906afcb8SAndy Fiddamanexec - main(argc, argv)
653*906afcb8SAndy Fiddamanexec - int argc;
654*906afcb8SAndy Fiddamanexec - char** argv;
655*906afcb8SAndy Fiddamanexec - {
656*906afcb8SAndy Fiddamanexec - printf("%%token /*generated from pp.h*/");
657*906afcb8SAndy Fiddamanexec - .
658*906afcb8SAndy Fiddamanexec - $a
659*906afcb8SAndy Fiddamanexec - printf("\n");
660*906afcb8SAndy Fiddamanexec - return 0;
661*906afcb8SAndy Fiddamanexec - }
662*906afcb8SAndy Fiddamanexec - .
663*906afcb8SAndy Fiddamanexec - w
664*906afcb8SAndy Fiddamanexec - q
665*906afcb8SAndy Fiddamanexec - !
666*906afcb8SAndy Fiddamanexec - ${CC} -o ${COTEMP}.exe 1.${COTEMP}.c
667*906afcb8SAndy Fiddamanexec - ./${COTEMP}.exe > pp.yacc
668*906afcb8SAndy Fiddamanexec - rm -f 1.${COTEMP}.c ${COTEMP}.exe
669*906afcb8SAndy Fiddamandone pp.yacc generated
670*906afcb8SAndy Fiddamanexec - test '' = 'pp.yacc' || ${STDCMP} 2>/dev/null -s pp.yacc ${PACKAGE_ast_INCLUDE}/pp.yacc || { ${STDMV} ${PACKAGE_ast_INCLUDE}/pp.yacc ${PACKAGE_ast_INCLUDE}/pp.yacc.old 2>/dev/null || true; ${STDCP} pp.yacc ${PACKAGE_ast_INCLUDE}/pp.yacc ;}
671*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/pp.yacc generated
672*906afcb8SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ppkey.yacc
673*906afcb8SAndy Fiddamanmake ppkey.yacc
674*906afcb8SAndy Fiddamanmeta ppkey.yacc %.h>%.yacc ppkey.h ppkey
675*906afcb8SAndy Fiddamanprev ppkey.h
676*906afcb8SAndy Fiddamanprev pp.h
677*906afcb8SAndy Fiddamanexec - rm -f ppkey.yacc
678*906afcb8SAndy Fiddamanexec - {
679*906afcb8SAndy Fiddamanexec - sed -n -e '/^#define T_TOKEN/p' -e '/^#define N_/p' pp.h
680*906afcb8SAndy Fiddamanexec - cat ppkey.h
681*906afcb8SAndy Fiddamanexec - } > 1.${COTEMP}.c
682*906afcb8SAndy Fiddamanexec - ${STDED} ${STDEDFLAGS} 1.${COTEMP}.c <<'!'
683*906afcb8SAndy Fiddamanexec - g/^#define N_/m0
684*906afcb8SAndy Fiddamanexec - v/^#define [NT]_/d
685*906afcb8SAndy Fiddamanexec - 1,$s/^#define \(T_[A-Z0-9_]*\).*/&\
686*906afcb8SAndy Fiddamanexec - printf(" \1 %d", \1);/
687*906afcb8SAndy Fiddamanexec - g/^printf.*T_HEADER/d
688*906afcb8SAndy Fiddamanexec - g/^printf.*T_KEYWORD/d
689*906afcb8SAndy Fiddamanexec - g/^printf.*T_TOKCAT/d
690*906afcb8SAndy Fiddamanexec - g/^printf.*T_TOKEN/d
691*906afcb8SAndy Fiddamanexec - 0a
692*906afcb8SAndy Fiddamanexec - #include <stdio.h>
693*906afcb8SAndy Fiddamanexec - int
694*906afcb8SAndy Fiddamanexec - main(argc, argv)
695*906afcb8SAndy Fiddamanexec - int argc;
696*906afcb8SAndy Fiddamanexec - char** argv;
697*906afcb8SAndy Fiddamanexec - {
698*906afcb8SAndy Fiddamanexec - printf("%%token /*generated from ppkey.h*/");
699*906afcb8SAndy Fiddamanexec - .
700*906afcb8SAndy Fiddamanexec - $a
701*906afcb8SAndy Fiddamanexec - printf("\n");
702*906afcb8SAndy Fiddamanexec - return 0;
703*906afcb8SAndy Fiddamanexec - }
704*906afcb8SAndy Fiddamanexec - .
705*906afcb8SAndy Fiddamanexec - w
706*906afcb8SAndy Fiddamanexec - q
707*906afcb8SAndy Fiddamanexec - !
708*906afcb8SAndy Fiddamanexec - ${CC} -o ${COTEMP}.exe 1.${COTEMP}.c
709*906afcb8SAndy Fiddamanexec - ./${COTEMP}.exe > ppkey.yacc
710*906afcb8SAndy Fiddamanexec - rm -f 1.${COTEMP}.c ${COTEMP}.exe
711*906afcb8SAndy Fiddamandone ppkey.yacc generated
712*906afcb8SAndy Fiddamanexec - test '' = 'ppkey.yacc' || ${STDCMP} 2>/dev/null -s ppkey.yacc ${PACKAGE_ast_INCLUDE}/ppkey.yacc || { ${STDMV} ${PACKAGE_ast_INCLUDE}/ppkey.yacc ${PACKAGE_ast_INCLUDE}/ppkey.yacc.old 2>/dev/null || true; ${STDCP} ppkey.yacc ${PACKAGE_ast_INCLUDE}/ppkey.yacc ;}
713*906afcb8SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ppkey.yacc generated
714*906afcb8SAndy Fiddamanmake ${INSTALLROOT}/lib/probe/C/pp
715*906afcb8SAndy Fiddamanexec - if silent test ! -d ${INSTALLROOT}/lib/probe/C/pp
716*906afcb8SAndy Fiddamanexec - then mkdir -p ${INSTALLROOT}/lib/probe/C/pp
717*906afcb8SAndy Fiddamanexec - fi
718*906afcb8SAndy Fiddamandone ${INSTALLROOT}/lib/probe/C/pp generated
719*906afcb8SAndy Fiddamanmake ${INSTALLROOT}/lib/probe/C/pp/probe
720*906afcb8SAndy Fiddamanprev ${INSTALLROOT}/lib/probe/C/pp
721*906afcb8SAndy Fiddamanmake probe
722*906afcb8SAndy Fiddamanmeta probe %.sh>% probe.sh probe
723*906afcb8SAndy Fiddamanmake probe.sh
724*906afcb8SAndy Fiddamanmake ${INSTALLROOT}/lib/probe/C/probe
725*906afcb8SAndy Fiddamandone ${INSTALLROOT}/lib/probe/C/probe
726*906afcb8SAndy Fiddamanmake pp.probe
727*906afcb8SAndy Fiddamandone pp.probe
728*906afcb8SAndy Fiddamanexec - cat ${INSTALLROOT}/lib/probe/C/probe pp.probe > probe.sh
729*906afcb8SAndy Fiddamandone probe.sh generated
730*906afcb8SAndy Fiddamanexec - case static,port:$OPTIND:$RANDOM in
731*906afcb8SAndy Fiddamanexec - ?*:*:*|*::*|*:*:$RANDOM)
732*906afcb8SAndy Fiddamanexec - ;;
733*906afcb8SAndy Fiddamanexec - *) if ENV= LC_ALL=C x= $SHELL -nc '[[ a || b ]] && : ${list[level]}  !(pattern)' 2>/dev/null
734*906afcb8SAndy Fiddamanexec - then if grep '### .*archaic.* ###' >/dev/null
735*906afcb8SAndy Fiddamanexec - then : probe contains archaic constructs :
736*906afcb8SAndy Fiddamanexec - else ENV= LC_ALL=C $SHELL -n probe.sh
737*906afcb8SAndy Fiddamanexec - fi
738*906afcb8SAndy Fiddamanexec - fi
739*906afcb8SAndy Fiddamanexec - ;;
740*906afcb8SAndy Fiddamanexec - esac
741*906afcb8SAndy Fiddamanexec - case '${mam_cc_SHELLMAGIC}' in
742*906afcb8SAndy Fiddamanexec - "") case 0 in
743*906afcb8SAndy Fiddamanexec - 0) cp probe.sh probe
744*906afcb8SAndy Fiddamanexec - ;;
745*906afcb8SAndy Fiddamanexec - *) {
746*906afcb8SAndy Fiddamanexec - i=`(read x; echo $x) < probe.sh`
747*906afcb8SAndy Fiddamanexec - case $i in
748*906afcb8SAndy Fiddamanexec - '#!'*|*'||'*|':'*|'":"'*|"':'"*) echo "$i" ;;
749*906afcb8SAndy Fiddamanexec - esac
750*906afcb8SAndy Fiddamanexec - cat - probe.sh <<'!'
751*906afcb8SAndy Fiddamanexec -
752*906afcb8SAndy Fiddamanexec - !
753*906afcb8SAndy Fiddamanexec - } > probe
754*906afcb8SAndy Fiddamanexec - ;;
755*906afcb8SAndy Fiddamanexec - esac
756*906afcb8SAndy Fiddamanexec - ;;
757*906afcb8SAndy Fiddamanexec - *) cat - probe.sh > probe <<'!'
758*906afcb8SAndy Fiddamanexec - ${mam_cc_SHELLMAGIC}
759*906afcb8SAndy Fiddamanexec -
760*906afcb8SAndy Fiddamanexec - !
761*906afcb8SAndy Fiddamanexec - ;;
762*906afcb8SAndy Fiddamanexec - esac
763*906afcb8SAndy Fiddamanexec - silent test -w probe -a -x probe || chmod u+w,+x probe
764*906afcb8SAndy Fiddamandone probe generated
765*906afcb8SAndy Fiddamanexec - test '' = 'probe' || ${STDCMP} 2>/dev/null -s probe ${INSTALLROOT}/lib/probe/C/pp/probe || { ${STDMV} ${INSTALLROOT}/lib/probe/C/pp/probe ${INSTALLROOT}/lib/probe/C/pp/probe.old 2>/dev/null || true; ${STDCP} probe ${INSTALLROOT}/lib/probe/C/pp/probe ;}
766*906afcb8SAndy Fiddamandone ${INSTALLROOT}/lib/probe/C/pp/probe generated
767*906afcb8SAndy Fiddamanmake ${INSTALLROOT}/lib/probe/C/pp/pp.def
768*906afcb8SAndy Fiddamanmake pp.def
769*906afcb8SAndy Fiddamandone pp.def
770*906afcb8SAndy Fiddamanexec - test '' = 'pp.def' || ${STDCMP} 2>/dev/null -s pp.def ${INSTALLROOT}/lib/probe/C/pp/pp.def || { ${STDMV} ${INSTALLROOT}/lib/probe/C/pp/pp.def ${INSTALLROOT}/lib/probe/C/pp/pp.def.old 2>/dev/null || true; ${STDCP} pp.def ${INSTALLROOT}/lib/probe/C/pp/pp.def ;}
771*906afcb8SAndy Fiddamandone ${INSTALLROOT}/lib/probe/C/pp/pp.def generated
772*906afcb8SAndy Fiddamanmake ${INSTALLROOT}/lib/probe/C/pp/pp.key
773*906afcb8SAndy Fiddamanmake pp.key
774*906afcb8SAndy Fiddamandone pp.key
775*906afcb8SAndy Fiddamanexec - test '' = 'pp.key' || ${STDCMP} 2>/dev/null -s pp.key ${INSTALLROOT}/lib/probe/C/pp/pp.key || { ${STDMV} ${INSTALLROOT}/lib/probe/C/pp/pp.key ${INSTALLROOT}/lib/probe/C/pp/pp.key.old 2>/dev/null || true; ${STDCP} pp.key ${INSTALLROOT}/lib/probe/C/pp/pp.key ;}
776*906afcb8SAndy Fiddamandone ${INSTALLROOT}/lib/probe/C/pp/pp.key generated
777*906afcb8SAndy Fiddamanmake ${INSTALLROOT}/lib/probe/C/pp/ppsym
778*906afcb8SAndy Fiddamanprev ppsym
779*906afcb8SAndy Fiddamanexec - test '' = 'ppsym' || ${STDCMP} 2>/dev/null -s ppsym ${INSTALLROOT}/lib/probe/C/pp/ppsym || { ${STDMV} ${INSTALLROOT}/lib/probe/C/pp/ppsym ${INSTALLROOT}/lib/probe/C/pp/ppsym.old 2>/dev/null || true; ${STDCP} ppsym ${INSTALLROOT}/lib/probe/C/pp/ppsym ;}
780*906afcb8SAndy Fiddamandone ${INSTALLROOT}/lib/probe/C/pp/ppsym generated
781*906afcb8SAndy Fiddamanmake ${INSTALLROOT}/lib/probe/C/pp/probe.ini
782*906afcb8SAndy Fiddamanmake probe.ini
783*906afcb8SAndy Fiddamanmake probe.win32
784*906afcb8SAndy Fiddamandone probe.win32
785*906afcb8SAndy Fiddamanexec - t=${mam_cc_HOSTTYPE}
786*906afcb8SAndy Fiddamanexec - ifs=$IFS
787*906afcb8SAndy Fiddamanexec - IFS=.
788*906afcb8SAndy Fiddamanexec - set x $t
789*906afcb8SAndy Fiddamanexec - IFS=$ifs
790*906afcb8SAndy Fiddamanexec - t=$2
791*906afcb8SAndy Fiddamanexec - set x probe.win32
792*906afcb8SAndy Fiddamanexec - while :
793*906afcb8SAndy Fiddamanexec - do shift
794*906afcb8SAndy Fiddamanexec - case $# in
795*906afcb8SAndy Fiddamanexec - 0) break ;;
796*906afcb8SAndy Fiddamanexec - esac
797*906afcb8SAndy Fiddamanexec - case $1 in
798*906afcb8SAndy Fiddamanexec - *probe.$t)
799*906afcb8SAndy Fiddamanexec - break
800*906afcb8SAndy Fiddamanexec - esac
801*906afcb8SAndy Fiddamanexec - done
802*906afcb8SAndy Fiddamanexec - case $1 in
803*906afcb8SAndy Fiddamanexec - ?*) cmp -s $1 probe.ini || cp $1 probe.ini ;;
804*906afcb8SAndy Fiddamanexec - *) : > probe.ini
805*906afcb8SAndy Fiddamanexec - esac
806*906afcb8SAndy Fiddamandone probe.ini generated
807*906afcb8SAndy Fiddamanexec - test '' = 'probe.ini' || ${STDCMP} 2>/dev/null -s probe.ini ${INSTALLROOT}/lib/probe/C/pp/probe.ini || { ${STDMV} ${INSTALLROOT}/lib/probe/C/pp/probe.ini ${INSTALLROOT}/lib/probe/C/pp/probe.ini.old 2>/dev/null || true; ${STDCP} probe.ini ${INSTALLROOT}/lib/probe/C/pp/probe.ini ;}
808*906afcb8SAndy Fiddamandone ${INSTALLROOT}/lib/probe/C/pp/probe.ini generated
809*906afcb8SAndy Fiddamandone install virtual
810*906afcb8SAndy Fiddamanmake test
811*906afcb8SAndy Fiddamandone test dontcare virtual
812