Makefile.am 1.22 KB
Newer Older
Evan Hunt's avatar
Evan Hunt committed
1 2 3 4
SUBDIRS = . tests

AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += -I$(top_srcdir)/src/lib/dns -I$(top_builddir)/src/lib/dns
5
AM_CPPFLAGS += $(BOOST_INCLUDES)
Evan Hunt's avatar
Evan Hunt committed
6 7
AM_CPPFLAGS += $(SQLITE_CFLAGS)

8 9
AM_CXXFLAGS = $(B10_CXXFLAGS)

Evan Hunt's avatar
Evan Hunt committed
10 11 12 13 14 15 16
CLEANFILES = *.gcno *.gcda

lib_LTLIBRARIES = libdatasrc.la
libdatasrc_la_SOURCES = data_source.h data_source.cc
libdatasrc_la_SOURCES += static_datasrc.h static_datasrc.cc
libdatasrc_la_SOURCES += sqlite3_datasrc.h sqlite3_datasrc.cc
libdatasrc_la_SOURCES += query.h query.cc
Evan Hunt's avatar
Evan Hunt committed
17
libdatasrc_la_SOURCES += cache.h cache.cc
Michal Vaner's avatar
Michal Vaner committed
18
libdatasrc_la_SOURCES += rbtree.h
19
libdatasrc_la_SOURCES += zonetable.h zonetable.cc
20
libdatasrc_la_SOURCES += memory_datasrc.h memory_datasrc.cc
Michal Vaner's avatar
Michal Vaner committed
21 22
libdatasrc_la_SOURCES += zone.h
libdatasrc_la_SOURCES += result.h
23 24
libdatasrc_la_SOURCES += messagedef.h messagedef.cc

25 26 27 28 29
libdatasrc_la_LIBADD = $(top_builddir)/src/lib/exceptions/libexceptions.la
libdatasrc_la_LIBADD += $(top_builddir)/src/lib/dns/libdns++.la
libdatasrc_la_LIBADD += $(top_builddir)/src/lib/log/liblog.la
libdatasrc_la_LIBADD += $(top_builddir)/src/lib/cc/libcc.la

30 31 32
BUILT_SOURCES = messagedef.h messagedef.cc
messagedef.h messagedef.cc: Makefile messagedef.mes
	$(top_builddir)/src/lib/log/compiler/message messagedef.mes