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

AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
4
AM_CPPFLAGS += $(BOOST_INCLUDES)
5

6
AM_CXXFLAGS = $(KEA_CXXFLAGS) -Wno-non-virtual-dtor
7

8 9
EXTRA_DIST = asiolink.dox

10 11
CLEANFILES = *.gcno *.gcda

12 13 14 15 16 17
# This is a wrapper library.

# 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).

18 19
lib_LTLIBRARIES = libkea-asiolink.la

20
libkea_asiolink_la_LDFLAGS = -no-undefined -version-info 7:5:1
21 22

libkea_asiolink_la_SOURCES  = asiolink.h
23
libkea_asiolink_la_SOURCES += asio_wrapper.h
24
libkea_asiolink_la_SOURCES += addr_utilities.cc addr_utilities.h
25 26
libkea_asiolink_la_SOURCES += dummy_io_cb.h
libkea_asiolink_la_SOURCES += interval_timer.cc interval_timer.h
27
libkea_asiolink_la_SOURCES += io_acceptor.h
28 29 30 31 32 33
libkea_asiolink_la_SOURCES += io_address.cc io_address.h
libkea_asiolink_la_SOURCES += io_asio_socket.h
libkea_asiolink_la_SOURCES += io_endpoint.cc io_endpoint.h
libkea_asiolink_la_SOURCES += io_error.h
libkea_asiolink_la_SOURCES += io_service.h io_service.cc
libkea_asiolink_la_SOURCES += io_socket.h io_socket.cc
34
libkea_asiolink_la_SOURCES += tcp_acceptor.h
35 36 37 38
libkea_asiolink_la_SOURCES += tcp_endpoint.h
libkea_asiolink_la_SOURCES += tcp_socket.h
libkea_asiolink_la_SOURCES += udp_endpoint.h
libkea_asiolink_la_SOURCES += udp_socket.h
39
libkea_asiolink_la_SOURCES += unix_domain_socket.cc unix_domain_socket.h
40 41
libkea_asiolink_la_SOURCES += unix_domain_socket_acceptor.h
libkea_asiolink_la_SOURCES += unix_domain_socket_endpoint.h
42

43
# Note: the ordering matters: -Wno-... must follow -Wextra (defined in
44
# KEA_CXXFLAGS)
45 46
libkea_asiolink_la_CXXFLAGS = $(AM_CXXFLAGS)
libkea_asiolink_la_CPPFLAGS = $(AM_CPPFLAGS)
47 48
libkea_asiolink_la_LIBADD  = $(top_builddir)/src/lib/exceptions/libkea-exceptions.la
libkea_asiolink_la_LIBADD += $(BOOST_LIBS)
49

50
# Specify the headers for copying into the installation directory tree.
51
libkea_asiolink_includedir = $(pkgincludedir)/asiolink
52
libkea_asiolink_include_HEADERS = \
53
	addr_utilities.h \
54
	asio_wrapper.h \
55
	asiolink.h \
56
	dummy_io_cb.h \
57
	interval_timer.h \
58 59
	io_acceptor.h \
	io_address.h \
60 61 62 63 64
	io_asio_socket.h \
	io_endpoint.h \
	io_error.h \
	io_service.h \
	io_socket.h \
65
	tcp_acceptor.h \
66
	tcp_endpoint.h \
67
	tcp_socket.h \
68
	udp_endpoint.h \
69 70 71 72
	udp_socket.h \
	unix_domain_socket.h \
	unix_domain_socket_acceptor.h \
	unix_domain_socket_endpoint.h