aboutsummaryrefslogtreecommitdiff
path: root/lib/libcompat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcompat/Makefile')
-rw-r--r--lib/libcompat/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/libcompat/Makefile b/lib/libcompat/Makefile
new file mode 100644
index 000000000000..b4209eef15b8
--- /dev/null
+++ b/lib/libcompat/Makefile
@@ -0,0 +1,18 @@
+LIB= compat
+NOPIC= we dont need PIC for these puppies
+
+SRCS= sgtty.c ftime.c cftime.c regex.c setrgid.c setruid.c
+
+MAN3= libcompat.3
+
+MLINKS= libcompat.3 stty.3 libcompat.3 gtty.3 \
+ libcompat.3 ftime.3 \
+ libcompat.3 cftime.3 libcompat.3 ascftime.3 \
+ libcompat.3 re_exec.3 libcompat.3 re_comp.3 \
+ libcompat.3 setrgid.3 libcompat.3 setruid.3
+
+# Henry Spencer's regexp library from the UoT is
+# kept in a separate subdirectory
+.include "${.CURDIR}/regexp/Makefile.inc"
+
+.include <bsd.lib.mk>