openbsd-ports/devel/libeventextra/files/Makefile
nicm c0e9f0cc65 Import libeventextra with all the bits of libevent 1.4 we don't want in
the base system: DNS resolver, HTTP and RPC functions.
2010-04-21 22:55:34 +00:00

48 lines
947 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2010/04/21 22:55:34 nicm Exp $
LIB= eventextra
SRCS= http.c evdns.c evrpc.c
LIBDIR= /usr/local/lib
NOPROFILE= 1
CFLAGS+= -I${.CURDIR} -DNDEBUG \
-DDNS_USE_ARC4RANDOM_FOR_ID \
-DHAVE_CLOCK_GETTIME \
-DHAVE_CLOCK_MONOTONIC \
-DHAVE_FCNTL_H \
-DHAVE_FD_MASK \
-DHAVE_GETADDRINFO \
-DHAVE_GETEGID \
-DHAVE_GETEUID \
-DHAVE_GETNAMEINFO \
-DHAVE_GETTIMEOFDAY \
-DHAVE_INTTYPES_H \
-DHAVE_ISSETUGID \
-DHAVE_POLL \
-DHAVE_SELECT \
-DHAVE_SETFD \
-DHAVE_SIGACTION \
-DHAVE_STDARG_H \
-DHAVE_STDINT_H \
-DHAVE_STDLIB_H \
-DHAVE_STRLCPY \
-DHAVE_STRSEP \
-DHAVE_STRTOK_R \
-DHAVE_STRTOLL \
-DHAVE_STRUCT_IN6_ADDR \
-DHAVE_SYS_IOCTL_H \
-DHAVE_SYS_PARAM_H \
-DHAVE_SYS_QUEUE_H \
-DHAVE_SYS_SELECT_H \
-DHAVE_SYS_SOCKET_H \
-DHAVE_SYS_STAT_H \
-DHAVE_SYS_TIME_H \
-DHAVE_SYS_TYPES_H \
-DHAVE_TAILQFOREACH \
-DHAVE_UNISTD_H \
-DHAVE_VASPRINTF \
-DHAVE_WORKING_KQUEUE
.include <bsd.lib.mk>