summaryrefslogtreecommitdiff
path: root/lib/libevent
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2002-06-15 18:18:24 +0000
committerNiels Provos <provos@cvs.openbsd.org>2002-06-15 18:18:24 +0000
commitcb3e048370db2127dedd341ef128a6e85a8ef6b7 (patch)
treef88208857066d768d8ba8394c9b8d139a955e374 /lib/libevent
parent34b71f31e4d70e3798881cc7b042e36aef534d7c (diff)
build static and profiled.
Diffstat (limited to 'lib/libevent')
-rw-r--r--lib/libevent/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/libevent/Makefile b/lib/libevent/Makefile
new file mode 100644
index 00000000000..467e0db1e82
--- /dev/null
+++ b/lib/libevent/Makefile
@@ -0,0 +1,21 @@
+LIB= event
+SRCS= event.c select.c kqueue.c
+HDRS= event.h
+MAN= event.3
+MLINKS= event.3 event_init.3 event.3 event_dispatch.3 event.3 event_loop.3 \
+ event.3 event_set.3 event.3 event_add.3 event.3 \
+ event_del.3 event.3 event_pending.3 event.3 event_initialized.3 \
+ event.3 timeout_set.3 event.3 timeout_add.3 event.3 \
+ timeout_del.3 event.3 timeout_pending.3 event.3 timeout_initialized.3 \
+ event.3 signal_set.3 event.3 signal_add.3 event.3 signal_del.3 \
+ event.3 signal_pending.3 event.3 signal_initalized.3
+CFLAGS+= -I${.CURDIR}
+NOPIC=
+
+includes:
+ @cd ${.CURDIR}; for i in ${HDRS}; do \
+ cmp -s $$i ${DESTDIR}/usr/include/$$i || \
+ ${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) $$i \
+ ${DESTDIR}/usr/include; done
+
+.include <bsd.lib.mk>