source: ThirdParty/CodePatterns/src/Patterns/Makefile.am

Candidate_v1.6.1
Last change on this file was 41e8e2, checked in by Frederik Heber <heber@…>, 8 years ago

Merge commit '084729c5923f0123e695fbe2548b393288c1f13d' as 'ThirdParty/CodePatterns'

  • Property mode set to 100755
File size: 3.0 KB
Line 
1 # PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4
5AM_LDFLAGS = -ldl
6AM_CPPFLAGS = -I$(top_srcdir)/src/ ${BOOST_CPPFLAGS}
7
8PATTERNSOURCE =
9
10PATTERNDEBUGSOURCE =
11
12PATTERNHEADER = \
13 $(top_srcdir)/src/CodePatterns/AtomicInstance.hpp \
14 $(top_srcdir)/src/CodePatterns/AtomicInstance_impl.hpp \
15 $(top_srcdir)/src/CodePatterns/Cacheable.hpp \
16 $(top_srcdir)/src/CodePatterns/Clone.hpp \
17 $(top_srcdir)/src/CodePatterns/Creator.hpp \
18 $(top_srcdir)/src/CodePatterns/Factory.hpp \
19 $(top_srcdir)/src/CodePatterns/Factory_impl.hpp \
20 $(top_srcdir)/src/CodePatterns/FactoryTypeList.hpp \
21 $(top_srcdir)/src/CodePatterns/ManipulableClone.hpp \
22 $(top_srcdir)/src/CodePatterns/ManipulablePrototypeFactory.hpp \
23 $(top_srcdir)/src/CodePatterns/ManipulablePrototypeFactory_impl.hpp \
24 $(top_srcdir)/src/CodePatterns/ObservedValue.hpp \
25 $(top_srcdir)/src/CodePatterns/PrototypeFactory.hpp \
26 $(top_srcdir)/src/CodePatterns/PrototypeFactory_impl.hpp \
27 $(top_srcdir)/src/CodePatterns/Registry.hpp \
28 $(top_srcdir)/src/CodePatterns/Registry_impl.hpp \
29 $(top_srcdir)/src/CodePatterns/Singleton.hpp \
30 $(top_srcdir)/src/CodePatterns/Singleton_impl.hpp
31
32PATTERNDEBUGHEADER =
33
34noinst_LTLIBRARIES = libcodepatterns-Patterns.la libcodepatterns-Patterns-debug.la
35libcodepatterns_Patterns_la_includedir = $(includedir)/CodePatterns/
36libcodepatterns_Patterns_debug_la_includedir = $(includedir)/CodePatterns/
37libcodepatterns_Patterns_la_LDFLAGS = \
38 $(AM_LDFLAGS) \
39 $(BOOST_THREAD_LDFLAGS) \
40 $(BOOST_THREAD_LIBS)
41libcodepatterns_Patterns_la_LIBADD =
42libcodepatterns_Patterns_debug_la_LDFLAGS = \
43 $(AM_LDFLAGS) \
44 $(BOOST_THREAD_LDFLAGS) \
45 $(BOOST_THREAD_LIBS)
46libcodepatterns_Patterns_debug_la_LIBADD =
47
48libcodepatterns_Patterns_la_CPPFLAGS = -DNDEBUG -DNO_MEMDEBUG $(AM_CPPFLAGS)
49libcodepatterns_Patterns_debug_la_CPPFLAGS = -DMEMDEBUG -DLOG_OBSERVER $(AM_CPPFLAGS)
50
51libcodepatterns_Patterns_la_include_HEADERS = $(PATTERNHEADER)
52libcodepatterns_Patterns_debug_la_include_HEADERS = $(PATTERNDEBUGHEADER)
53
54## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
55## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
56## will therefore be treated as if it were literally part of the target name,
57## and the variable name derived from that.
58## The file extension .cc is recognized by Automake, and makes it produce
59## rules which invoke the C++ compiler to produce a libtool object file (.lo)
60## from each source file. Note that it is not necessary to list header files
61## which are already listed elsewhere in a _HEADERS variable assignment.
62libcodepatterns_Patterns_la_SOURCES = $(PATTERNSOURCE)
63libcodepatterns_Patterns_debug_la_SOURCES = $(PATTERNDEBUGSOURCE)
64
65#Observer/all.hpp: FORCE
66# @if (test -d $(top_srcdir)/Patterns/Observer); then \
67# cd $(top_srcdir)/Patterns; \
68# cat >$@ < $(top_srcdir)/Patterns/Observer/all.hpp; \
69# for includefile in Observer/*.hpp; do \
70# echo "#include \"${includefile}\"" >>$@; \
71# done; \
72# echo "#endif /* OBSERVER_ALL_HPP_ */" >>$@; \
73# fi
74
Note: See TracBrowser for help on using the repository browser.