| [f4b5b7] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
 | 
|---|
 | 2 | # Also indentation by a single tab
 | 
|---|
 | 3 | 
 | 
|---|
 | 4 | INCLUDES = -I$(top_srcdir)/src
 | 
|---|
 | 5 | 
 | 
|---|
| [e5bf2b] | 6 | AM_LDFLAGS = ${CodePatterns_LIBS} -ldl
 | 
|---|
 | 7 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
 | 
|---|
| [f4b5b7] | 8 | 
 | 
|---|
 | 9 | EXCEPTIONSOURCE = \
 | 
|---|
 | 10 |   CustomException.cpp \
 | 
|---|
 | 11 |   IllegalTypeException.cpp \
 | 
|---|
 | 12 |   LinearDependenceException.cpp \
 | 
|---|
 | 13 |   MathException.cpp \
 | 
|---|
 | 14 |   MissingValueException.cpp \
 | 
|---|
 | 15 |   NotInvertibleException.cpp \
 | 
|---|
| [6c438f] | 16 |   NotOnSurfaceException.cpp \
 | 
|---|
 | 17 |   ShapeException.cpp \
 | 
|---|
| [f4b5b7] | 18 |   ParseError.cpp \
 | 
|---|
 | 19 |   SkewException.cpp \
 | 
|---|
 | 20 |   ZeroVectorException.cpp
 | 
|---|
| [6c438f] | 21 |         
 | 
|---|
| [f4b5b7] | 22 |                                   
 | 
|---|
 | 23 | EXCEPTIONHEADER = \
 | 
|---|
 | 24 |   CustomException.hpp \
 | 
|---|
 | 25 |   IllegalTypeException.hpp \
 | 
|---|
 | 26 |   LinearDependenceException.hpp \
 | 
|---|
 | 27 |   MathException.hpp \
 | 
|---|
 | 28 |   MissingValueException.hpp \
 | 
|---|
 | 29 |   NotInvertibleException.hpp \
 | 
|---|
| [6c438f] | 30 |   NotOnSurfaceException.hpp \
 | 
|---|
| [f4b5b7] | 31 |   ParseError.hpp \
 | 
|---|
 | 32 |   SkewException.hpp \
 | 
|---|
 | 33 |   ZeroVectorException.hpp
 | 
|---|
 | 34 | 
 | 
|---|
 | 35 | 
 | 
|---|
 | 36 | 
 | 
|---|
| [acbe1b] | 37 | lib_LTLIBRARIES = libMolecuilderExceptions.la
 | 
|---|
| [e5bf2b] | 38 | libMolecuilderExceptions_la_includedir = $(includedir)/MoleCuilder/Exceptions/
 | 
|---|
 | 39 | nobase_libMolecuilderExceptions_la_include_HEADERS = ${EXCEPTIONHEADER}
 | 
|---|
| [f4b5b7] | 40 | 
 | 
|---|
 | 41 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
 | 
|---|
 | 42 | ## target.  Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
 | 
|---|
 | 43 | ## will therefore be treated as if it were literally part of the target name,
 | 
|---|
 | 44 | ## and the variable name derived from that.
 | 
|---|
 | 45 | ## The file extension .cc is recognized by Automake, and makes it produce
 | 
|---|
 | 46 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
 | 
|---|
 | 47 | ## from each source file.  Note that it is not necessary to list header files
 | 
|---|
 | 48 | ## which are already listed elsewhere in a _HEADERS variable assignment.
 | 
|---|
| [acbe1b] | 49 | libMolecuilderExceptions_la_SOURCES = ${EXCEPTIONSOURCE}
 | 
|---|
| [f4b5b7] | 50 | 
 | 
|---|
 | 51 | ## Instruct libtool to include ABI version information in the generated shared
 | 
|---|
 | 52 | ## library file (.so).  The library ABI version is defined in configure.ac, so
 | 
|---|
 | 53 | ## that all version information is kept in one place.
 | 
|---|
| [acbe1b] | 54 | libMolecuilderExceptions_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
 | 
|---|
| [f4b5b7] | 55 | 
 | 
|---|
 | 56 | ## The generated configuration header is installed in its own subdirectory of
 | 
|---|
 | 57 | ## $(libdir).  The reason for this is that the configuration information put
 | 
|---|
 | 58 | ## into this header file describes the target platform the installed library
 | 
|---|
 | 59 | ## has been built for.  Thus the file must not be installed into a location
 | 
|---|
 | 60 | ## intended for architecture-independent files, as defined by the Filesystem
 | 
|---|
 | 61 | ## Hierarchy Standard (FHS).
 | 
|---|
 | 62 | ## The nodist_ prefix instructs Automake to not generate rules for including
 | 
|---|
 | 63 | ## the listed files in the distribution on 'make dist'.  Files that are listed
 | 
|---|
 | 64 | ## in _HEADERS variables are normally included in the distribution, but the
 | 
|---|
 | 65 | ## configuration header file is generated at configure time and should not be
 | 
|---|
 | 66 | ## shipped with the source tarball.
 | 
|---|
| [acbe1b] | 67 | #libMolecuilderExceptions_libincludedir = $(libdir)/MoleCuilder/include
 | 
|---|
 | 68 | #nodist_libMolecuilderExceptions_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
 | 
|---|
| [f4b5b7] | 69 | 
 | 
|---|
 | 70 | ## Install the generated pkg-config file (.pc) into the expected location for
 | 
|---|
 | 71 | ## architecture-dependent package configuration information.  Occasionally,
 | 
|---|
 | 72 | ## pkg-config files are also used for architecture-independent data packages,
 | 
|---|
 | 73 | ## in which case the correct install location would be $(datadir)/pkgconfig.
 | 
|---|
| [acbe1b] | 74 | #pkgconfigdir = $(libdir)/pkgconfig
 | 
|---|
 | 75 | #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
 | 
|---|
| [f4b5b7] | 76 | 
 | 
|---|
| [d223d5] | 77 | unity.cpp:
 | 
|---|
 | 78 |         echo "" >  unity.cpp; \
 | 
|---|
 | 79 |         list='$(EXCEPTIONSOURCE)'; for file in $$list; do \
 | 
|---|
 | 80 |           echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
 | 
|---|
 | 81 |         done;
 | 
|---|
 | 82 |         
 | 
|---|
 | 83 | MOSTLYCLEANFILES = unity.cpp
 | 
|---|