summaryrefslogtreecommitdiffstats
path: root/lib/libcom_err/Makefile
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-01-14 22:23:41 +0000
committerwollman <wollman@FreeBSD.org>1995-01-14 22:23:41 +0000
commit0916b5648b6e21b684e10cfba42b81769ea51035 (patch)
tree293623fcd45343b02313101f81356ff8761dec64 /lib/libcom_err/Makefile
downloadFreeBSD-src-0916b5648b6e21b684e10cfba42b81769ea51035.zip
FreeBSD-src-0916b5648b6e21b684e10cfba42b81769ea51035.tar.gz
The Common Error Description Library, developed by MIT SIPB and used by
a number of (ex-)Athena programs. Breaking my own rules for importing somewhat, as this code does not appear to be actively maintained by anyone (not that it really needs it).
Diffstat (limited to 'lib/libcom_err/Makefile')
-rw-r--r--lib/libcom_err/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libcom_err/Makefile b/lib/libcom_err/Makefile
new file mode 100644
index 0000000..d702d36
--- /dev/null
+++ b/lib/libcom_err/Makefile
@@ -0,0 +1,16 @@
+# $Id$
+
+LIB= com_err
+SRCS= com_err.c error_message.c et_name.c init_et.c
+CFLAGS+= -I.
+MAN3= com_err.3
+
+SUBDIR= doc
+
+beforeinstall:
+ -cd ${.CURDIR}; cmp -s com_err.h ${DESTDIR}/usr/include/com_err.h || \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 444 com_err.h \
+ ${DESTDIR}/usr/include
+
+.include <bsd.lib.mk>
+
OpenPOWER on IntegriCloud