Mamfile revision 3f54fd611f536639ec30dd53c48e5ec1897cc7d9
dff5ee9fbad211dd06050df0798116afb2bfe296Tim Reddehaseinfo mam static 00000 1994-07-17 make (AT&T Research) 5.7 2012-06-20
dff5ee9fbad211dd06050df0798116afb2bfe296Tim Reddehasesetv INSTALLROOT ../../..
dff5ee9fbad211dd06050df0798116afb2bfe296Tim Reddehasesetv PACKAGE_ast_INCLUDE ${INSTALLROOT}/include/ast
dff5ee9fbad211dd06050df0798116afb2bfe296Tim Reddehasesetv PACKAGE_ast_LIB ${INSTALLROOT}/lib
dff5ee9fbad211dd06050df0798116afb2bfe296Tim Reddehasesetv PACKAGEROOT ../../../../..
dff5ee9fbad211dd06050df0798116afb2bfe296Tim Reddehasesetv AR ${mam_cc_AR} ${mam_cc_AR_ARFLAGS}
4c1d51e9760c808027ec7f559e80067744c78541Eugen Kuksasetv ARFLAGS rc
4c1d51e9760c808027ec7f559e80067744c78541Eugen Kuksasetv AS as
4c1d51e9760c808027ec7f559e80067744c78541Eugen Kuksasetv ASFLAGS
dff5ee9fbad211dd06050df0798116afb2bfe296Tim Reddehasesetv CC cc
dff5ee9fbad211dd06050df0798116afb2bfe296Tim Reddehasesetv mam_cc_FLAGS
dff5ee9fbad211dd06050df0798116afb2bfe296Tim Reddehasesetv CCFLAGS ${-debug-symbols?1?${mam_cc_DEBUG} -D_BLD_DEBUG?${mam_cc_OPTIMIZE}?}
dff5ee9fbad211dd06050df0798116afb2bfe296Tim Reddehasesetv CCLDFLAGS ${-strip-symbols?1?${mam_cc_LD_STRIP}??}
dff5ee9fbad211dd06050df0798116afb2bfe296Tim Reddehasesetv COTEMP $$
dff5ee9fbad211dd06050df0798116afb2bfe296Tim Reddehasesetv CPIO cpio
dff5ee9fbad211dd06050df0798116afb2bfe296Tim Reddehasesetv CPIOFLAGS
dff5ee9fbad211dd06050df0798116afb2bfe296Tim Reddehasesetv CPP "${CC} -E"
dff5ee9fbad211dd06050df0798116afb2bfe296Tim Reddehasesetv F77 f77
dff5ee9fbad211dd06050df0798116afb2bfe296Tim Reddehasesetv 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/ast.lic
done ${PACKAGEROOT}/lib/package/ast.lic
make install
make ast_at
make at.o
make at.c
make ${PACKAGE_ast_INCLUDE}/fs3d.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_fs.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_fs.h dontcare
make ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/prototyped.h dontcare
done ${PACKAGE_ast_INCLUDE}/fs3d.h
make at.h implicit
make ${PACKAGE_ast_INCLUDE}/tm.h implicit
make ${PACKAGE_ast_INCLUDE}/times.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_time.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_time.h dontcare
make ${PACKAGE_ast_INCLUDE}/ast.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_api.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_api.h dontcare
make ${PACKAGE_ast_INCLUDE}/vmalloc.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
make ${PACKAGE_ast_INCLUDE}/endian.h implicit
make ${PACKAGE_ast_INCLUDE}/bytesex.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
done ${PACKAGE_ast_INCLUDE}/bytesex.h dontcare
done ${PACKAGE_ast_INCLUDE}/endian.h dontcare
done ${PACKAGE_ast_INCLUDE}/ast_common.h dontcare
make ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
make ${PACKAGE_ast_INCLUDE}/regex.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast_api.h implicit
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
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
prev ${PACKAGE_ast_INCLUDE}/ast_fs.h implicit
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 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
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/times.h dontcare
prev ${PACKAGE_ast_INCLUDE}/ast.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/tm.h dontcare
make ${PACKAGE_ast_INCLUDE}/error.h implicit
make ${PACKAGE_ast_INCLUDE}/option.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast.h implicit
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 dontcare
prev ${PACKAGE_ast_INCLUDE}/endian.h implicit
make ${PACKAGE_ast_INCLUDE}/css.h implicit
make ${PACKAGE_ast_INCLUDE}/cs.h implicit
prev ${PACKAGE_ast_INCLUDE}/times.h implicit
make ${PACKAGE_ast_INCLUDE}/ls.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}/ls.h dontcare
make ${PACKAGE_ast_INCLUDE}/hashpart.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/hashpart.h dontcare
make ${PACKAGE_ast_INCLUDE}/ast_cs.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_cs.h dontcare
prev ${PACKAGE_ast_INCLUDE}/ast.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/cs.h dontcare
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/css.h dontcare
make ${PACKAGE_ast_INCLUDE}/coshell.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/coshell.h dontcare
prev ${PACKAGE_ast_INCLUDE}/ast.h implicit
done at.h
done at.c
meta at.o %.c>%.o at.c at
prev at.c
exec - ${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) 1996-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?at]"\" -c at.c
done at.o generated
bind -lcoshell
bind -lcs
bind -last
exec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L${INSTALLROOT}/lib} -o ast_at at.o ${mam_libcoshell} ${mam_libcs} ${mam_libast}
done ast_at generated
make ast_batch
prev ast_at
exec - if silent test -f "ast_batch"
exec - then rm -f ast_batch
exec - fi
exec - ln ast_at ast_batch
done ast_batch generated
make atx
make atx.o
make atx.c
prev at.h implicit
done atx.c
meta atx.o %.c>%.o atx.c atx
prev atx.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c atx.c
done atx.o generated
exec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L${INSTALLROOT}/lib} -o atx atx.o ${mam_libast} ${mam_libast}
done atx generated
make at.svc
make atd.o
make atd.c
make ${PACKAGE_ast_INCLUDE}/wait.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_wait.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_wait.h dontcare
prev ${PACKAGE_ast_INCLUDE}/ast.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/wait.h
make ${PACKAGE_ast_INCLUDE}/sig.h implicit
done ${PACKAGE_ast_INCLUDE}/sig.h
prev ${PACKAGE_ast_INCLUDE}/stdio.h implicit
make ${PACKAGE_ast_INCLUDE}/proc.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast.h implicit
prev ${PACKAGE_ast_INCLUDE}/prototyped.h implicit
done ${PACKAGE_ast_INCLUDE}/proc.h
make ${PACKAGE_ast_INCLUDE}/dirent.h implicit
make ${PACKAGE_ast_INCLUDE}/ast_dirent.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
done ${PACKAGE_ast_INCLUDE}/ast_dirent.h
done ${PACKAGE_ast_INCLUDE}/dirent.h
make ${PACKAGE_ast_INCLUDE}/debug.h implicit
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}/debug.h
make ${PACKAGE_ast_INCLUDE}/cdt.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast_common.h implicit
prev ${PACKAGE_ast_INCLUDE}/ast_std.h implicit
done ${PACKAGE_ast_INCLUDE}/cdt.h
prev at.h implicit
done atd.c
meta atd.o %.c>%.o atd.c atd
prev atd.c
exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -DDEBUG -c atd.c
done atd.o generated
exec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L${INSTALLROOT}/lib} -o at.svc atd.o ${mam_libcs} ${mam_libast} ${mam_libcs} ${mam_libast}
done at.svc generated
make ast_crontab
make crontab.sh
done crontab.sh
exec - case static,port:$OPTIND:$RANDOM in
exec - ?*:*:*|*::*|*:*:$RANDOM)
exec - ;;
exec - *) if ENV= LC_ALL=C x= $SHELL -nc '[[ a || b ]] && : ${list[level]} !(pattern)' 2>/dev/null
exec - then if grep '### .*archaic.* ###' >/dev/null
exec - then : ast_crontab contains archaic constructs :
exec - else ENV= LC_ALL=C $SHELL -n crontab.sh
exec - fi
exec - fi
exec - ;;
exec - esac
exec - case '${mam_cc_SHELLMAGIC}' in
exec - "") case 198 in
exec - 0) cp crontab.sh ast_crontab
exec - ;;
exec - *) {
exec - i=`(read x; echo $x) < crontab.sh`
exec - case $i in
exec - '#!'*|*'||'*|':'*|'":"'*|"':'"*) echo "$i" ;;
exec - esac
exec - cat - crontab.sh <<'!'
exec - USAGE_LICENSE="[-author?Glenn Fowler <gsf@research.att.com>][-copyright?Copyright (c) 1996-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?at]"
exec - !
exec - } > ast_crontab
exec - ;;
exec - esac
exec - ;;
exec - *) cat - crontab.sh > ast_crontab <<'!'
exec - ${mam_cc_SHELLMAGIC}
exec - USAGE_LICENSE="[-author?Glenn Fowler <gsf@research.att.com>][-copyright?Copyright (c) 1996-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?at]"
exec - !
exec - ;;
exec - esac
exec - silent test -w ast_crontab -a -x ast_crontab || chmod u+w,+x ast_crontab
done ast_crontab generated
make ${INSTALLROOT}/bin
exec - if silent test ! -d ${INSTALLROOT}/bin
exec - then mkdir -p ${INSTALLROOT}/bin
exec - fi
done ${INSTALLROOT}/bin generated
make ${INSTALLROOT}/bin/ast_at
prev ${INSTALLROOT}/bin
prev ast_at
exec - test '' = 'ast_at' || ${STDCMP} 2>/dev/null -s ast_at ${INSTALLROOT}/bin/ast_at || { ${STDMV} ${INSTALLROOT}/bin/ast_at ${INSTALLROOT}/bin/ast_at.old 2>/dev/null || true; ${STDCP} ast_at ${INSTALLROOT}/bin/ast_at ;}
done ${INSTALLROOT}/bin/ast_at generated
make ${INSTALLROOT}/bin/ast_batch
prev ${INSTALLROOT}/bin/ast_at
exec - if silent test -f "${INSTALLROOT}/bin/ast_batch"
exec - then rm -f ${INSTALLROOT}/bin/ast_batch
exec - fi
exec - ln ${INSTALLROOT}/bin/ast_at ${INSTALLROOT}/bin/ast_batch
done ${INSTALLROOT}/bin/ast_batch generated
make ${INSTALLROOT}/lib/at/jobs
setv mode -Dmode="u=rwx,go=x"
exec - if silent test ! -d ${INSTALLROOT}/lib/at/jobs
exec - then mkdir -p ${INSTALLROOT}/lib/at/jobs && chmod u=rwx,go=x ${INSTALLROOT}/lib/at/jobs
exec - fi
done ${INSTALLROOT}/lib/at/jobs generated
make ${INSTALLROOT}/lib/at/jobs/atx
prev ${INSTALLROOT}/lib/at/jobs
prev atx
setv mode -Dmode="u=rx,go=x"
exec - test '' = 'atx' || ${STDCMP} 2>/dev/null -s atx ${INSTALLROOT}/lib/at/jobs/atx || { ${STDMV} ${INSTALLROOT}/lib/at/jobs/atx ${INSTALLROOT}/lib/at/jobs/atx.old 2>/dev/null || true; ${STDCP} atx ${INSTALLROOT}/lib/at/jobs/atx && chmod u=rx,go=x ${INSTALLROOT}/lib/at/jobs/atx ;}
done ${INSTALLROOT}/lib/at/jobs/atx generated
make ${INSTALLROOT}/lib/cs
exec - if silent test ! -d ${INSTALLROOT}/lib/cs
exec - then mkdir -p ${INSTALLROOT}/lib/cs
exec - fi
done ${INSTALLROOT}/lib/cs generated
make ${INSTALLROOT}/lib/cs/tcp/at
exec - if silent test ! -d ${INSTALLROOT}/lib/cs/tcp/at
exec - then mkdir -p ${INSTALLROOT}/lib/cs/tcp/at
exec - fi
done ${INSTALLROOT}/lib/cs/tcp/at generated
make ${INSTALLROOT}/lib/cs/tcp/at/at.svc
prev ${INSTALLROOT}/lib/cs/tcp/at
prev at.svc
setv preserve -Dpreserve
exec - test '' = 'at.svc' || ${STDCMP} 2>/dev/null -s at.svc ${INSTALLROOT}/lib/cs/tcp/at/at.svc || { ${STDMV} ${INSTALLROOT}/lib/cs/tcp/at/at.svc ${INSTALLROOT}/lib/cs/tcp/at/at.svc.old 2>/dev/null || true; ${STDCP} at.svc ${INSTALLROOT}/lib/cs/tcp/at/at.svc ;}
done ${INSTALLROOT}/lib/cs/tcp/at/at.svc generated
make ${INSTALLROOT}/bin/ast_crontab
prev ast_crontab
exec - test '' = 'ast_crontab' || ${STDCMP} 2>/dev/null -s ast_crontab ${INSTALLROOT}/bin/ast_crontab || { ${STDMV} ${INSTALLROOT}/bin/ast_crontab ${INSTALLROOT}/bin/ast_crontab.old 2>/dev/null || true; ${STDCP} ast_crontab ${INSTALLROOT}/bin/ast_crontab ;}
done ${INSTALLROOT}/bin/ast_crontab generated
done install virtual
make test
done test dontcare virtual