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

AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
4
AM_CPPFLAGS += $(BOOST_INCLUDES) $(MULTITHREADING_FLAG)
5 6 7 8 9
AM_CPPFLAGS += -I$(top_srcdir)/src/lib/dns -I$(top_builddir)/src/lib/dns
AM_CPPFLAGS += -I$(top_srcdir)/src/lib/nsas -I$(top_builddir)/src/lib/nsas
AM_CPPFLAGS += $(SQLITE_CFLAGS)
AM_CXXFLAGS = $(B10_CXXFLAGS)

10 11 12
# Some versions of GCC warn about some versions of Boost regarding
# missing initializer for members in its posix_time.
# https://svn.boost.org/trac/boost/ticket/3477
13 14
# But older GCC compilers don't have the flag.
AM_CXXFLAGS += $(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG)
15

16 17 18 19 20 21
if USE_CLANGPP
# clang++ complains about unused function parameters in some boost header
# files.
AM_CXXFLAGS += -Wno-unused-parameter
endif

22 23
lib_LTLIBRARIES = libnsas.la
libnsas_la_SOURCES  = address_entry.h address_entry.cc
24
libnsas_la_SOURCES += asiolink.h
25
libnsas_la_SOURCES += hash.cc hash.h
26 27
libnsas_la_SOURCES += hash_deleter.h
libnsas_la_SOURCES += hash_key.cc hash_key.h
28
libnsas_la_SOURCES += locks.h
29 30
libnsas_la_SOURCES += hash_table.h
libnsas_la_SOURCES += lru_list.h
31
libnsas_la_SOURCES += nameserver_address_store.cc nameserver_address_store.h
32
libnsas_la_SOURCES += nameserver_address.h nameserver_address.cc
33
libnsas_la_SOURCES += nameserver_entry.cc nameserver_entry.h
34
libnsas_la_SOURCES += nsas_entry_compare.h
Michal Vaner's avatar
Michal Vaner committed
35
libnsas_la_SOURCES += nsas_entry.h nsas_types.h
Michal Vaner's avatar
Michal Vaner committed
36
libnsas_la_SOURCES += zone_entry.cc zone_entry.h
Michal Vaner's avatar
Michal Vaner committed
37
libnsas_la_SOURCES += fetchable.h
Michal Vaner's avatar
Michal Vaner committed
38
libnsas_la_SOURCES += address_request_callback.h
Michal Vaner's avatar
Michal Vaner committed
39
libnsas_la_SOURCES += random_number_generator.h
40 41

CLEANFILES = *.gcno *.gcda