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