aboutsummaryrefslogtreecommitdiff
path: root/src/libregexp
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-11-23 18:22:36 +0000
committerrsc <devnull@localhost>2003-11-23 18:22:36 +0000
commit99947423b136903263513b9022aab6586c8c6cc5 (patch)
tree63199050438d67e1462348e86dc740bac5ddf4c3 /src/libregexp
parentdb6608bd819d10cc2ddb57d18054d62d4ca15596 (diff)
downloadplan9port-99947423b136903263513b9022aab6586c8c6cc5.tar.gz
plan9port-99947423b136903263513b9022aab6586c8c6cc5.tar.bz2
plan9port-99947423b136903263513b9022aab6586c8c6cc5.zip
make -> mk
Diffstat (limited to 'src/libregexp')
-rw-r--r--src/libregexp/Makefile27
-rw-r--r--src/libregexp/mkfile27
2 files changed, 27 insertions, 27 deletions
diff --git a/src/libregexp/Makefile b/src/libregexp/Makefile
deleted file mode 100644
index 7fdd7f95..00000000
--- a/src/libregexp/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-PLAN9=../..
-include $(PLAN9)/src/Makehdr
-
-LIB=libregexp9.a
-
-OFILES=\
- regcomp.$O\
- regerror.$O\
- regexec.$O\
- regsub.$O\
- regaux.$O\
- rregaux.$O\
- rregexec.$O\
- rregsub.$O\
-
-HFILES=\
- $(PLAN9)/include/regexp9.h\
- regcomp.h\
-
-include $(PLAN9)/src/Makesyslib
-
-test: test.$O $(LIB)
- $(CC) -o test test.$O $(LIB) -L/usr/local/lib -lfmt -lutf
-
-test2: test2.$O $(LIB)
- $(CC) -o test2 test2.$O $(LIB) -L/usr/local/lib -lfmt -lutf
-
diff --git a/src/libregexp/mkfile b/src/libregexp/mkfile
new file mode 100644
index 00000000..8cb740cc
--- /dev/null
+++ b/src/libregexp/mkfile
@@ -0,0 +1,27 @@
+PLAN9=../..
+<$PLAN9/src/mkhdr
+
+LIB=libregexp9.a
+
+OFILES=\
+ regcomp.$O\
+ regerror.$O\
+ regexec.$O\
+ regsub.$O\
+ regaux.$O\
+ rregaux.$O\
+ rregexec.$O\
+ rregsub.$O\
+
+HFILES=\
+ $PLAN9/include/regexp9.h\
+ regcomp.h\
+
+<$PLAN9/src/mksyslib
+
+test: test.$O $LIB
+ $CC -o test test.$O $LIB -L/usr/local/lib -lfmt -lutf
+
+test2: test2.$O $LIB
+ $CC -o test2 test2.$O $LIB -L/usr/local/lib -lfmt -lutf
+