[1ee3b8d] | 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
|
---|
| 8 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
|
---|
| 9 |
|
---|
| 10 | RANDOMSOURCE = \
|
---|
| 11 | RandomNumberDistribution_Encapsulation.cpp \
|
---|
[0275ad] | 12 | RandomNumberDistribution_Parameters.cpp \
|
---|
[1ee3b8d] | 13 | RandomNumberDistributionFactory.cpp \
|
---|
| 14 | RandomNumberEngine_Encapsulation.cpp \
|
---|
[0275ad] | 15 | RandomNumberEngine_Parameters.cpp \
|
---|
[1ee3b8d] | 16 | RandomNumberEngineFactory.cpp \
|
---|
| 17 | RandomNumberGenerator.cpp \
|
---|
| 18 | RandomNumberGeneratorFactory.cpp \
|
---|
| 19 | TemplatePowerSetGenerator.hpp \
|
---|
| 20 | EmptyPrototypeTable.hpp
|
---|
| 21 |
|
---|
| 22 | RANDOMHEADER = \
|
---|
| 23 | RandomNumberDistribution.hpp \
|
---|
[0275ad] | 24 | RandomNumberDistribution_Parameters.hpp \
|
---|
[1ee3b8d] | 25 | RandomNumberDistribution_Encapsulation.hpp \
|
---|
| 26 | RandomNumberDistributionFactory.hpp \
|
---|
| 27 | RandomNumberEngine.hpp \
|
---|
| 28 | RandomNumberEngine_Encapsulation.hpp \
|
---|
[0275ad] | 29 | RandomNumberEngine_Parameters.hpp \
|
---|
[1ee3b8d] | 30 | RandomNumberEngineFactory.hpp \
|
---|
| 31 | RandomNumberGenerator.hpp \
|
---|
| 32 | RandomNumberGenerator_Encapsulation.hpp \
|
---|
| 33 | RandomNumberGeneratorFactory.hpp
|
---|
| 34 |
|
---|
| 35 | lib_LTLIBRARIES = libMolecuilderRandomNumbers.la
|
---|
| 36 | libMolecuilderRandomNumbers_includedir = $(includedir)/MoleCuilder/RandomNumbers/
|
---|
| 37 | #libMolecuilderRandomNumbers_libs =
|
---|
| 38 | # $(GSL_LIBS)
|
---|
| 39 | nobase_libMolecuilderRandomNumbers_include_HEADERS = ${RANDOMHEADER}
|
---|
| 40 |
|
---|
| 41 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
| 42 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
| 43 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 44 | ## and the variable name derived from that.
|
---|
| 45 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 46 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 47 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 48 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
| 49 | libMolecuilderRandomNumbers_la_SOURCES = ${RANDOMSOURCE}
|
---|
| 50 |
|
---|
| 51 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 52 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 53 | ## that all version information is kept in one place.
|
---|
| 54 | libMolecuilderRandomNumbers_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
---|
| 55 |
|
---|
| 56 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 57 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 58 | ## into this header file describes the target platform the installed library
|
---|
| 59 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 60 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 61 | ## Hierarchy Standard (FHS).
|
---|
| 62 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 63 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 64 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 65 | ## configuration header file is generated at configure time and should not be
|
---|
| 66 | ## shipped with the source tarball.
|
---|
| 67 | #libMolecuilderRandomNumbers_libincludedir = $(libdir)/MoleCuilder/include
|
---|
| 68 | #nodist_libMolecuilderRandomNumbers_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
| 69 |
|
---|
| 70 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
| 71 | ## architecture-dependent package configuration information. Occasionally,
|
---|
| 72 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
| 73 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
| 74 | #pkgconfigdir = $(libdir)/pkgconfig
|
---|
| 75 | #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
|
---|
| 76 |
|
---|
| 77 | unity.cpp:
|
---|
| 78 | echo "" > unity.cpp; \
|
---|
| 79 | list='$(LINALGSOURCE)'; for file in $$list; do \
|
---|
| 80 | echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
|
---|
| 81 | done;
|
---|
| 82 |
|
---|
| 83 | MOSTLYCLEANFILES = unity.cpp
|
---|