1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
2 | # Also indentation by a single tab
|
---|
3 |
|
---|
4 | #INCLUDES = -I$(top_srcdir)/src
|
---|
5 |
|
---|
6 | # Position-Independent Code necessary for shared library
|
---|
7 | #AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl ${BOOST_LDFLAGS}
|
---|
8 | #AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
|
---|
9 |
|
---|
10 | RANDOMSOURCE = \
|
---|
11 | RandomNumbers/RandomNumberDistribution_Encapsulation.cpp \
|
---|
12 | RandomNumbers/RandomNumberDistribution_Parameters.cpp \
|
---|
13 | RandomNumbers/RandomNumberDistributionFactory.cpp \
|
---|
14 | RandomNumbers/RandomNumberEngine_Encapsulation.cpp \
|
---|
15 | RandomNumbers/RandomNumberEngine_Parameters.cpp \
|
---|
16 | RandomNumbers/RandomNumberEngineFactory.cpp \
|
---|
17 | RandomNumbers/RandomNumberGenerator.cpp \
|
---|
18 | RandomNumbers/RandomNumberGeneratorFactory.cpp \
|
---|
19 | RandomNumbers/TemplatePowerSetGenerator.hpp \
|
---|
20 | RandomNumbers/EmptyPrototypeTable.hpp
|
---|
21 |
|
---|
22 | RANDOMHEADER = \
|
---|
23 | RandomNumbers/RandomNumberDistribution.hpp \
|
---|
24 | RandomNumbers/RandomNumberDistribution_Parameters.hpp \
|
---|
25 | RandomNumbers/RandomNumberDistribution_Encapsulation.hpp \
|
---|
26 | RandomNumbers/RandomNumberDistributionFactory.hpp \
|
---|
27 | RandomNumbers/RandomNumberEngine.hpp \
|
---|
28 | RandomNumbers/RandomNumberEngine_Encapsulation.hpp \
|
---|
29 | RandomNumbers/RandomNumberEngine_Parameters.hpp \
|
---|
30 | RandomNumbers/RandomNumberEngineFactory.hpp \
|
---|
31 | RandomNumbers/RandomNumberGenerator.hpp \
|
---|
32 | RandomNumbers/RandomNumberGenerator_Encapsulation.hpp \
|
---|
33 | RandomNumbers/RandomNumberGeneratorFactory.hpp
|
---|
34 |
|
---|
35 | RANDOMDEFS = \
|
---|
36 | RandomNumbers/RandomNumberDistributionFactory.def \
|
---|
37 | RandomNumbers/RandomNumberDistributionFactory.undef \
|
---|
38 | RandomNumbers/RandomNumberEngineFactory.def \
|
---|
39 | RandomNumbers/RandomNumberEngineFactory.undef \
|
---|
40 | RandomNumbers/RandomNumberGeneratorFactory.def \
|
---|
41 | RandomNumbers/RandomNumberGeneratorFactory.undef
|
---|
42 |
|
---|
43 | lib_LTLIBRARIES += libMolecuilderRandomNumbers.la
|
---|
44 | libMolecuilderRandomNumbers_includedir = $(includedir)/MoleCuilder/RandomNumbers/
|
---|
45 | nobase_libMolecuilderRandomNumbers_include_HEADERS = ${RANDOMHEADER} ${RANDOMDEFS}
|
---|
46 |
|
---|
47 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
48 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
49 | ## will therefore be treated as if it were literally part of the target name,
|
---|
50 | ## and the variable name derived from that.
|
---|
51 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
52 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
53 | ## from each source file. Note that it is not necessary to list header files
|
---|
54 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
55 | libMolecuilderRandomNumbers_la_SOURCES = ${RANDOMSOURCE}
|
---|
56 |
|
---|
57 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
58 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
59 | ## that all version information is kept in one place.
|
---|
60 | libMolecuilderRandomNumbers_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
---|
61 |
|
---|
62 | ## The generated configuration header is installed in its own subdirectory of
|
---|
63 | ## $(libdir). The reason for this is that the configuration information put
|
---|
64 | ## into this header file describes the target platform the installed library
|
---|
65 | ## has been built for. Thus the file must not be installed into a location
|
---|
66 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
67 | ## Hierarchy Standard (FHS).
|
---|
68 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
69 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
70 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
71 | ## configuration header file is generated at configure time and should not be
|
---|
72 | ## shipped with the source tarball.
|
---|
73 | libMolecuilderRandomNumbers_libincludedir = $(libdir)/MoleCuilder/include
|
---|
74 | nodist_libMolecuilderRandomNumbers_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|