source: src/Patterns/Makefile.am@ ef9dff6

Last change on this file since ef9dff6 was e46aa0, checked in by Frederik Heber <heber@…>, 13 years ago

FIX: Usage of boost's cppflags, ldflags and libs was a bit inconsistent.

  • only Helpers and Patterns require boost thread.
  • Property mode set to 100755
File size: 2.8 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4
5INCLUDES = -I$(top_srcdir)/src/
6
7AM_LDFLAGS = -ldl
8AM_CPPFLAGS = ${BOOST_CPPFLAGS}
9
10PATTERNSOURCE =
11
12PATTERNDEBUGSOURCE =
13
14PATTERNHEADER = \
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/Registry_impl.hpp \
25 $(top_srcdir)/src/CodePatterns/Singleton_impl.hpp \
26 $(top_srcdir)/src/CodePatterns/PrototypeFactory.hpp \
27 $(top_srcdir)/src/CodePatterns/PrototypeFactory_impl.hpp \
28 $(top_srcdir)/src/CodePatterns/Registry.hpp \
29 $(top_srcdir)/src/CodePatterns/Singleton.hpp
30
31PATTERNDEBUGHEADER =
32
33noinst_LTLIBRARIES = libCodePatterns-Patterns.la libCodePatterns-Patterns-debug.la
34libCodePatterns_Patterns_la_includedir = $(includedir)/CodePatterns/
35libCodePatterns_Patterns_debug_la_includedir = $(includedir)/CodePatterns/
36libCodePatterns_Patterns_la_LDFLAGS = \
37 $(BOOST_THREAD_LDFLAGS)
38libCodePatterns_Patterns_debug_la_LDFLAGS = \
39 $(BOOST_THREAD_LDFLAGS)
40libCodePatterns_Patterns_la_LIBADD = \
41 $(BOOST_THREAD_LIBS)
42libCodePatterns_Patterns_debug_la_LIBADD = \
43 $(BOOST_THREAD_LIBS)
44
45libCodePatterns_Patterns_la_CPPFLAGS = -DNDEBUG -DNO_MEMDEBUG $(AM_CPPFLAGS)
46libCodePatterns_Patterns_debug_la_CPPFLAGS = -DMEMDEBUG -DLOG_OBSERVER $(AM_CPPFLAGS)
47
48libCodePatterns_Patterns_la_include_HEADERS = $(PATTERNHEADER)
49libCodePatterns_Patterns_debug_la_include_HEADERS = $(PATTERNDEBUGHEADER)
50
51## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
52## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
53## will therefore be treated as if it were literally part of the target name,
54## and the variable name derived from that.
55## The file extension .cc is recognized by Automake, and makes it produce
56## rules which invoke the C++ compiler to produce a libtool object file (.lo)
57## from each source file. Note that it is not necessary to list header files
58## which are already listed elsewhere in a _HEADERS variable assignment.
59libCodePatterns_Patterns_la_SOURCES = $(PATTERNSOURCE)
60libCodePatterns_Patterns_debug_la_SOURCES = $(PATTERNDEBUGSOURCE)
61
62#Observer/all.hpp: FORCE
63# @if (test -d $(top_srcdir)/Patterns/Observer); then \
64# cd $(top_srcdir)/Patterns; \
65# cat >$@ < $(top_srcdir)/Patterns/Observer/all.hpp; \
66# for includefile in Observer/*.hpp; do \
67# echo "#include \"${includefile}\"" >>$@; \
68# done; \
69# echo "#endif /* OBSERVER_ALL_HPP_ */" >>$@; \
70# fi
71
Note: See TracBrowser for help on using the repository browser.