Makefile.am 1.54 KB
Newer Older
1
SUBDIRS = . tests
2 3

AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
4
AM_CPPFLAGS += $(BOOST_INCLUDES)
5 6 7 8 9 10 11 12 13 14
AM_CPPFLAGS += -I$(top_srcdir)/src/lib/dns -I$(top_builddir)/src/lib/dns

AM_CXXFLAGS = $(B10_CXXFLAGS)

CLEANFILES = *.gcno *.gcda

# This is a wrapper library solely used for b10-auth.  The ASIO header files
# have some code fragments that would hit gcc's unused-parameter warning,
# which would make the build fail with -Werror (our default setting).
lib_LTLIBRARIES = libasiolink.la
Stephen Morris's avatar
Stephen Morris committed
15
libasiolink_la_SOURCES  = asiolink.h
16
libasiolink_la_SOURCES += asiolink_utilities.h
17
libasiolink_la_SOURCES += dummy_io_cb.h
18 19
libasiolink_la_SOURCES += interval_timer.cc interval_timer.h
libasiolink_la_SOURCES += io_address.cc io_address.h
20
libasiolink_la_SOURCES += io_asio_socket.h
21
libasiolink_la_SOURCES += io_endpoint.cc io_endpoint.h
22
libasiolink_la_SOURCES += io_error.h
23
libasiolink_la_SOURCES += io_message.h
Stephen Morris's avatar
Stephen Morris committed
24 25 26 27 28
libasiolink_la_SOURCES += io_service.h io_service.cc
libasiolink_la_SOURCES += io_socket.h io_socket.cc
libasiolink_la_SOURCES += simple_callback.h
libasiolink_la_SOURCES += tcp_endpoint.h
libasiolink_la_SOURCES += tcp_socket.h
29
libasiolink_la_SOURCES += udp_endpoint.h
Stephen Morris's avatar
Stephen Morris committed
30
libasiolink_la_SOURCES += udp_socket.h
31

32 33 34
# Note: the ordering matters: -Wno-... must follow -Wextra (defined in
# B10_CXXFLAGS)
libasiolink_la_CXXFLAGS = $(AM_CXXFLAGS)
35 36 37 38
if USE_CLANGPP
# Same for clang++, but we need to turn off -Werror completely.
libasiolink_la_CXXFLAGS += -Wno-error
endif
39
libasiolink_la_CPPFLAGS = $(AM_CPPFLAGS)
40
libasiolink_la_LIBADD = $(top_builddir)/src/lib/log/liblog.la