| 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 | OBSERVERSOURCE = \ | 
|---|
| 9 | Channels.cpp \ | 
|---|
| 10 | GlobalObservableInfo.cpp \ | 
|---|
| 11 | Graveyard.cpp \ | 
|---|
| 12 | Notification.cpp \ | 
|---|
| 13 | Observable.cpp \ | 
|---|
| 14 | Observer.cpp \ | 
|---|
| 15 | Relay.cpp | 
|---|
| 16 |  | 
|---|
| 17 | OBSERVERDEBUGSOURCE = \ | 
|---|
| 18 | $(OBSERVERSOURCE) \ | 
|---|
| 19 | ObserverLog.cpp | 
|---|
| 20 |  | 
|---|
| 21 | OBSERVERHEADER = \ | 
|---|
| 22 | $(top_srcdir)/src/CodePatterns/Observer/all.hpp \ | 
|---|
| 23 | $(top_srcdir)/src/CodePatterns/Observer/Channels.hpp \ | 
|---|
| 24 | $(top_srcdir)/src/CodePatterns/Observer/defs.hpp \ | 
|---|
| 25 | $(top_srcdir)/src/CodePatterns/Observer/GlobalObservableInfo.hpp \ | 
|---|
| 26 | $(top_srcdir)/src/CodePatterns/Observer/Graveyard.hpp \ | 
|---|
| 27 | $(top_srcdir)/src/CodePatterns/Observer/Notification.hpp \ | 
|---|
| 28 | $(top_srcdir)/src/CodePatterns/Observer/Observable.hpp \ | 
|---|
| 29 | $(top_srcdir)/src/CodePatterns/Observer/Observer.hpp \ | 
|---|
| 30 | $(top_srcdir)/src/CodePatterns/Observer/ObservedContainer.hpp \ | 
|---|
| 31 | $(top_srcdir)/src/CodePatterns/Observer/ObserverLog.hpp \ | 
|---|
| 32 | $(top_srcdir)/src/CodePatterns/Observer/ObservedIterator.hpp \ | 
|---|
| 33 | $(top_srcdir)/src/CodePatterns/Observer/ObservedContainer_impl.hpp \ | 
|---|
| 34 | $(top_srcdir)/src/CodePatterns/Observer/UnobservedIterator.hpp \ | 
|---|
| 35 | $(top_srcdir)/src/CodePatterns/Observer/Relay.hpp \ | 
|---|
| 36 | $(top_srcdir)/src/CodePatterns/Observer/Zombie.hpp | 
|---|
| 37 |  | 
|---|
| 38 | OBSERVERDEBUGHEADER = | 
|---|
| 39 |  | 
|---|
| 40 | noinst_LTLIBRARIES = libcodepatterns-Observer.la libcodepatterns-Observer-debug.la | 
|---|
| 41 | libcodepatterns_Observer_la_includedir = $(includedir)/CodePatterns/Observer/ | 
|---|
| 42 | libcodepatterns_Observer_debug_la_includedir = $(includedir)/CodePatterns/Observer/ | 
|---|
| 43 |  | 
|---|
| 44 | libcodepatterns_Observer_la_CPPFLAGS = -DNDEBUG -DNO_MEMDEBUG $(AM_CPPFLAGS) | 
|---|
| 45 | libcodepatterns_Observer_debug_la_CPPFLAGS = -DMEMDEBUG -DLOG_OBSERVER $(AM_CPPFLAGS) | 
|---|
| 46 |  | 
|---|
| 47 | libcodepatterns_Observer_la_include_HEADERS = $(OBSERVERHEADER) | 
|---|
| 48 | libcodepatterns_Observer_debug_la_include_HEADERS = $(OBSERVERDEBUGHEADER) | 
|---|
| 49 |  | 
|---|
| 50 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la" | 
|---|
| 51 | ## target.  Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and | 
|---|
| 52 | ## will therefore be treated as if it were literally part of the target name, | 
|---|
| 53 | ## and the variable name derived from that. | 
|---|
| 54 | ## The file extension .cc is recognized by Automake, and makes it produce | 
|---|
| 55 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo) | 
|---|
| 56 | ## from each source file.  Note that it is not necessary to list header files | 
|---|
| 57 | ## which are already listed elsewhere in a _HEADERS variable assignment. | 
|---|
| 58 | libcodepatterns_Observer_la_SOURCES = $(OBSERVERSOURCE) | 
|---|
| 59 | libcodepatterns_Observer_debug_la_SOURCES = $(OBSERVERDEBUGSOURCE) | 
|---|
| 60 |  | 
|---|
| 61 | #Observer/all.hpp: FORCE | 
|---|
| 62 | #       @if (test -d $(top_srcdir)/Patterns/Observer); then \ | 
|---|
| 63 | #         cd $(top_srcdir)/Patterns; \ | 
|---|
| 64 | #         cat >$@ < $(top_srcdir)/Patterns/Observer/all.hpp; \ | 
|---|
| 65 | #         for includefile in Observer/*.hpp; do \ | 
|---|
| 66 | #               echo "#include \"${includefile}\"" >>$@; \ | 
|---|
| 67 | #         done; \ | 
|---|
| 68 | #         echo "#endif /* OBSERVER_ALL_HPP_ */" >>$@; \ | 
|---|
| 69 | #       fi | 
|---|
| 70 |  | 
|---|