source: src/Element/Makefile.am@ aadea2

Last change on this file since aadea2 was 214240, checked in by Frederik Heber <heber@…>, 12 years ago

FIX: Most of the includedirs were wrongly set.

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