Port of libevent (Ref #30)
This commit is contained in:
committed by
Norman Feske
parent
2c4cca899a
commit
709fbd7489
2
lib/import/import-libevent.mk
Normal file
2
lib/import/import-libevent.mk
Normal file
@@ -0,0 +1,2 @@
|
||||
INC_DIR += $(call select_from_ports,libevent)/src/lib/libevent/include
|
||||
INC_DIR += $(call select_from_repositories,include/libevent)
|
||||
33
lib/mk/libevent.mk
Normal file
33
lib/mk/libevent.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
LIBEVENT_DIR := $(call select_from_ports,libevent)/src/lib/libevent
|
||||
|
||||
SRC_C = buffer.c \
|
||||
bufferevent.c \
|
||||
bufferevent_filter.c \
|
||||
bufferevent_openssl.c \
|
||||
bufferevent_pair.c \
|
||||
bufferevent_ratelim.c \
|
||||
bufferevent_sock.c \
|
||||
evdns.c \
|
||||
event.c \
|
||||
event_tagging.c \
|
||||
evmap.c \
|
||||
evrpc.c \
|
||||
evthread.c \
|
||||
evutil.c \
|
||||
evutil_rand.c \
|
||||
http.c \
|
||||
listener.c \
|
||||
log.c \
|
||||
poll.c \
|
||||
select.c \
|
||||
signal.c \
|
||||
strlcpy.c
|
||||
|
||||
INC_DIR += $(LIBEVENT_DIR) $(LIBEVENT_DIR)/include
|
||||
INC_DIR += $(LIBEVENT_DIR)/include
|
||||
INC_DIR += $(REP_DIR)/include/libevent
|
||||
LIBS += libc libssl libcrypto
|
||||
SHARED_LIB = yes
|
||||
|
||||
vpath %.c $(LIBEVENT_DIR)
|
||||
|
||||
Reference in New Issue
Block a user