-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathMakefile.am
62 lines (51 loc) · 1.79 KB
/
Makefile.am
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
AM_CFLAGS= -I${top_srcdir}/src/include \
-I${top_srcdir}/src/util \
-I${top_srcdir}/src/thread \
-I${top_srcdir}/src/io \
-I${top_srcdir}/src/packet/http \
-Wno-unused-result \
-Wno-format-security
EXTRA_DIST = echo_packet.h echo_packet_tbnet.h Makefile.sample http_status.init ssl.conf ca.key ca.crt
AM_LDFLAGS=-lpthread -lm -lcrypto
if !OSX
AM_LDFLAGS+= -lrt
if GCC_LEGACY
AM_LDFLAGS+= -lstdc++
endif
endif
LDADD=${PRESET_LDADD}
noinst_PROGRAMS=echo_server echo_client \
echo_server_tbnet echo_client_tbnet \
http_server http_client \
uthread_test echo_client_uthread \
echo_client_simple \
kfc_test easy_kfc_load easy_kfc_tool echo_server_async \
https_server https_client dns_server proxy_server
echo_server_SOURCES=echo_server.c
echo_client_SOURCES=echo_client.c
echo_server_tbnet_SOURCES=echo_server_tbnet.c
echo_client_tbnet_SOURCES=echo_client_tbnet.c
echo_client_simple_SOURCES=echo_client_simple.c
http_server_SOURCES=http_server.c
dns_server_SOURCES=dns_server.c
http_client_SOURCES=http_client.c
uthread_test_SOURCES=uthread_test.c
echo_client_uthread_SOURCES=echo_client_uthread.c
#press_easy_mem_pool_SOURCES=press_easy_mem_pool.c
if !OSX
http_status_SOURCES=http_status.c
noinst_PROGRAMS+=http_status
endif
kfc_test_SOURCES=kfc_test.c
easy_kfc_load_SOURCES=easy_kfc_load.cpp
easy_kfc_tool_SOURCES=easy_kfc_tool.cpp
echo_server_async_SOURCES=echo_server_async.c
https_server_SOURCES=https_server.c
https_client_SOURCES=https_client.c
am__DEPENDENCIES_1=${PRESET_LDADD}
${PRESET_LDADD}:
rm -f ${top_srcdir}/src/libeasy.la
cd ${top_srcdir}/src && make
echopacket.pb.cpp: echopacket.proto
protoc --cpp_out . $<
rename .cc .cpp *.cc