| 1 |  # PLEASE adhere to the alphabetical ordering in this Makefile!
 | 
|---|
| 2 | # Also indentation by a single tab
 | 
|---|
| 3 | 
 | 
|---|
| 4 | 
 | 
|---|
| 5 | AM_LDFLAGS = -ldl
 | 
|---|
| 6 | AM_CPPFLAGS = -I$(top_srcdir)/src/ ${BOOST_CPPFLAGS}
 | 
|---|
| 7 | 
 | 
|---|
| 8 | PATTERNSOURCE =
 | 
|---|
| 9 | 
 | 
|---|
| 10 | PATTERNDEBUGSOURCE =
 | 
|---|
| 11 | 
 | 
|---|
| 12 | PATTERNHEADER = \
 | 
|---|
| 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 | 
 | 
|---|
| 32 | PATTERNDEBUGHEADER =
 | 
|---|
| 33 | 
 | 
|---|
| 34 | noinst_LTLIBRARIES = libcodepatterns-Patterns.la libcodepatterns-Patterns-debug.la
 | 
|---|
| 35 | libcodepatterns_Patterns_la_includedir = $(includedir)/CodePatterns/
 | 
|---|
| 36 | libcodepatterns_Patterns_debug_la_includedir = $(includedir)/CodePatterns/
 | 
|---|
| 37 | libcodepatterns_Patterns_la_LDFLAGS = \
 | 
|---|
| 38 |         $(AM_LDFLAGS) \
 | 
|---|
| 39 |         $(BOOST_THREAD_LDFLAGS) \
 | 
|---|
| 40 |         $(BOOST_THREAD_LIBS)
 | 
|---|
| 41 | libcodepatterns_Patterns_la_LIBADD =
 | 
|---|
| 42 | libcodepatterns_Patterns_debug_la_LDFLAGS = \
 | 
|---|
| 43 |         $(AM_LDFLAGS) \
 | 
|---|
| 44 |         $(BOOST_THREAD_LDFLAGS) \
 | 
|---|
| 45 |         $(BOOST_THREAD_LIBS)
 | 
|---|
| 46 | libcodepatterns_Patterns_debug_la_LIBADD =
 | 
|---|
| 47 | 
 | 
|---|
| 48 | libcodepatterns_Patterns_la_CPPFLAGS = -DNDEBUG -DNO_MEMDEBUG $(AM_CPPFLAGS)
 | 
|---|
| 49 | libcodepatterns_Patterns_debug_la_CPPFLAGS = -DMEMDEBUG -DLOG_OBSERVER $(AM_CPPFLAGS)
 | 
|---|
| 50 | 
 | 
|---|
| 51 | libcodepatterns_Patterns_la_include_HEADERS = $(PATTERNHEADER)
 | 
|---|
| 52 | libcodepatterns_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.
 | 
|---|
| 62 | libcodepatterns_Patterns_la_SOURCES = $(PATTERNSOURCE)
 | 
|---|
| 63 | libcodepatterns_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 | 
 | 
|---|