implement missing function in buffer.c
[libdht.git] / Makefile
blobf6168e5c0bb8671807761dafa1d4a7858a40fbc3
1 LIB= dht
2 SRCS= dht.c murmur3.c buffer.c
3 HDRS= dht.h
4 SHLIB_MAJOR= 0
5 SHLIB_MINOR= 1
6 #MAN= libdht.3
7 #MLINKS= libdht.3 dht_init.3 \
8 # libdht.3 dht_add_peer.3 \
9 # libdht.3 dht_put_tunable.3 \
10 # libdht.3 dht_get_tunable.3 \
11 # libdht.3 dht_put.3 \
12 # libdht.3 dht_get.3 \
13 # libdht.3 dht_event_loop.3 \
15 #CFLAGS+= -Wall -Werror -I.
16 CFLAGS+= -Wall -I.
17 COPTS+= -g #-DDEBUG
20 includes:
21 @cd ${.CURDIR}; for i in $(HDRS); do \
22 j="cmp -s $$i ${DESTDIR}/usr/include/$$i || \
23 ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
24 -m 444 $$i ${DESTDIR}/usr/include"; \
25 echo $$j; \
26 eval "$$j"; \
27 done
29 .include <bsd.lib.mk>