YFLAGS=-d
NOTSYS=sml|dup|.+\..+
-
-NOMK=$NOTSYS
+PCONLY=|vmx
+NOMK=$NOTSYS`{~ $objtype (386 amd64) || echo $PCONLY}
cpuobjtype=`{sed -n 's/^O=//p' /$cputype/mkfile}
DIRS=`{echo */mkfile | sed 's,/mkfile *,\n,g' | grep -v '^('$NOMK')$'}
-APEDIRS=awk bzip2 compress cvs eqn grap gs links-ape lp pic postscript spin \
+APEDIRS=bzip2 compress cvs eqn grap gs links-ape lp pic postscript spin \
tex troff
none:VQ:
&:n: $O.&
mv $O.$stem $stem
-%.tab.h %.tab.c: %.y
+%.tab.h %.tab.c:D: %.y
$YACC $YFLAGS -s $stem $prereq
%.install:V: $BIN/%
directories:V: install.directories
cleanfiles:V:
- rm -f [$OS].out *.[$OS] y.tab.? y.debug y.output [$OS].$TARG [$OS].units.tab $TARG bc.c bc.tab.h units.tab.h units.c mpc.c [$OS]._cp
+ rm -f [$OS].out *.[$OS] y.tab.? y.debug y.output [$OS].$TARG [$OS].units.tab $TARG bc.c bc.tab.h units.tab.h units.c mpc.c mpc.tab.h [$OS]._cp
%.clean:V:
rm -f [$OS].$stem $stem.[$OS]
%.acid: %.$O $HFILES
$CC $CFLAGS -a $stem.c >$target
-(bc|units|mpc).c:R: \1.tab.c
+(bc|units|mpc|pc).c:R: \1.tab.c
mv $stem1.tab.c $stem1.c
$BIN/init: $O.init