1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
2 | # Also indentation by a single tab
|
---|
3 |
|
---|
4 | AM_LDFLAGS = -ldl
|
---|
5 | AM_CPPFLAGS = -I$(top_srcdir)/src/ $(BOOST_CPPFLAGS)
|
---|
6 |
|
---|
7 | HELPERSOURCE = \
|
---|
8 | Assert.cpp \
|
---|
9 | Chronos.cpp \
|
---|
10 | errorlogger.cpp \
|
---|
11 | Info.cpp \
|
---|
12 | Log.cpp \
|
---|
13 | logger.cpp \
|
---|
14 | MemDebug.cpp \
|
---|
15 | Verbose.cpp
|
---|
16 |
|
---|
17 | HELPERDEBUGSOURCE = \
|
---|
18 | $(HELPERSOURCE)
|
---|
19 |
|
---|
20 | HELPERHEADER = \
|
---|
21 | $(top_srcdir)/src/CodePatterns/Assert.hpp \
|
---|
22 | $(top_srcdir)/src/CodePatterns/Chronos.hpp \
|
---|
23 | $(top_srcdir)/src/CodePatterns/enumeration.hpp \
|
---|
24 | $(top_srcdir)/src/CodePatterns/errorlogger.hpp \
|
---|
25 | $(top_srcdir)/src/CodePatterns/Info.hpp \
|
---|
26 | $(top_srcdir)/src/CodePatterns/IteratorAdaptors.hpp \
|
---|
27 | $(top_srcdir)/src/CodePatterns/Log.hpp \
|
---|
28 | $(top_srcdir)/src/CodePatterns/logger.hpp \
|
---|
29 | $(top_srcdir)/src/CodePatterns/MemDebug.hpp \
|
---|
30 | $(top_srcdir)/src/CodePatterns/Range.hpp \
|
---|
31 | $(top_srcdir)/src/CodePatterns/toString.hpp \
|
---|
32 | $(top_srcdir)/src/CodePatterns/Verbose.hpp
|
---|
33 |
|
---|
34 | HELPERDEBUGHEADER =
|
---|
35 |
|
---|
36 | noinst_LTLIBRARIES = libcodepatterns-Helpers.la libcodepatterns-Helpers-debug.la
|
---|
37 | libcodepatterns_Helpers_la_includedir = $(includedir)/CodePatterns/
|
---|
38 | libcodepatterns_Helpers_debug_la_includedir = $(includedir)/CodePatterns/
|
---|
39 | libcodepatterns_Helpers_la_LDFLAGS = \
|
---|
40 | $(AM_LDFLAGS) \
|
---|
41 | $(BOOST_THREAD_LDFLAGS) \
|
---|
42 | $(LIBRT) \
|
---|
43 | $(BOOST_THREAD_LIBS)
|
---|
44 | libcodepatterns_Helpers_debug_la_LDFLAGS = \
|
---|
45 | $(AM_LDFLAGS) \
|
---|
46 | $(BOOST_THREAD_LDFLAGS) \
|
---|
47 | $(LIBRT) \
|
---|
48 | $(BOOST_THREAD_LIBS)
|
---|
49 |
|
---|
50 | libcodepatterns_Helpers_la_CPPFLAGS = -DNDEBUG -DNO_MEMDEBUG $(AM_CPPFLAGS)
|
---|
51 | libcodepatterns_Helpers_debug_la_CPPFLAGS = -DMEMDEBUG -DLOG_HELPER $(AM_CPPFLAGS)
|
---|
52 |
|
---|
53 | libcodepatterns_Helpers_la_include_HEADERS = $(HELPERHEADER)
|
---|
54 | libcodepatterns_Helpers_debug_la_include_HEADERS = $(HELPERDEBUGHEADER)
|
---|
55 |
|
---|
56 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
57 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
58 | ## will therefore be treated as if it were literally part of the target name,
|
---|
59 | ## and the variable name derived from that.
|
---|
60 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
61 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
62 | ## from each source file. Note that it is not necessary to list header files
|
---|
63 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
64 | libcodepatterns_Helpers_la_SOURCES = $(HELPERSOURCE)
|
---|
65 | libcodepatterns_Helpers_debug_la_SOURCES = $(HELPERDEBUGSOURCE)
|
---|