ref: d0ae2e369e0221e796f4b58255b21ce3592d80dc
dir: /sys/src/cmd/postscript/picpack/mkfile/
BUILTINS= </$objtype/mkfile MAKE=mk SYSTEM=plan9 VERSION=3.3.1 ROOT= MAN1DIR=$ROOT/tmp POSTBIN=$ROOT/sys/lib/postscript/bin COMMONDIR=../common CC=pcc LD=pcc CFLAGS=-c -D$SYSTEM -D_POSIX_SOURCE -I$COMMONDIR -B LDFLAGS= all :V: $O.out install :V: $POSTBIN/$objtype/picpack $MAN1DIR/picpack.1 installall :V: for(objtype in $CPUS) { \ $MAKE 'MAKE=$MAKE' \ 'SYSTEM=$SYSTEM' 'VERSION=$VERSION' \ 'FONTDIR=$FONTDIR' 'HOSTDIR=$HOSTDIR' 'MAN1DIR=$MAN1DIR' \ 'POSTBIN=$POSTBIN' 'POSTLIB=$POSTLIB' 'TMACDIR=$TMACDIR' \ 'DKHOST=$DKHOST' 'DKSTREAMS=$DKSTREAMS' \ 'ROUNDPAGE=$ROUNDPAGE' \ 'CC=$CC' 'LD=$LD' 'CFLAGS=$CFLAGS' 'LDFLAGS=$LDFLAGS' \ install \ } clean :V: rm -f *.$O clobber :V: clean rm -f $O.out $POSTBIN/$objtype/picpack : $O.out cp $prereq $target $MAN1DIR/picpack.1 : picpack.1 cp $prereq $target $O.out : picpack.$O $COMMONDIR/glob.$O $COMMONDIR/misc.$O $COMMONDIR/tempnam.$O $COMMONDIR/getopt.$O $LD $LDFLAGS $prereq %.$O: %.c $CC $CFLAGS $stem.c picpack.$O : picpack.c $COMMONDIR/ext.h $COMMONDIR/gen.h $COMMONDIR/path.h common :V: cd $COMMONDIR; $MAKE