aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas/ml/mkfile
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-02-11 23:38:55 +0000
committerrsc <devnull@localhost>2006-02-11 23:38:55 +0000
commitb5f65921f346e6b4335f77e457ac5bcae0ab9d67 (patch)
treed85d6da9def0b62b51537bf6348b43252ad69f5f /src/cmd/upas/ml/mkfile
parente4d832222ba5519db94c7512c1fb82bd32491120 (diff)
downloadplan9port-b5f65921f346e6b4335f77e457ac5bcae0ab9d67.tar.gz
plan9port-b5f65921f346e6b4335f77e457ac5bcae0ab9d67.tar.bz2
plan9port-b5f65921f346e6b4335f77e457ac5bcae0ab9d67.zip
various cleanup
Diffstat (limited to 'src/cmd/upas/ml/mkfile')
-rw-r--r--src/cmd/upas/ml/mkfile20
1 files changed, 6 insertions, 14 deletions
diff --git a/src/cmd/upas/ml/mkfile b/src/cmd/upas/ml/mkfile
index 5142e56f..1a384108 100644
--- a/src/cmd/upas/ml/mkfile
+++ b/src/cmd/upas/ml/mkfile
@@ -1,4 +1,4 @@
-</$objtype/mkfile
+<$PLAN9/src/mkhdr
TARG=ml\
mlowner\
@@ -16,25 +16,17 @@ UHFILES= ../common/common.h\
HFILES=$UHFILES\
../smtp/y.tab.h\
-LIB=../common/libcommon.a$O\
+LIB=../common/libcommon.a
-BIN=/$objtype/bin/upas
-
-UPDATE=\
- mkfile\
- $UHFILES\
- ${TARG:%=%.c}\
- ${OFILES:%.$O=%.c}\
- ../smtp/rfc822.y\
-
-</sys/src/cmd/mkmany
+BIN=$BIN/upas
+<$PLAN9/src/mkmany
CFLAGS=$CFLAGS -I../common
$O.ml: ../smtp/rfc822.tab.$O
$O.mlowner: ../smtp/rfc822.tab.$O
../smtp/y.tab.h ../smtp/rfc822.tab.$O:
- @{
+ (
cd ../smtp
mk rfc822.tab.$O
- }
+ )