summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cwfs/portmkfile
diff options
context:
space:
mode:
authorTaru Karttunen <taruti@taruti.net>2011-03-30 15:46:40 +0300
committerTaru Karttunen <taruti@taruti.net>2011-03-30 15:46:40 +0300
commite5888a1ffdae813d7575f5fb02275c6bb07e5199 (patch)
treed8d51eac403f07814b9e936eed0c9a79195e2450 /sys/src/cmd/cwfs/portmkfile
Import sources from 2011-03-30 iso image
Diffstat (limited to 'sys/src/cmd/cwfs/portmkfile')
-rwxr-xr-xsys/src/cmd/cwfs/portmkfile61
1 files changed, 61 insertions, 0 deletions
diff --git a/sys/src/cmd/cwfs/portmkfile b/sys/src/cmd/cwfs/portmkfile
new file mode 100755
index 000000000..be276aca7
--- /dev/null
+++ b/sys/src/cmd/cwfs/portmkfile
@@ -0,0 +1,61 @@
+</$objtype/mkfile
+
+BIN=/$objtype/bin
+TARG=cwfs$FS
+OFILES=\
+ 9p1.$O\
+ 9p1lib.$O\
+ 9p2.$O\
+ auth.$O\
+ chk.$O\
+ con.$O\
+ config.$O\
+ console.$O\
+ cw.$O\
+ data.$O\
+ dentry.$O\
+ fworm.$O\
+ iobuf.$O\
+ juke.$O\
+ main.$O\
+ malloc.$O\
+ mworm.$O\
+ net.$O\
+ pc.$O\
+ scsi.$O\
+ sub.$O\
+ time.$O\
+ uidgid.$O\
+ wren.$O\
+
+HFILES=\
+ ../32bit.h\
+ ../64bit.h\
+ ../9p1.h\
+ ../all.h\
+ dat.h\
+ ../io.h\
+ ../portdat.h\
+ ../portfns.h\
+
+# SRC=${OBJ:%.$O=../%.c}
+CFLAGS=$CFLAGS -I..
+
+default:V: $O.cwfs$FS
+
+</sys/src/cmd/mkmany
+
+%.$O: ../%.c
+ $CC $CFLAGS ../$stem.c
+%.$O: ../%.s
+ $AS $AFLAGS ../$stem.s
+
+acid: ${OFILES:%.acid=../%.c}
+
+$O.cwfs$FS: conf.c $OFILES
+ $CC $CFLAGS -DDATE'='`{date -n} conf.c
+ $LD -o $target $OFILES conf.$O
+ size $target
+
+test:V: 8.cwfs$FS
+ cputype=debug $prereq -a 'tcp!*!1234' </dev/null