source: src/Shapes/Makefile.am@ ff4fff9

CombiningParticlePotentialParsing
Last change on this file since ff4fff9 was 748fc7, checked in by Frederik Heber <heber@…>, 10 years ago

libMolecuilder is now a shared library.

  • linking error Vector::IsZero(double) with molecuilder(gui), related to libMolecuilderShapes was the root cause for this change. Again, it was not deducible why this error occured:
  • probably (me tired of these obfuscated linker errors ...) faulted because libMolecuilder is convenience lib while libMolecuilderUI and ..QtUI are shared and deps did not get passed along properly (by libtool) (e.g. ldd showed libMolecuilderShapes prior to libLinearAlgebra, containing said function Vector::IsZero(double), but I cannot influence this ordering and it should not even matter (dynamic linking).)
  • some cleanup in builder_init.cpp (no more loading of BondGraph from file named "\n".
  • TESTFIX: libMolecuilder.so added to all unittests, required for e.g. World::purgeInstance() ... and sometimes added libMolecuilderUI.so because libMolecuilder pulled them in due to static entities ... sigh.
  • removed all src object files from unittest .._SOURCES. This caused distclean faults "thanks" to new subdir-objects (automake).
  • Property mode set to 100644
File size: 2.6 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4SHAPESOURCE = \
5 Shapes/BaseShapes.cpp \
6 Shapes/Shape.cpp \
7 Shapes/ShapeOps.cpp \
8 Shapes/ShapeRegistry.cpp
9SHAPEHEADER = \
10 Shapes/BaseShapes.hpp \
11 Shapes/BaseShapes_impl.hpp \
12 Shapes/Shape.hpp \
13 Shapes/Shape_impl.hpp \
14 Shapes/ShapeExceptions.hpp \
15 Shapes/ShapeOps.hpp \
16 Shapes/ShapeOps_impl.hpp \
17 Shapes/ShapeRegistry.hpp \
18 Shapes/ShapeType.hpp
19
20
21lib_LTLIBRARIES += libMolecuilderShapes.la
22libMolecuilderShapes_la_includedir = $(includedir)/MoleCuilder/
23libMolecuilderShapes_la_LIBADD = \
24 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
25 ${CodePatterns_LIBS}
26nobase_libMolecuilderShapes_la_include_HEADERS = ${SHAPEHEADER}
27
28## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
29## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
30## will therefore be treated as if it were literally part of the target name,
31## and the variable name derived from that.
32## The file extension .cc is recognized by Automake, and makes it produce
33## rules which invoke the C++ compiler to produce a libtool object file (.lo)
34## from each source file. Note that it is not necessary to list header files
35## which are already listed elsewhere in a _HEADERS variable assignment.
36libMolecuilderShapes_la_SOURCES = ${SHAPESOURCE}
37
38## Instruct libtool to include ABI version information in the generated shared
39## library file (.so). The library ABI version is defined in configure.ac, so
40## that all version information is kept in one place.
41libMolecuilderShapes_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
42
43## The generated configuration header is installed in its own subdirectory of
44## $(libdir). The reason for this is that the configuration information put
45## into this header file describes the target platform the installed library
46## has been built for. Thus the file must not be installed into a location
47## intended for architecture-independent files, as defined by the Filesystem
48## Hierarchy Standard (FHS).
49## The nodist_ prefix instructs Automake to not generate rules for including
50## the listed files in the distribution on 'make dist'. Files that are listed
51## in _HEADERS variables are normally included in the distribution, but the
52## configuration header file is generated at configure time and should not be
53## shipped with the source tarball.
54libMolecuilderShapes_libincludedir = $(libdir)/MoleCuilder/include
55nodist_libMolecuilderShapes_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
Note: See TracBrowser for help on using the repository browser.