Mamfile revision 3f54fd611f536639ec30dd53c48e5ec1897cc7d9
info mam static 00000 1994-07-17 make (AT&T Research) 5.7 2012-06-20
setv INSTALLROOT ../../..
setv PACKAGE_ast_INCLUDE ${INSTALLROOT}/include/ast
setv PACKAGE_ast_LIB ${INSTALLROOT}/lib
setv PACKAGEROOT ../../../../..
setv AR ${mam_cc_AR} ${mam_cc_AR_ARFLAGS}
setv ARFLAGS rc
setv AS as
setv ASFLAGS
setv CC cc
setv mam_cc_FLAGS ${mam_cc_DLL}
setv CCFLAGS ${-debug-symbols?1?${mam_cc_DEBUG} -D_BLD_DEBUG?${mam_cc_OPTIMIZE}?}
setv CCLDFLAGS ${-strip-symbols?1?${mam_cc_LD_STRIP}??}
setv COTEMP $$
setv CPIO cpio
setv CPIOFLAGS
setv CPP "${CC} -E"
setv F77 f77
setv HOSTCC ${CC}
setv IGNORE
setv LD ld
setv LDFLAGS
setv LEX lex
setv LEXFLAGS
setv LPR lpr
setv LPRFLAGS
setv M4FLAGS
setv NMAKE nmake
setv NMAKEFLAGS
setv PR pr
setv PRFLAGS
setv SHELL /bin/sh
setv SILENT
setv TAR tar
setv YACC yacc
setv YACCFLAGS -d
make ${PACKAGEROOT}/lib/package/zlib.lic
done ${PACKAGEROOT}/lib/package/zlib.lic
make install
make z
make libz.a archive
make z.req
exec - set -
exec - echo 'int main(){return 0;}' > 1.${COTEMP}.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -c 1.${COTEMP}.c &&
exec - x=`${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} -o 1.${COTEMP}.x 1.${COTEMP}.o -l'*' 2>&1 | sed -e 's/[][()+@?]/#/g' || :` &&
exec - {
exec - case "" in
exec - *?) echo " " ;;
exec - esac
exec - for i in z ast
exec - do case $i in
exec - "z"|z)
exec - ;;
exec - *) if test -f ${INSTALLROOT}/lib/lib/$i
exec - then y=`cat ${INSTALLROOT}/lib/lib/$i`
exec - case $y in
exec - *-?*) echo "" $y ;;
exec - esac
exec - continue
exec - elif test ! -f ${INSTALLROOT}/lib/lib$i.a
exec - 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
exec - *$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
exec - *$x*) continue ;;
exec - esac
exec - ;;
exec - esac
exec - fi
exec - ;;
exec - esac
exec - echo " -l$i"
exec - done
exec - } > z.req
exec - rm -f 1.${COTEMP}.*
done z.req generated
make adler32.o
make adler32.c
make zlib.h implicit
make zconf.h implicit
make unixio.h implicit
done unixio.h dontcare virtual
make ${PACKAGE_ast_INCLUDE}/getopt.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_getopt.h implicit
make ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/prototyped.h dontcare
done ${PACKAGE_ast_INCLUDE}/ast_getopt.h dontcare
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/getopt.h dontcare
make ${PACKAGE_ast_INCLUDE}/endian.h implicit
make ${PACKAGE_ast_INCLUDE}/bytesex.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_map.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_map.h dontcare
done ${PACKAGE_ast_INCLUDE}/ast_common.h dontcare
done ${PACKAGE_ast_INCLUDE}/bytesex.h dontcare
done ${PACKAGE_ast_INCLUDE}/endian.h dontcare
make windows.h implicit
done windows.h dontcare virtual
make ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
make ${PACKAGE_ast_INCLUDE}/regex.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_api.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_api.h dontcare
make ${PACKAGE_ast_INCLUDE}/ast_wchar.h implicit
make ${PACKAGE_ast_INCLUDE}/wctype.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_wctype.h implicit
prev ${PACKAGE_ast_INCLUDE}/endian.h implicit
make ${PACKAGE_ast_INCLUDE}/wchar.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast_wchar.h implicit
done ${PACKAGE_ast_INCLUDE}/wchar.h dontcare
done ${PACKAGE_ast_INCLUDE}/ast_wctype.h dontcare
done ${PACKAGE_ast_INCLUDE}/wctype.h dontcare
make ${PACKAGE_ast_INCLUDE}/stdio.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_stdio.h implicit
make ${PACKAGE_ast_INCLUDE}/sfio_s.h implicit
done ${PACKAGE_ast_INCLUDE}/sfio_s.h dontcare
prev ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_stdio.h dontcare
done ${PACKAGE_ast_INCLUDE}/stdio.h dontcare
prev ${PACKAGE_ast_INCLUDE}/stdio.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_wchar.h dontcare
prev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/regex.h dontcare
prev ${PACKAGE_ast_INCLUDE}/getopt.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast_map.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_botch.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_botch.h dontcare
make ${PACKAGE_ast_INCLUDE}/ast_limits.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_limits.h dontcare
make ${PACKAGE_ast_INCLUDE}/ast_fcntl.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_fs.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_fs.h dontcare
done ${PACKAGE_ast_INCLUDE}/ast_fcntl.h dontcare
prev ${PACKAGE_ast_INCLUDE}/ast_getopt.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_sys.h implicit
prev ${PACKAGE_ast_INCLUDE}/endian.h implicit
prev ${PACKAGE_ast_INCLUDE}/endian.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_sys.h dontcare
make ${PACKAGE_ast_INCLUDE}/ast_lib.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_lib.h dontcare
prev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_std.h dontcare
done zconf.h dontcare
done zlib.h
done adler32.c
meta adler32.o %.c>%.o adler32.c adler32
prev adler32.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -D_BLD_z -c adler32.c
done adler32.o generated
make compress.o
make compress.c
prev zlib.h implicit
done compress.c
meta compress.o %.c>%.o compress.c compress
prev compress.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -D_BLD_z -c compress.c
done compress.o generated
make crc32.o
make crc32.c
make crc32.h implicit
done crc32.h dontcare
make zutil.h implicit
prev ${PACKAGE_ast_INCLUDE}/stdio.h implicit
make unix.h implicit
done unix.h dontcare virtual
prev ${PACKAGE_ast_INCLUDE}/stdio.h implicit
make alloc.h implicit
done alloc.h dontcare virtual
prev zlib.h implicit
done zutil.h
prev ${PACKAGE_ast_INCLUDE}/stdio.h implicit
done crc32.c
meta crc32.o %.c>%.o crc32.c crc32
prev crc32.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -D_BLD_z -c crc32.c
done crc32.o generated
make deflate.o
make deflate.c
make deflate.h implicit
prev zutil.h implicit
done deflate.h
done deflate.c
meta deflate.o %.c>%.o deflate.c deflate
prev deflate.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -D_BLD_z -c deflate.c
done deflate.o generated
make gzio.o
make gzio.c
prev zutil.h implicit
prev ${PACKAGE_ast_INCLUDE}/stdio.h implicit
make ${PACKAGE_ast_INCLUDE}/ast.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast_api.h implicit
make ${PACKAGE_ast_INCLUDE}/vmalloc.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
done ${PACKAGE_ast_INCLUDE}/vmalloc.h dontcare
make ${PACKAGE_ast_INCLUDE}/sfio.h implicit
prev ${PACKAGE_ast_INCLUDE}/sfio_s.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
done ${PACKAGE_ast_INCLUDE}/sfio.h dontcare
prev ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/ast.h dontcare
done gzio.c
meta gzio.o %.c>%.o gzio.c gzio
prev gzio.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -D_BLD_z -c gzio.c
done gzio.o generated
make infback.o
make infback.c
make inffixed.h implicit
done inffixed.h dontcare
make inffast.h implicit
done inffast.h
make inflate.h implicit
done inflate.h
make inftrees.h implicit
done inftrees.h
prev zutil.h implicit
done infback.c
meta infback.o %.c>%.o infback.c infback
prev infback.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -D_BLD_z -c infback.c
done infback.o generated
make inffast.o
make inffast.c
prev inffast.h implicit
prev inflate.h implicit
prev inftrees.h implicit
prev zutil.h implicit
done inffast.c
meta inffast.o %.c>%.o inffast.c inffast
prev inffast.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -D_BLD_z -c inffast.c
done inffast.o generated
make inflate.o
make inflate.c
prev ${PACKAGE_ast_INCLUDE}/stdio.h implicit
prev inffixed.h implicit
prev inffast.h implicit
prev inflate.h implicit
prev inftrees.h implicit
prev zutil.h implicit
done inflate.c
meta inflate.o %.c>%.o inflate.c inflate
prev inflate.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -D_BLD_z -c inflate.c
done inflate.o generated
make inftrees.o
make inftrees.c
prev inftrees.h implicit
prev zutil.h implicit
done inftrees.c
meta inftrees.o %.c>%.o inftrees.c inftrees
prev inftrees.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -D_BLD_z -c inftrees.c
done inftrees.o generated
make trees.o
make trees.c
prev ${PACKAGE_ast_INCLUDE}/stdio.h implicit
make trees.h implicit
done trees.h dontcare
prev ${PACKAGE_ast_INCLUDE}/endian.h implicit
prev deflate.h implicit
done trees.c
meta trees.o %.c>%.o trees.c trees
prev trees.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -D_BLD_z -c trees.c
done trees.o generated
make uncompr.o
make uncompr.c
prev zlib.h implicit
done uncompr.c
meta uncompr.o %.c>%.o uncompr.c uncompr
prev uncompr.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -D_BLD_z -c uncompr.c
done uncompr.o generated
make zutil.o
make zutil.c
prev zutil.h implicit
done zutil.c
meta zutil.o %.c>%.o zutil.c zutil
prev zutil.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -D_BLD_z -c zutil.c
done zutil.o generated
make sfdcgzip.o
make sfdcgzip.c
make sfdcgzip.h implicit
make ${PACKAGE_ast_INCLUDE}/sfdisc.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/sfdisc.h dontcare
done sfdcgzip.h
prev zlib.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast.h implicit
make ${PACKAGE_ast_INCLUDE}/sfio_t.h implicit
prev ${PACKAGE_ast_INCLUDE}/sfio.h implicit
done ${PACKAGE_ast_INCLUDE}/sfio_t.h
done sfdcgzip.c
meta sfdcgzip.o %.c>%.o sfdcgzip.c sfdcgzip
prev sfdcgzip.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_BLD_z -D_PACKAGE_ast -c sfdcgzip.c
done sfdcgzip.o generated
make sfdclzw.o
make sfdclzw.c
prev sfdcgzip.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast.h implicit
prev ${PACKAGE_ast_INCLUDE}/sfio_t.h implicit
done sfdclzw.c
meta sfdclzw.o %.c>%.o sfdclzw.c sfdclzw
prev sfdclzw.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_BLD_z -D_PACKAGE_ast -c sfdclzw.c
done sfdclzw.o generated
exec - ${AR} rc libz.a adler32.o compress.o crc32.o deflate.o gzio.o infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o sfdcgzip.o sfdclzw.o
exec - (ranlib libz.a) >/dev/null 2>&1 || true
done libz.a generated
done z virtual
prev libz.a archive
make ${INSTALLROOT}/lib
exec - if silent test ! -d ${INSTALLROOT}/lib
exec - then mkdir -p ${INSTALLROOT}/lib
exec - fi
done ${INSTALLROOT}/lib generated
make ${INSTALLROOT}/lib/libz.a archive
prev ${INSTALLROOT}/lib
prev libz.a archive
exec - test '' = 'libz.a' || ${STDCMP} 2>/dev/null -s libz.a ${INSTALLROOT}/lib/libz.a || { ${STDMV} ${INSTALLROOT}/lib/libz.a ${INSTALLROOT}/lib/libz.a.old 2>/dev/null || true; ${STDCP} libz.a ${INSTALLROOT}/lib/libz.a ;}
exec - (ranlib ${INSTALLROOT}/lib/libz.a) >/dev/null 2>&1 || true
done ${INSTALLROOT}/lib/libz.a generated
make ${INSTALLROOT}/man/man3
exec - if silent test ! -d ${INSTALLROOT}/man/man3
exec - then mkdir -p ${INSTALLROOT}/man/man3
exec - fi
done ${INSTALLROOT}/man/man3 generated
make ${INSTALLROOT}/man/man3/zlib.3
prev ${INSTALLROOT}/man/man3
make zlib.3
done zlib.3
exec - test '' = 'zlib.3' || ${STDCMP} 2>/dev/null -s zlib.3 ${INSTALLROOT}/man/man3/zlib.3 || { ${STDMV} ${INSTALLROOT}/man/man3/zlib.3 ${INSTALLROOT}/man/man3/zlib.3.old 2>/dev/null || true; ${STDCP} zlib.3 ${INSTALLROOT}/man/man3/zlib.3 ;}
done ${INSTALLROOT}/man/man3/zlib.3 generated
make ${INSTALLROOT}/lib/lib
exec - if silent test ! -d ${INSTALLROOT}/lib/lib
exec - then mkdir -p ${INSTALLROOT}/lib/lib
exec - fi
done ${INSTALLROOT}/lib/lib generated
make ${INSTALLROOT}/lib/lib/z
prev ${INSTALLROOT}/lib/lib
prev z.req
exec - test '' = 'z.req' || ${STDCMP} 2>/dev/null -s z.req ${INSTALLROOT}/lib/lib/z || { ${STDMV} ${INSTALLROOT}/lib/lib/z ${INSTALLROOT}/lib/lib/z.old 2>/dev/null || true; ${STDCP} z.req ${INSTALLROOT}/lib/lib/z ;}
done ${INSTALLROOT}/lib/lib/z generated
make ${PACKAGE_ast_INCLUDE}
exec - if silent test ! -d ${PACKAGE_ast_INCLUDE}
exec - then mkdir -p ${PACKAGE_ast_INCLUDE}
exec - fi
done ${PACKAGE_ast_INCLUDE} generated
make ${PACKAGE_ast_INCLUDE}/zlib.h
prev ${PACKAGE_ast_INCLUDE}
prev zlib.h
exec - proto -p -s -l ${PACKAGEROOT}/lib/package/zlib.lic '-o zlib,since=1995,author="Jean-loup Gailly,Mark Adler"' zlib.h > 1.${COTEMP}.x
exec - if cmp 2>/dev/null -s ${PACKAGE_ast_INCLUDE}/zlib.h 1.${COTEMP}.x
exec - then rm -f 1.${COTEMP}.x
exec - else mv 1.${COTEMP}.x ${PACKAGE_ast_INCLUDE}/zlib.h
exec - fi
done ${PACKAGE_ast_INCLUDE}/zlib.h generated
make ${PACKAGE_ast_INCLUDE}/zconf.h
prev zconf.h
exec - proto -p -s -l ${PACKAGEROOT}/lib/package/zlib.lic '-o zlib,since=1995,author="Jean-loup Gailly,Mark Adler"' zconf.h > 1.${COTEMP}.x
exec - if cmp 2>/dev/null -s ${PACKAGE_ast_INCLUDE}/zconf.h 1.${COTEMP}.x
exec - then rm -f 1.${COTEMP}.x
exec - else mv 1.${COTEMP}.x ${PACKAGE_ast_INCLUDE}/zconf.h
exec - fi
done ${PACKAGE_ast_INCLUDE}/zconf.h generated
make ${PACKAGE_ast_INCLUDE}/sfdcgzip.h
prev sfdcgzip.h
exec - proto -p -s -l ${PACKAGEROOT}/lib/package/zlib.lic '-o zlib,since=1995,author="Jean-loup Gailly,Mark Adler"' sfdcgzip.h > 1.${COTEMP}.x
exec - if cmp 2>/dev/null -s ${PACKAGE_ast_INCLUDE}/sfdcgzip.h 1.${COTEMP}.x
exec - then rm -f 1.${COTEMP}.x
exec - else mv 1.${COTEMP}.x ${PACKAGE_ast_INCLUDE}/sfdcgzip.h
exec - fi
done ${PACKAGE_ast_INCLUDE}/sfdcgzip.h generated
done install virtual
make test
make example
make example.o
make example.c
prev zlib.h implicit
prev ${PACKAGE_ast_INCLUDE}/stdio.h implicit
done example.c
meta example.o %.c>%.o example.c example
prev example.c
setv _BLD_z -U_BLD_z
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c example.c
done example.o virtual
prev libz.a archive
bind -lz
bind -last
exec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} -o example example.o ${mam_libz} ${mam_libast}
done example virtual
make minigzip
make minigzip.o
make minigzip.c
prev unix.h implicit
make io.h implicit
done io.h dontcare virtual
prev zlib.h implicit
prev ${PACKAGE_ast_INCLUDE}/stdio.h implicit
done minigzip.c
meta minigzip.o %.c>%.o minigzip.c minigzip
prev minigzip.c
setv _BLD_z -U_BLD_z
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c minigzip.c
done minigzip.o virtual
prev libz.a archive
exec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} -o minigzip minigzip.o ${mam_libz} ${mam_libast}
done minigzip virtual
exec - example > /dev/null || echo libz example test FAILED
exec - case `echo 'hello, hello!' | minigzip | minigzip -d; echo $?` in
exec - 'hello, hello!
exec - 0')
exec - ;;
exec - *) echo libz minigzip test FAILED
exec - ;;
exec - esac
exec - rm -f foo.gz
done test dontcare virtual