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