forked from rxwen/libevent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.mk
64 lines (49 loc) · 1.19 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
buffer.c \
bufferevent.c \
bufferevent_filter.c \
bufferevent_pair.c \
bufferevent_ratelim.c \
bufferevent_sock.c \
event.c \
evmap.c \
evthread.c \
evthread_pthread.c \
evutil.c \
evutil_rand.c \
listener.c \
log.c \
signal.c \
strlcpy.c \
evdns.c \
event_tagging.c \
evrpc.c \
http.c \
poll.c \
epoll.c \
select.c
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/include
LOCAL_CFLAGS += -D_BSD_SOURCE \
-Wno-implicit-function-declaration \
-Wno-strict-aliasing \
-DSIZE_MAX=4294967295U
LOCAL_LDLIBS += -lpthread
LOCAL_MODULE_TAGS := eng
LOCAL_MODULE := libevent
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
http-server.c
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/include
LOCAL_CFLAGS += -D_BSD_SOURCE \
-Wno-implicit-function-declaration \
-Wno-strict-aliasing \
-DSIZE_MAX=4294967295U
LOCAL_MODULE_TAGS := eng
LOCAL_SHARED_LIBRARIES += libevent
LOCAL_MODULE := httpserver
include $(BUILD_EXECUTABLE)