summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asio/src/examples/cpp17/Makefile.am
blob: c3a571c02f40694bb9306e73eb0fe9b9c8ef6772 (plain) (blame)
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
AUTOMAKE_OPTIONS = subdir-objects

if SEPARATE_COMPILATION
noinst_LIBRARIES = libasio.a
libasio_a_SOURCES = ../../asio.cpp
if HAVE_OPENSSL
libasio_a_SOURCES += ../../asio_ssl.cpp
endif
LDADD = libasio.a
endif

if HAVE_COROUTINES
noinst_PROGRAMS = \
	coroutines_ts/chat_server \
	coroutines_ts/echo_server \
	coroutines_ts/echo_server_with_default \
	coroutines_ts/echo_server_with_as_single_default \
	coroutines_ts/echo_server_with_as_tuple_default \
	coroutines_ts/refactored_echo_server
endif

AM_CXXFLAGS = -I$(srcdir)/../../../include

if HAVE_COROUTINES
coroutines_ts_chat_server_SOURCES = coroutines_ts/chat_server.cpp
coroutines_ts_echo_server_SOURCES = coroutines_ts/echo_server.cpp
coroutines_ts_echo_server_with_default_SOURCES = coroutines_ts/echo_server_with_default.cpp
coroutines_ts_echo_server_with_as_single_default_SOURCES = coroutines_ts/echo_server_with_as_single_default.cpp
coroutines_ts_echo_server_with_as_tuple_default_SOURCES = coroutines_ts/echo_server_with_as_tuple_default.cpp
coroutines_ts_refactored_echo_server_SOURCES = coroutines_ts/refactored_echo_server.cpp
endif

EXTRA_DIST = \
	coroutines_ts/range_based_for.cpp

MAINTAINERCLEANFILES = \
	$(srcdir)/Makefile.in