1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
2 | # Also indentation by a single tab
|
---|
3 |
|
---|
4 | SHAPESOURCE = \
|
---|
5 | Shapes/BaseShapes.cpp \
|
---|
6 | Shapes/Shape.cpp \
|
---|
7 | Shapes/ShapeOps.cpp
|
---|
8 | SHAPEHEADER = \
|
---|
9 | Shapes/BaseShapes.hpp \
|
---|
10 | Shapes/BaseShapes_impl.hpp \
|
---|
11 | Shapes/Shape.hpp \
|
---|
12 | Shapes/Shape_impl.hpp \
|
---|
13 | Shapes/ShapeOps.hpp \
|
---|
14 | Shapes/ShapeOps_impl.hpp
|
---|
15 |
|
---|
16 |
|
---|
17 |
|
---|
18 | noinst_LTLIBRARIES += libMolecuilderShapes.la
|
---|
19 | libMolecuilderShapes_la_includedir = $(includedir)/MoleCuilder/Shapes/
|
---|
20 | nobase_libMolecuilderShapes_la_include_HEADERS = ${SHAPEHEADER}
|
---|
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 | libMolecuilderShapes_la_SOURCES = ${SHAPESOURCE}
|
---|
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 | #libMolecuilderShapes_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 | #libMolecuilderShapes_libincludedir = $(libdir)/MoleCuilder/include
|
---|
49 | #nodist_libMolecuilderShapes_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
|
---|
57 |
|
---|