source: src/Python/Makefile.am@ 9f51f0

Last change on this file since 9f51f0 was 7e3f11a, checked in by Frederik Heber <heber@…>, 12 years ago

Moved PythonScripting into own folder and created convenience library.

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