[861874] | 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}
|
---|
[861874] | 8 |
|
---|
| 9 | PARSERSOURCE = \
|
---|
| 10 | ChangeTracker.cpp \
|
---|
| 11 | FormatParser.cpp \
|
---|
| 12 | FormatParserStorage.cpp \
|
---|
| 13 | MpqcParser.cpp \
|
---|
[61d69a4] | 14 | MpqcParser_Parameters.cpp \
|
---|
[861874] | 15 | PcpParser.cpp \
|
---|
[4fbca9c] | 16 | PdbAtomInfoContainer.cpp \
|
---|
[3ae731] | 17 | PdbParser.cpp \
|
---|
[861874] | 18 | TremoloParser.cpp \
|
---|
[031e2c6] | 19 | TremoloAtomInfoContainer.cpp \
|
---|
[861874] | 20 | XyzParser.cpp
|
---|
| 21 |
|
---|
| 22 | PARSERHEADER = \
|
---|
| 23 | ChangeTracker.hpp \
|
---|
| 24 | FormatParser.hpp \
|
---|
| 25 | FormatParserStorage.hpp \
|
---|
| 26 | MpqcParser.hpp \
|
---|
[61d69a4] | 27 | MpqcParser_Parameters.hpp \
|
---|
[861874] | 28 | PcpParser.hpp \
|
---|
[4fbca9c] | 29 | PdbAtomInfoContainer.hpp \
|
---|
| 30 | PdbKey.hpp \
|
---|
[3ae731] | 31 | PdbParser.hpp \
|
---|
[031e2c6] | 32 | TremoloKey.hpp \
|
---|
[861874] | 33 | TremoloParser.hpp \
|
---|
[031e2c6] | 34 | TremoloAtomInfoContainer.hpp \
|
---|
[861874] | 35 | XyzParser.hpp
|
---|
| 36 |
|
---|
| 37 |
|
---|
[acbe1b] | 38 | lib_LTLIBRARIES = libMolecuilderParser.la
|
---|
[e5bf2b] | 39 | libMolecuilderParser_la_includedir = $(includedir)/MoleCuilder/Parser/
|
---|
| 40 | nobase_libMolecuilderParser_la_include_HEADERS = ${PARSERHEADER}
|
---|
[861874] | 41 |
|
---|
| 42 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
| 43 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
| 44 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 45 | ## and the variable name derived from that.
|
---|
| 46 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 47 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 48 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 49 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
[acbe1b] | 50 | libMolecuilderParser_la_SOURCES = ${PARSERSOURCE}
|
---|
[861874] | 51 |
|
---|
| 52 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 53 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 54 | ## that all version information is kept in one place.
|
---|
[acbe1b] | 55 | libMolecuilderParser_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
---|
[861874] | 56 |
|
---|
| 57 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 58 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 59 | ## into this header file describes the target platform the installed library
|
---|
| 60 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 61 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 62 | ## Hierarchy Standard (FHS).
|
---|
| 63 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 64 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 65 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 66 | ## configuration header file is generated at configure time and should not be
|
---|
| 67 | ## shipped with the source tarball.
|
---|
[acbe1b] | 68 | #libMolecuilderParser_libincludedir = $(libdir)/MoleCuilder/include
|
---|
| 69 | #nodist_libMolecuilderParser_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
[861874] | 70 |
|
---|
| 71 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
| 72 | ## architecture-dependent package configuration information. Occasionally,
|
---|
| 73 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
| 74 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
[acbe1b] | 75 | #pkgconfigdir = $(libdir)/pkgconfig
|
---|
| 76 | #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
|
---|
[861874] | 77 |
|
---|
[d223d5] | 78 | unity.cpp:
|
---|
| 79 | echo "" > unity.cpp; \
|
---|
| 80 | list='$(PARSERSOURCE)'; for file in $$list; do \
|
---|
| 81 | echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
|
---|
| 82 | done;
|
---|
| 83 |
|
---|
| 84 | MOSTLYCLEANFILES = unity.cpp
|
---|