source: src/Patterns/Makefile.am@ 9e619e

Last change on this file since 9e619e was 315a1e, checked in by Frederik Heber <heber@…>, 10 years ago

FIX: Fixed several lintian warnings when making debian package.

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