Mamfile revision 3f54fd611f536639ec30dd53c48e5ec1897cc7d9
1N/Ainfo mam static 00000 1994-07-17 make (AT&T Research) 5.7 2012-06-20
1N/Asetv INSTALLROOT ../../..
1N/Asetv PACKAGE_ast_INCLUDE ${INSTALLROOT}/include/ast
1N/Asetv PACKAGE_ast_LIB ${INSTALLROOT}/lib
1N/Asetv PACKAGEROOT ../../../../../..
1N/Asetv AR ${mam_cc_AR} ${mam_cc_AR_ARFLAGS}
1N/Asetv ARFLAGS rc
1N/Asetv AS as
1N/Asetv ASFLAGS
1N/Asetv CC cc
1N/Asetv mam_cc_FLAGS
1N/Asetv CCFLAGS ${-debug-symbols?1?${mam_cc_DEBUG} -D_BLD_DEBUG?${mam_cc_OPTIMIZE}?}
1N/Asetv CCLDFLAGS ${-strip-symbols?1?${mam_cc_LD_STRIP}??}
1N/Asetv COTEMP $$
1N/Asetv CPIO cpio
1N/Asetv CPIOFLAGS
1N/Asetv CPP "${CC} -E"
1N/Asetv F77 f77
1N/Asetv HOSTCC ${CC}
1N/Asetv IGNORE
1N/Asetv LD ld
1N/Asetv LDFLAGS
1N/Asetv LEX lex
1N/Asetv LEXFLAGS
1N/Asetv LPR lpr
1N/Asetv LPRFLAGS
1N/Asetv M4FLAGS
1N/Asetv NMAKE nmake
1N/Asetv NMAKEFLAGS
1N/Asetv PR pr
1N/Asetv PRFLAGS
1N/Asetv SHELL /bin/sh
1N/Asetv SILENT
1N/Asetv TAR tar
1N/Asetv YACC yacc
1N/Asetv YACCFLAGS -d
1N/Amake ${PACKAGEROOT}/lib/package/ast.lic
1N/Adone ${PACKAGEROOT}/lib/package/ast.lic
1N/Amake install
1N/Amake cmdtst
1N/Amake libkshcmdtst.a archive
1N/Amake lib.o
1N/Amake lib.c
1N/Amake cmdtstlist.h implicit
1N/Aprev lib.c
1N/Amake grep.c
1N/Amake ${PACKAGE_ast_INCLUDE}/vmalloc.h implicit
1N/Amake ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
1N/Amake ${PACKAGE_ast_INCLUDE}/ast_map.h implicit
1N/Adone ${PACKAGE_ast_INCLUDE}/ast_map.h dontcare
1N/Amake ${PACKAGE_ast_INCLUDE}/endian.h implicit
1N/Amake ${PACKAGE_ast_INCLUDE}/bytesex.h implicit
1N/Aprev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
1N/Adone ${PACKAGE_ast_INCLUDE}/bytesex.h dontcare
1N/Adone ${PACKAGE_ast_INCLUDE}/endian.h dontcare
1N/Adone ${PACKAGE_ast_INCLUDE}/ast_common.h dontcare
1N/Amake ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
1N/Amake ${PACKAGE_ast_INCLUDE}/regex.h implicit
1N/Amake ${PACKAGE_ast_INCLUDE}/ast_api.h implicit
1N/Adone ${PACKAGE_ast_INCLUDE}/ast_api.h dontcare
1N/Amake ${PACKAGE_ast_INCLUDE}/ast_wchar.h implicit
1N/Amake ${PACKAGE_ast_INCLUDE}/wctype.h implicit
1N/Amake ${PACKAGE_ast_INCLUDE}/ast_wctype.h implicit
1N/Aprev ${PACKAGE_ast_INCLUDE}/endian.h implicit
1N/Amake ${PACKAGE_ast_INCLUDE}/wchar.h implicit
1N/Aprev ${PACKAGE_ast_INCLUDE}/ast_wchar.h implicit
1N/Adone ${PACKAGE_ast_INCLUDE}/wchar.h dontcare
1N/Adone ${PACKAGE_ast_INCLUDE}/ast_wctype.h dontcare
1N/Adone ${PACKAGE_ast_INCLUDE}/wctype.h dontcare
1N/Amake ${PACKAGE_ast_INCLUDE}/stdio.h implicit
1N/Amake ${PACKAGE_ast_INCLUDE}/ast_stdio.h implicit
1N/Amake ${PACKAGE_ast_INCLUDE}/sfio_s.h implicit
1N/Adone ${PACKAGE_ast_INCLUDE}/sfio_s.h dontcare
1N/Aprev ${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
make ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/prototyped.h dontcare
done ${PACKAGE_ast_INCLUDE}/regex.h dontcare
make ${PACKAGE_ast_INCLUDE}/getopt.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_getopt.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_getopt.h dontcare
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/getopt.h dontcare
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}/getopt.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 ${PACKAGE_ast_INCLUDE}/vmalloc.h
prev ${PACKAGE_ast_INCLUDE}/regex.h implicit
make ${PACKAGE_ast_INCLUDE}/fts.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_mode.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_mode.h dontcare
prev ${PACKAGE_ast_INCLUDE}/ast_fs.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/fts.h
make ${PACKAGE_ast_INCLUDE}/error.h implicit
make ${PACKAGE_ast_INCLUDE}/option.h implicit
make ${PACKAGE_ast_INCLUDE}/ast.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast_api.h implicit
prev ${PACKAGE_ast_INCLUDE}/vmalloc.h implicit
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
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/option.h dontcare
prev ${PACKAGE_ast_INCLUDE}/ast.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/error.h
make ${PACKAGE_ast_INCLUDE}/ccode.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_ccode.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_ccode.h dontcare
prev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/ccode.h
prev ${PACKAGE_ast_INCLUDE}/endian.h implicit
make ${PACKAGE_ast_INCLUDE}/cmd.h implicit
make ${PACKAGE_ast_INCLUDE}/dlldefs.h implicit
done ${PACKAGE_ast_INCLUDE}/dlldefs.h dontcare
make ${PACKAGE_ast_INCLUDE}/cmdext.h implicit
make ${PACKAGE_ast_INCLUDE}/shcmd.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/shcmd.h dontcare
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/cmdext.h dontcare
prev ${PACKAGE_ast_INCLUDE}/shcmd.h implicit
make ${PACKAGE_ast_INCLUDE}/stak.h implicit
make ${PACKAGE_ast_INCLUDE}/stk.h implicit
prev ${PACKAGE_ast_INCLUDE}/sfio.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/stk.h dontcare
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/stak.h dontcare
prev ${PACKAGE_ast_INCLUDE}/error.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/cmd.h
done grep.c
make xargs.c
make ${PACKAGE_ast_INCLUDE}/cmdarg.h implicit
prev ${PACKAGE_ast_INCLUDE}/error.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/cmdarg.h
prev ${PACKAGE_ast_INCLUDE}/cmd.h implicit
done xargs.c
exec - {
exec - cat <<!
exec - /*
exec - * -lcmdtst function list -- define your own CMDLIST()
exec - */
exec - !
exec - sed \
exec - -e '/^b_[a-z_][a-z_0-9]*(/!d' \
exec - -e 's/^b_//' \
exec - -e 's/(.*//' \
exec - -e 's/.*/CMDLIST(&)/' \
exec - |
exec - sort -u
exec - } > 1.${COTEMP}.h
exec - if cmp 2>/dev/null -s 1.${COTEMP}.h cmdtstlist.h
exec - then rm -f 1.${COTEMP}.h
exec - else mv 1.${COTEMP}.h cmdtstlist.h
exec - fi
done cmdtstlist.h generated
prev ${PACKAGE_ast_INCLUDE}/shcmd.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast.h implicit
done lib.c
meta lib.o %.c>%.o lib.c lib
prev lib.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${mam_cc_DLL} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c lib.c
done lib.o generated
make grep.o
prev grep.c
meta grep.o %.c>%.o grep.c grep
prev grep.c
setv _BLD_cmdtst -U_BLD_cmdtst
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${mam_cc_DLL} -I${PACKAGE_ast_INCLUDE} -DERROR_CATALOG=\""kshcmdtst"\" -D_PACKAGE_ast -DUSAGE_LICENSE=\""[-author?Glenn Fowler <gsf@research.att.com>][-author?Doug McIlroy <doug@research.bell-labs.com>][-copyright?Copyright (c) 1995-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?kshcmdtst]"\" -c grep.c
done grep.o generated
make xargs.o
prev xargs.c
meta xargs.o %.c>%.o xargs.c xargs
prev xargs.c
setv _BLD_cmdtst -U_BLD_cmdtst
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${mam_cc_DLL} -I${PACKAGE_ast_INCLUDE} -DERROR_CATALOG=\""kshcmdtst"\" -D_PACKAGE_ast -DUSAGE_LICENSE=\""[-author?Glenn Fowler <gsf@research.att.com>][-author?Doug McIlroy <doug@research.bell-labs.com>][-copyright?Copyright (c) 1995-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?kshcmdtst]"\" -c xargs.c
done xargs.o generated
exec - ${AR} rc libkshcmdtst.a lib.o grep.o xargs.o
exec - (ranlib libkshcmdtst.a) >/dev/null 2>&1 || true
done libkshcmdtst.a generated
done cmdtst virtual
done install virtual
make test
make test.grep
make grep
prev grep.o
bind -last
exec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} ${CCFLAGS} ${mam_cc_DLL} ${LDFLAGS} ${mam_cc_L+-L${INSTALLROOT}/lib} -o grep grep.o ${mam_libast}
done grep virtual
make grep.tst
done grep.tst
exec - regress grep.tst grep
done test.grep virtual
make test.xargs
make xargs
prev xargs.o
exec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} ${CCFLAGS} ${mam_cc_DLL} ${LDFLAGS} ${mam_cc_L+-L${INSTALLROOT}/lib} -o xargs xargs.o ${mam_libast}
done xargs virtual
make xargs.tst
done xargs.tst
exec - regress xargs.tst xargs
done test.xargs virtual
done test dontcare virtual