-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.mk
54 lines (44 loc) · 1.14 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
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := uftp
LOCAL_CFLAGS := -DNO_ENCRYPTION -DHAS_GETIFADDRS -DANDROID -fPIC
LOCAL_LDLIBS := -lm
LOCAL_C_INCLUDES := .
LOCAL_SRC_FILES := \
uftp_common.c \
encrypt_none.c \
server_announce.c \
server_transfer.c \
server_send.c \
server_phase.c \
server_common.c \
server_config.c \
server_init.c \
server_main.c \
ifaddrs_android.c
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_MODULE := uftpd
# LOCAL_CFLAGS := -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DNO_ENCRYPTION
LOCAL_CFLAGS := -DNO_ENCRYPTION -DHAS_GETIFADDRS -DANDROID -fPIC
LOCAL_LDLIBS := -lm
LOCAL_C_INCLUDES := \
uftp/common \
uftp/encrypt \
uftp/client \
uftp/android \
uftp
LOCAL_SRC_FILES := \
uftp_common.c \
heartbeat_send.c \
encrypt_none.c \
client_loop.c \
client_announce.c \
client_fileinfo.c \
client_transfer.c \
client_common.c \
client_config.c \
client_init.c \
client_main.c \
ifaddrs_android.c
include $(BUILD_EXECUTABLE)