Makefile.am 1.15 KB
Newer Older
1
SUBDIRS = . tests
JINMEI Tatuya's avatar
JINMEI Tatuya committed
2

3
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
4
AM_CPPFLAGS += -I$(top_builddir)/src/lib/cc
5
AM_CPPFLAGS += -I$(top_srcdir)/src/lib/log -I$(top_builddir)/src/lib/log
6
AM_CPPFLAGS += $(BOOST_INCLUDES)
Jeremy C. Reed's avatar
Jeremy C. Reed committed
7

8
# Define rule to build logging source files from message file
9 10
config_messages.h config_messages.cc: config_messages.mes
	$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/config/config_messages.mes
11

12
BUILT_SOURCES = config_messages.h config_messages.cc
13

14
lib_LTLIBRARIES = libcfgclient.la
15 16 17
libcfgclient_la_SOURCES = config_data.h config_data.cc
libcfgclient_la_SOURCES += module_spec.h module_spec.cc
libcfgclient_la_SOURCES += ccsession.cc ccsession.h
18 19
libcfgclient_la_SOURCES += config_log.h config_log.cc

20
libcfgclient_la_LIBADD = $(top_builddir)/src/lib/cc/libcc.la
21
libcfgclient_la_LIBADD += $(top_builddir)/src/lib/exceptions/libb10-exceptions.la
22

23 24
libcfgclient_la_LDFLAGS = -no-undefined -version-info 1:0:1

25
nodist_libcfgclient_la_SOURCES  = config_messages.h config_messages.cc
26 27

# The message file should be in the distribution.
28
EXTRA_DIST = config_messages.mes
Jeremy C. Reed's avatar
Jeremy C. Reed committed
29

30
CLEANFILES = *.gcno *.gcda config_messages.h config_messages.cc