xref: /titanic_51/usr/src/contrib/ast/src/lib/libsum/Mamfile (revision b4dd7d09880f14016feece03929a224eca1cf39a)
1*b4dd7d09SAndy Fiddamaninfo mam static 00000 1994-07-17 make (AT&T Research) 5.7 2012-06-20
2*b4dd7d09SAndy Fiddamansetv INSTALLROOT ../../..
3*b4dd7d09SAndy Fiddamansetv PACKAGE_ast_INCLUDE ${INSTALLROOT}/include/ast
4*b4dd7d09SAndy Fiddamansetv PACKAGE_ast_LIB ${INSTALLROOT}/lib
5*b4dd7d09SAndy Fiddamansetv PACKAGEROOT ../../../../..
6*b4dd7d09SAndy Fiddamansetv AR ${mam_cc_AR} ${mam_cc_AR_ARFLAGS}
7*b4dd7d09SAndy Fiddamansetv ARFLAGS rc
8*b4dd7d09SAndy Fiddamansetv AS as
9*b4dd7d09SAndy Fiddamansetv ASFLAGS
10*b4dd7d09SAndy Fiddamansetv CC cc
11*b4dd7d09SAndy Fiddamansetv mam_cc_FLAGS ${mam_cc_PIC}
12*b4dd7d09SAndy Fiddamansetv CCFLAGS ${-debug-symbols?1?${mam_cc_DEBUG} -D_BLD_DEBUG?${mam_cc_OPTIMIZE}?}
13*b4dd7d09SAndy Fiddamansetv CCLDFLAGS ${-strip-symbols?1?${mam_cc_LD_STRIP}??}
14*b4dd7d09SAndy Fiddamansetv COTEMP $$
15*b4dd7d09SAndy Fiddamansetv CPIO cpio
16*b4dd7d09SAndy Fiddamansetv CPIOFLAGS
17*b4dd7d09SAndy Fiddamansetv CPP "${CC} -E"
18*b4dd7d09SAndy Fiddamansetv F77 f77
19*b4dd7d09SAndy Fiddamansetv HOSTCC ${CC}
20*b4dd7d09SAndy Fiddamansetv IGNORE
21*b4dd7d09SAndy Fiddamansetv LD ld
22*b4dd7d09SAndy Fiddamansetv LDFLAGS
23*b4dd7d09SAndy Fiddamansetv LEX lex
24*b4dd7d09SAndy Fiddamansetv LEXFLAGS
25*b4dd7d09SAndy Fiddamansetv LPR lpr
26*b4dd7d09SAndy Fiddamansetv LPRFLAGS
27*b4dd7d09SAndy Fiddamansetv M4FLAGS
28*b4dd7d09SAndy Fiddamansetv NMAKE nmake
29*b4dd7d09SAndy Fiddamansetv NMAKEFLAGS
30*b4dd7d09SAndy Fiddamansetv PR pr
31*b4dd7d09SAndy Fiddamansetv PRFLAGS
32*b4dd7d09SAndy Fiddamansetv SHELL /bin/sh
33*b4dd7d09SAndy Fiddamansetv SILENT
34*b4dd7d09SAndy Fiddamansetv TAR tar
35*b4dd7d09SAndy Fiddamansetv YACC yacc
36*b4dd7d09SAndy Fiddamansetv YACCFLAGS -d
37*b4dd7d09SAndy Fiddamanmake ${PACKAGEROOT}/lib/package/ast.lic
38*b4dd7d09SAndy Fiddamandone ${PACKAGEROOT}/lib/package/ast.lic
39*b4dd7d09SAndy Fiddamanmake install
40*b4dd7d09SAndy Fiddamanmake sum
41*b4dd7d09SAndy Fiddamanmake libsum.a archive
42*b4dd7d09SAndy Fiddamanmake sum.req
43*b4dd7d09SAndy Fiddamanexec - set -
44*b4dd7d09SAndy Fiddamanexec - echo 'int main(){return 0;}' > 1.${COTEMP}.c
45*b4dd7d09SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -c 1.${COTEMP}.c &&
46*b4dd7d09SAndy Fiddamanexec - x=`${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} -o 1.${COTEMP}.x 1.${COTEMP}.o -l'*' 2>&1 | sed -e 's/[][()+@?]/#/g' || :` &&
47*b4dd7d09SAndy Fiddamanexec - {
48*b4dd7d09SAndy Fiddamanexec - case "" in
49*b4dd7d09SAndy Fiddamanexec - *?) echo " " ;;
50*b4dd7d09SAndy Fiddamanexec - esac
51*b4dd7d09SAndy Fiddamanexec - for i in sum md ast
52*b4dd7d09SAndy Fiddamanexec - do case $i in
53*b4dd7d09SAndy Fiddamanexec - "sum"|sum)
54*b4dd7d09SAndy Fiddamanexec - ;;
55*b4dd7d09SAndy Fiddamanexec - *) if test -f ${INSTALLROOT}/lib/lib/$i
56*b4dd7d09SAndy Fiddamanexec - then y=`cat ${INSTALLROOT}/lib/lib/$i`
57*b4dd7d09SAndy Fiddamanexec - case $y in
58*b4dd7d09SAndy Fiddamanexec - *-?*) echo "" $y ;;
59*b4dd7d09SAndy Fiddamanexec - esac
60*b4dd7d09SAndy Fiddamanexec - continue
61*b4dd7d09SAndy Fiddamanexec - elif test ! -f ${INSTALLROOT}/lib/lib$i.a
62*b4dd7d09SAndy Fiddamanexec - then case `{ ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -L${INSTALLROOT}/lib ${LDFLAGS} -o 1.${COTEMP}.x 1.${COTEMP}.o -l$i 2>&1 || echo '' $x ;} | sed -e 's/[][()+@?]/#/g' || :` in
63*b4dd7d09SAndy 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
64*b4dd7d09SAndy Fiddamanexec - *$x*) continue ;;
65*b4dd7d09SAndy Fiddamanexec - esac
66*b4dd7d09SAndy Fiddamanexec - ;;
67*b4dd7d09SAndy Fiddamanexec - esac
68*b4dd7d09SAndy Fiddamanexec - fi
69*b4dd7d09SAndy Fiddamanexec - ;;
70*b4dd7d09SAndy Fiddamanexec - esac
71*b4dd7d09SAndy Fiddamanexec - echo " -l$i"
72*b4dd7d09SAndy Fiddamanexec - done
73*b4dd7d09SAndy Fiddamanexec - } > sum.req
74*b4dd7d09SAndy Fiddamanexec - rm -f 1.${COTEMP}.*
75*b4dd7d09SAndy Fiddamandone sum.req generated
76*b4dd7d09SAndy Fiddamanmake sumlib.o
77*b4dd7d09SAndy Fiddamanmake sumlib.c
78*b4dd7d09SAndy Fiddamanmake sum-sha2.c implicit
79*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/endian.h implicit
80*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/bytesex.h implicit
81*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
82*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_map.h implicit
83*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_map.h dontcare
84*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/endian.h implicit
85*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_common.h dontcare
86*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/bytesex.h dontcare
87*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/endian.h dontcare
88*b4dd7d09SAndy Fiddamandone sum-sha2.c dontcare
89*b4dd7d09SAndy Fiddamanmake sum-sha1.c implicit
90*b4dd7d09SAndy Fiddamandone sum-sha1.c dontcare
91*b4dd7d09SAndy Fiddamanmake sum-md5.c implicit
92*b4dd7d09SAndy Fiddamandone sum-md5.c dontcare
93*b4dd7d09SAndy Fiddamanmake sum-lmd.c implicit
94*b4dd7d09SAndy Fiddamanmake sha2.h implicit
95*b4dd7d09SAndy Fiddamandone sha2.h dontcare virtual
96*b4dd7d09SAndy Fiddamanmake sha1.h implicit
97*b4dd7d09SAndy Fiddamandone sha1.h dontcare virtual
98*b4dd7d09SAndy Fiddamanmake md5.h implicit
99*b4dd7d09SAndy Fiddamandone md5.h dontcare virtual
100*b4dd7d09SAndy Fiddamanmake md4.h implicit
101*b4dd7d09SAndy Fiddamandone md4.h dontcare virtual
102*b4dd7d09SAndy Fiddamandone sum-lmd.c dontcare
103*b4dd7d09SAndy Fiddamanmake sum-prng.c implicit
104*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/fnv.h implicit
105*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
106*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
107*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/prototyped.h dontcare
108*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/fnv.h
109*b4dd7d09SAndy Fiddamandone sum-prng.c
110*b4dd7d09SAndy Fiddamanmake sum-crc.c implicit
111*b4dd7d09SAndy Fiddamandone sum-crc.c
112*b4dd7d09SAndy Fiddamanmake sum-bsd.c implicit
113*b4dd7d09SAndy Fiddamandone sum-bsd.c
114*b4dd7d09SAndy Fiddamanmake sum-ast4.c implicit
115*b4dd7d09SAndy Fiddamandone sum-ast4.c
116*b4dd7d09SAndy Fiddamanmake sum-att.c implicit
117*b4dd7d09SAndy Fiddamandone sum-att.c
118*b4dd7d09SAndy Fiddamanmake FEATURE/sum implicit
119*b4dd7d09SAndy Fiddamanmeta FEATURE/sum features/%>FEATURE/% features/sum sum
120*b4dd7d09SAndy Fiddamanmake features/sum
121*b4dd7d09SAndy Fiddamandone features/sum
122*b4dd7d09SAndy Fiddamanbind -last
123*b4dd7d09SAndy Fiddamanexec - iffe -v -c '${CC} ${mam_cc_FLAGS} ${CCFLAGS}   ${LDFLAGS} ' ref ${mam_cc_L+-L${INSTALLROOT}/lib} -I${PACKAGE_ast_INCLUDE} -I${INSTALLROOT}/include ${mam_libast} : run features/sum
124*b4dd7d09SAndy Fiddamandone FEATURE/sum generated
125*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/hashpart.h implicit
126*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
127*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/hashpart.h
128*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/swap.h implicit
129*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
130*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
131*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/swap.h
132*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/endian.h implicit
133*b4dd7d09SAndy Fiddamanmake sum.h implicit
134*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast.h implicit
135*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_api.h implicit
136*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_api.h dontcare
137*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/vmalloc.h implicit
138*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
139*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
140*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/regex.h implicit
141*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_api.h implicit
142*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_wchar.h implicit
143*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/wctype.h implicit
144*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_wctype.h implicit
145*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/endian.h implicit
146*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/wchar.h implicit
147*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_wchar.h implicit
148*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/wchar.h dontcare
149*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_wctype.h dontcare
150*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/wctype.h dontcare
151*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/stdio.h implicit
152*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_stdio.h implicit
153*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/sfio_s.h implicit
154*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/sfio_s.h dontcare
155*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
156*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_stdio.h dontcare
157*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/stdio.h dontcare
158*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/stdio.h implicit
159*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
160*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_wchar.h dontcare
161*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
162*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
163*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/regex.h dontcare
164*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/getopt.h implicit
165*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_getopt.h implicit
166*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
167*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_getopt.h dontcare
168*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
169*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/getopt.h dontcare
170*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_map.h implicit
171*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_botch.h implicit
172*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_botch.h dontcare
173*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_limits.h implicit
174*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_limits.h dontcare
175*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_fcntl.h implicit
176*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_fs.h implicit
177*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_fs.h dontcare
178*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_fcntl.h dontcare
179*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_getopt.h implicit
180*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_sys.h implicit
181*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/getopt.h implicit
182*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/endian.h implicit
183*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/endian.h implicit
184*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_sys.h dontcare
185*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/ast_lib.h implicit
186*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_lib.h dontcare
187*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
188*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
189*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast_std.h dontcare
190*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/vmalloc.h dontcare
191*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/sfio.h implicit
192*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/sfio_s.h implicit
193*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
194*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
195*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/sfio.h dontcare
196*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
197*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
198*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/ast.h dontcare
199*b4dd7d09SAndy Fiddamandone sum.h
200*b4dd7d09SAndy Fiddamandone sumlib.c
201*b4dd7d09SAndy Fiddamanmeta sumlib.o %.c>%.o sumlib.c sumlib
202*b4dd7d09SAndy Fiddamanprev sumlib.c
203*b4dd7d09SAndy Fiddamanexec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c sumlib.c
204*b4dd7d09SAndy Fiddamandone sumlib.o generated
205*b4dd7d09SAndy Fiddamanexec - ${AR} rc libsum.a sumlib.o
206*b4dd7d09SAndy Fiddamanexec - (ranlib libsum.a) >/dev/null 2>&1 || true
207*b4dd7d09SAndy Fiddamandone libsum.a generated
208*b4dd7d09SAndy Fiddamandone sum virtual
209*b4dd7d09SAndy Fiddamanprev libsum.a archive
210*b4dd7d09SAndy Fiddamanmake ${INSTALLROOT}/lib
211*b4dd7d09SAndy Fiddamanexec - if silent test ! -d ${INSTALLROOT}/lib
212*b4dd7d09SAndy Fiddamanexec - then mkdir -p ${INSTALLROOT}/lib
213*b4dd7d09SAndy Fiddamanexec - fi
214*b4dd7d09SAndy Fiddamandone ${INSTALLROOT}/lib generated
215*b4dd7d09SAndy Fiddamanmake ${INSTALLROOT}/lib/libsum.a archive
216*b4dd7d09SAndy Fiddamanprev ${INSTALLROOT}/lib
217*b4dd7d09SAndy Fiddamanprev libsum.a archive
218*b4dd7d09SAndy Fiddamanexec - test '' = 'libsum.a' || ${STDCMP} 2>/dev/null -s libsum.a ${INSTALLROOT}/lib/libsum.a || { ${STDMV} ${INSTALLROOT}/lib/libsum.a ${INSTALLROOT}/lib/libsum.a.old 2>/dev/null || true; ${STDCP} libsum.a ${INSTALLROOT}/lib/libsum.a ;}
219*b4dd7d09SAndy Fiddamanexec - (ranlib ${INSTALLROOT}/lib/libsum.a) >/dev/null 2>&1 || true
220*b4dd7d09SAndy Fiddamandone ${INSTALLROOT}/lib/libsum.a generated
221*b4dd7d09SAndy Fiddamanmake ${INSTALLROOT}/lib/lib
222*b4dd7d09SAndy Fiddamanexec - if silent test ! -d ${INSTALLROOT}/lib/lib
223*b4dd7d09SAndy Fiddamanexec - then mkdir -p ${INSTALLROOT}/lib/lib
224*b4dd7d09SAndy Fiddamanexec - fi
225*b4dd7d09SAndy Fiddamandone ${INSTALLROOT}/lib/lib generated
226*b4dd7d09SAndy Fiddamanmake ${INSTALLROOT}/lib/lib/sum
227*b4dd7d09SAndy Fiddamanprev ${INSTALLROOT}/lib/lib
228*b4dd7d09SAndy Fiddamanprev sum.req
229*b4dd7d09SAndy Fiddamanexec - test '' = 'sum.req' || ${STDCMP} 2>/dev/null -s sum.req ${INSTALLROOT}/lib/lib/sum || { ${STDMV} ${INSTALLROOT}/lib/lib/sum ${INSTALLROOT}/lib/lib/sum.old 2>/dev/null || true; ${STDCP} sum.req ${INSTALLROOT}/lib/lib/sum ;}
230*b4dd7d09SAndy Fiddamandone ${INSTALLROOT}/lib/lib/sum generated
231*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}
232*b4dd7d09SAndy Fiddamanexec - if silent test ! -d ${PACKAGE_ast_INCLUDE}
233*b4dd7d09SAndy Fiddamanexec - then mkdir -p ${PACKAGE_ast_INCLUDE}
234*b4dd7d09SAndy Fiddamanexec - fi
235*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE} generated
236*b4dd7d09SAndy Fiddamanmake ${PACKAGE_ast_INCLUDE}/sum.h
237*b4dd7d09SAndy Fiddamanprev ${PACKAGE_ast_INCLUDE}
238*b4dd7d09SAndy Fiddamanprev sum.h
239*b4dd7d09SAndy Fiddamanexec - proto -p -s -l ${PACKAGEROOT}/lib/package/ast.lic '-o since=1996,author=gsf' sum.h > 1.${COTEMP}.x
240*b4dd7d09SAndy Fiddamanexec - if cmp 2>/dev/null -s ${PACKAGE_ast_INCLUDE}/sum.h 1.${COTEMP}.x
241*b4dd7d09SAndy Fiddamanexec - then rm -f 1.${COTEMP}.x
242*b4dd7d09SAndy Fiddamanexec - else mv 1.${COTEMP}.x ${PACKAGE_ast_INCLUDE}/sum.h
243*b4dd7d09SAndy Fiddamanexec - fi
244*b4dd7d09SAndy Fiddamandone ${PACKAGE_ast_INCLUDE}/sum.h generated
245*b4dd7d09SAndy Fiddamandone install virtual
246*b4dd7d09SAndy Fiddamanmake test
247*b4dd7d09SAndy Fiddamandone test dontcare virtual
248