ref: db6e26d55eb5bdb22ea231642051ff9a1562239b
parent: ebb9acecddac0b64064f03711276d445ddf0646f
author: Ori Bernstein <[email protected]>
date: Tue Jun 9 08:23:24 EDT 2020
libplumb: add missing mkfile
--- /dev/null
+++ b/sys/src/ape/lib/plumb/mkfile
@@ -1,0 +1,25 @@
+APE=/sys/src/ape
+<$APE/config
+
+LIB=/$objtype/lib/ape/libplumb.a
+
+OFILES=\
+ event.$O\
+ mesg.$O\
+ plumbsendtext.$O
+
+HFILES=\
+ /sys/include/ape/plumb.h\
+
+UPDATE=\
+ mkfile\
+ $HFILES\
+ ${OFILES:%.$O=%.c}\
+ ${LIB:/$objtype/%=/386/%}\
+
+</sys/src/cmd/mksyslib
+
+CFLAGS=-c $CFLAGS -D_POSIX_SOURCE -D_PLAN9_SOURCE -I../9
+
+%.$O: /sys/src/libplumb/%.c
+ $CC $CFLAGS /sys/src/libplumb/$stem.c