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