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