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