Makefile.am 1.34 KB
Newer Older
1
SUBDIRS = . compiler tests
2 3 4

AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib
AM_CPPFLAGS += $(BOOST_INCLUDES)
5
# AM_CPPFLAGS += $(LOG4CXX_INCLUDES)
6 7 8
AM_CPPFLAGS += -I$(top_srcdir)/src/lib/log -I$(top_builddir)/src/lib/log

CLEANFILES = *.gcno *.gcda
9 10

lib_LTLIBRARIES = liblog.la
11
liblog_la_SOURCES  =
12
liblog_la_SOURCES += debug_levels.h logger_levels.h
13
liblog_la_SOURCES += dummylog.h dummylog.cc
14
liblog_la_SOURCES += filename.h filename.cc
15
liblog_la_SOURCES += logger.cc logger.h
16
liblog_la_SOURCES += logger_impl.cc logger_impl.h
17
liblog_la_SOURCES += logger_support.cc logger_support.h
18 19 20 21
liblog_la_SOURCES += messagedef.cc messagedef.h
liblog_la_SOURCES += message_dictionary.cc message_dictionary.h
liblog_la_SOURCES += message_exception.h message_exception.cc
liblog_la_SOURCES += message_initializer.cc message_initializer.h
22
liblog_la_SOURCES += message_reader.cc message_reader.h
23
liblog_la_SOURCES += message_types.h
24 25
liblog_la_SOURCES += root_logger_name.cc root_logger_name.h
liblog_la_SOURCES += strutil.h strutil.cc
26

27 28 29 30 31 32 33 34 35 36 37
# Note: the ordering matters: -Wno-... must follow -Wextra (defined in
# B10_CXXFLAGS)
liblog_la_CXXFLAGS = $(AM_CXXFLAGS)
if USE_GXX
liblog_la_CXXFLAGS += -Wno-unused-parameter
endif
if USE_CLANGPP
# Same for clang++, but we need to turn off -Werror completely.
liblog_la_CXXFLAGS += -Wno-error
endif
liblog_la_CPPFLAGS = $(AM_CPPFLAGS)