[7e3f11a] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
| 2 | # Also indentation by a single tab
|
---|
| 3 |
|
---|
| 4 | PYTHONSOURCE = \
|
---|
[cc6e5c] | 5 | Python/exit.cpp \
|
---|
| 6 | Python/getBoundingBox.cpp \
|
---|
| 7 | Python/getDomainVolume.cpp \
|
---|
| 8 | Python/getSelectedMolarMass.cpp \
|
---|
| 9 | Python/PythonScripting.cpp \
|
---|
[415ddd] | 10 | Python/reinit.cpp \
|
---|
| 11 | Python/wait.cpp
|
---|
[7e3f11a] | 12 |
|
---|
| 13 | PYTHONHEADER = \
|
---|
[cc6e5c] | 14 | Python/modules.hpp \
|
---|
[7e3f11a] | 15 | Python/PythonScripting_impl.hpp \
|
---|
| 16 | Python/PythonScripting.hpp
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | noinst_LTLIBRARIES += libMolecuilderPython.la
|
---|
| 20 | libMolecuilderPython_la_includedir = $(includedir)/MoleCuilder/
|
---|
| 21 | libMolecuilderPython_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(PYTHON_INCLUDE_DIR)
|
---|
| 22 | libMolecuilderPython_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_PYTHON_LDFLAGS)
|
---|
| 23 | libMolecuilderPython_la_LIBADD = \
|
---|
| 24 | $(BOOST_PYTHON_LIBS) \
|
---|
| 25 | ${CodePatterns_LIBS} \
|
---|
| 26 | -l$(PYTHON_LIB)
|
---|
| 27 |
|
---|
| 28 | nobase_libMolecuilderPython_la_include_HEADERS = ${PYTHONHEADER}
|
---|
| 29 |
|
---|
| 30 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
| 31 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
| 32 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 33 | ## and the variable name derived from that.
|
---|
| 34 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 35 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 36 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 37 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
| 38 | libMolecuilderPython_la_SOURCES = ${PYTHONSOURCE}
|
---|
| 39 |
|
---|
| 40 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 41 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 42 | ## that all version information is kept in one place.
|
---|
| 43 | #libMolecuilderPython_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
---|
| 44 |
|
---|
| 45 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 46 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 47 | ## into this header file describes the target platform the installed library
|
---|
| 48 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 49 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 50 | ## Hierarchy Standard (FHS).
|
---|
| 51 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 52 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 53 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 54 | ## configuration header file is generated at configure time and should not be
|
---|
| 55 | ## shipped with the source tarball.
|
---|
| 56 | #libMolecuilderPython_libincludedir = $(libdir)/MoleCuilder/include
|
---|
| 57 | #nodist_libMolecuilderPython_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
| 58 |
|
---|
| 59 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
| 60 | ## architecture-dependent package configuration information. Occasionally,
|
---|
| 61 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
| 62 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
| 63 | #pkgconfigdir = $(libdir)/pkgconfig
|
---|
| 64 | #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
|
---|