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

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

CLEANFILES = *.gcno *.gcda
7 8

lib_LTLIBRARIES = liblog.la
9
liblog_la_SOURCES  =
10
liblog_la_SOURCES += dummylog.h dummylog.cc
11
liblog_la_SOURCES += impldef.cc impldef.h
12
liblog_la_SOURCES += log_formatter.h log_formatter.cc
13
liblog_la_SOURCES += logger.cc logger.h
14
liblog_la_SOURCES += logger_impl.cc logger_impl.h
15
liblog_la_SOURCES += logger_level.h
16
liblog_la_SOURCES += logger_level.cc logger_level.h
17
liblog_la_SOURCES += logger_level_impl.cc logger_level_impl.h
Stephen Morris's avatar
Stephen Morris committed
18
liblog_la_SOURCES += logger_manager.cc logger_manager.h
Stephen Morris's avatar
Stephen Morris committed
19
liblog_la_SOURCES += logger_manager_impl.cc logger_manager_impl.h
20
liblog_la_SOURCES += logger_name.cc logger_name.h
21
liblog_la_SOURCES += logger_specification.h
22
liblog_la_SOURCES += logger_support.cc logger_support.h
23
liblog_la_SOURCES += macros.h
24 25
liblog_la_SOURCES += messagedef.cc messagedef.h
liblog_la_SOURCES += message_dictionary.cc message_dictionary.h
Stephen Morris's avatar
Stephen Morris committed
26
liblog_la_SOURCES += message_exception.h
27
liblog_la_SOURCES += message_initializer.cc message_initializer.h
28
liblog_la_SOURCES += message_reader.cc message_reader.h
29
liblog_la_SOURCES += message_types.h
30
liblog_la_SOURCES += output_option.cc output_option.h
31

32
EXTRA_DIST  = README
33
EXTRA_DIST += impldef.mes
34
EXTRA_DIST += messagedef.mes
35

36 37 38 39 40 41 42 43 44 45
# 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
46 47 48
liblog_la_CPPFLAGS = $(AM_CPPFLAGS) $(LOG4CPLUS_INCLUDES)
liblog_la_LDFLAGS  = $(LOG4CPLUS_LDFLAGS)
liblog_la_LIBADD   = $(top_builddir)/src/lib/util/libutil.la