| [cc5db5] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
|---|
| 2 | # Also indentation by a single tab
|
|---|
| 3 |
|
|---|
| [c3de51] | 4 | JOBSSOURCE =
|
|---|
| [18ed8c] | 5 | if CONDJOBMARKET
|
|---|
| [c3de51] | 6 | else
|
|---|
| 7 | JOBSSOURCE += \
|
|---|
| 8 | Jobs/JobMarket/FragmentJob.cpp \
|
|---|
| 9 | Jobs/JobMarket/FragmentResult.cpp \
|
|---|
| 10 | Jobs/JobMarket/JobId.cpp \
|
|---|
| 11 | Jobs/JobMarket/SystemCommandJob.cpp
|
|---|
| 12 | endif
|
|---|
| 13 | JOBSSOURCE += \
|
|---|
| [4d4ef8] | 14 | Jobs/MPQCCommandJob.cpp \
|
|---|
| 15 | Jobs/MPQCJob.cpp
|
|---|
| [18ed8c] | 16 | if CONDJOBMARKET
|
|---|
| [d2a0f6d] | 17 | if CONDVMG
|
|---|
| [e9cfc4] | 18 | JOBSSOURCE += \
|
|---|
| [cceb8c] | 19 | Jobs/ChargeSmearer.cpp \
|
|---|
| [238868] | 20 | Jobs/InterfaceVMGDebugGridJob.cpp \
|
|---|
| [e9cfc4] | 21 | Jobs/InterfaceVMGJob.cpp \
|
|---|
| [238868] | 22 | Jobs/VMGDebugGridJob.cpp \
|
|---|
| [b123a5] | 23 | Jobs/VMGJob.cpp \
|
|---|
| 24 | Jobs/WindowGrid_converter.cpp
|
|---|
| [d2a0f6d] | 25 | endif
|
|---|
| [18ed8c] | 26 | endif
|
|---|
| [cc5db5] | 27 |
|
|---|
| [c3de51] | 28 | JOBSHEADER =
|
|---|
| 29 | if CONDJOBMARKET
|
|---|
| 30 | else
|
|---|
| 31 | JOBSHEADER += \
|
|---|
| 32 | Jobs/JobMarket/FragmentJob.hpp \
|
|---|
| 33 | Jobs/JobMarket/FragmentResult.hpp \
|
|---|
| 34 | Jobs/JobMarket/JobId.hpp \
|
|---|
| 35 | Jobs/JobMarket/SystemCommandJob.hpp \
|
|---|
| 36 | Jobs/JobMarket/types.hpp
|
|---|
| 37 | endif
|
|---|
| 38 | JOBSHEADER += \
|
|---|
| [4d4ef8] | 39 | Jobs/MPQCCommandJob.hpp \
|
|---|
| 40 | Jobs/MPQCCommandJob_binding.hpp \
|
|---|
| [1b01e9] | 41 | Jobs/MPQCJob.hpp \
|
|---|
| 42 | Jobs/MPQCJob_binding.hpp
|
|---|
| [18ed8c] | 43 | if CONDJOBMARKET
|
|---|
| [d2a0f6d] | 44 | if CONDVMG
|
|---|
| [e9cfc4] | 45 | JOBSHEADER += \
|
|---|
| [cceb8c] | 46 | Jobs/ChargeSmearer.hpp \
|
|---|
| [238868] | 47 | Jobs/InterfaceVMGDebugGridJob.hpp \
|
|---|
| [e9cfc4] | 48 | Jobs/InterfaceVMGJob.hpp \
|
|---|
| [238868] | 49 | Jobs/VMGDebugGridJob.hpp \
|
|---|
| [4d4ef8] | 50 | Jobs/VMGDebugGridJob_binding.hpp \
|
|---|
| 51 | Jobs/VMGJob.hpp \
|
|---|
| [b123a5] | 52 | Jobs/VMGJob_binding.hpp \
|
|---|
| 53 | Jobs/WindowGrid_converter.hpp
|
|---|
| [d2a0f6d] | 54 | endif
|
|---|
| [18ed8c] | 55 | endif
|
|---|
| [cc5db5] | 56 |
|
|---|
| [cb98f1] | 57 | lib_LTLIBRARIES += \
|
|---|
| [fbf005] | 58 | libMolecuilderJobs.la \
|
|---|
| 59 | libmolecuilder_mpqc_extract.la
|
|---|
| [cb98f1] | 60 | noinst_LTLIBRARIES += \
|
|---|
| 61 | libMolecuilderJobs_Work.la
|
|---|
| [fbf005] | 62 |
|
|---|
| 63 | ### libmolecuilder_mpqc_extract.la
|
|---|
| 64 | libmolecuilder_mpqc_extract_la_SOURCES = \
|
|---|
| 65 | Jobs/mpqc_extract.cc \
|
|---|
| 66 | $(top_srcdir)/ThirdParty/mpqc_open/src/bin/mpqc/mpqc.h
|
|---|
| 67 | libmolecuilder_mpqc_extract_la_LDFLAGS = \
|
|---|
| 68 | $(AM_CPPFLAGS) \
|
|---|
| 69 | -L$(abs_top_builddir)/../JobMarket/src/JobMarket/.libs -Wl,-rpath,$(abs_top_builddir)/../JobMarket/src/JobMarket/.libs \
|
|---|
| 70 | -L$(abs_top_builddir)/../../src/.libs -Wl,-rpath,$(abs_top_builddir)/../../src/.libs \
|
|---|
| 71 | $(BOOST_SYSTEM_LDFLAGS)
|
|---|
| 72 | libmolecuilder_mpqc_extract_la_CPPFLAGS = \
|
|---|
| 73 | $(AM_CPPFLAGS) \
|
|---|
| 74 | ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} \
|
|---|
| 75 | $(BOOST_SYSTEM_CFLAGS) \
|
|---|
| 76 | -DHAVE_MPQCDATA \
|
|---|
| 77 | -DHAVE_JOBMARKET \
|
|---|
| 78 | -I$(top_builddir)/ThirdParty/mpqc_open/src/lib \
|
|---|
| 79 | -I$(top_srcdir)/ThirdParty/mpqc_open/src/lib \
|
|---|
| 80 | -I$(top_srcdir)/ThirdParty/mpqc_open/src/bin/mpqc
|
|---|
| 81 | libmolecuilder_mpqc_extract_la_LIBADD = \
|
|---|
| 82 | libMolecuilderJobs.la \
|
|---|
| 83 | libMolecuilderFragmentationSummation.la \
|
|---|
| 84 | -lboost_serialization
|
|---|
| 85 |
|
|---|
| 86 | ### libMolecuilderJobs_Work.la
|
|---|
| 87 | libMolecuilderJobs_Work_la_CPPFLAGS = \
|
|---|
| 88 | $(AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} -Dvmg_float=double -Dvmg_int=int $(VMG_CFLAGS) \
|
|---|
| 89 | -I$(top_builddir)/ThirdParty/mpqc_open/src/lib \
|
|---|
| 90 | -I$(top_srcdir)/ThirdParty/mpqc_open/src/lib \
|
|---|
| 91 | -I$(top_srcdir)/ThirdParty/mpqc_open/src/bin/mpqc
|
|---|
| 92 | libMolecuilderJobs_Work_la_LDFLAGS = $(AM_LDFLAGS)
|
|---|
| 93 | if CONDJOBMARKET
|
|---|
| 94 | libMolecuilderJobs_Work_la_LDFLAGS += \
|
|---|
| 95 | $(JobMarket_LDFLAGS)
|
|---|
| 96 | endif
|
|---|
| 97 |
|
|---|
| 98 | ### libMolecuilderJobs.la
|
|---|
| [b5c39c] | 99 | libMolecuilderJobs_la_includedir = $(includedir)/MoleCuilder/
|
|---|
| [cc5db5] | 100 | nobase_libMolecuilderJobs_la_include_HEADERS = $(JOBSHEADER)
|
|---|
| [fbf005] | 101 | libMolecuilderJobs_la_CPPFLAGS = \
|
|---|
| 102 | $(AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} -Dvmg_float=double -Dvmg_int=int $(VMG_CFLAGS)
|
|---|
| [cc5db5] | 103 | libMolecuilderJobs_la_LDFLAGS = $(AM_LDFLAGS) \
|
|---|
| [786d28] | 104 | $(BOOST_IOSTREAMS_LDFLAGS) \
|
|---|
| [cc5db5] | 105 | $(BOOST_SERIALIZATION_LDFLAGS) \
|
|---|
| [2cc7faa] | 106 | $(BOOST_SYSTEM_LDFLAGS)
|
|---|
| 107 | libMolecuilderJobs_la_LDFLAGS += \
|
|---|
| 108 | $(JobMarket_LDFLAGS)
|
|---|
| 109 | libMolecuilderJobs_la_LDFLAGS += \
|
|---|
| [cc5db5] | 110 | $(CodePatterns_LDFLAGS)
|
|---|
| 111 | libMolecuilderJobs_la_LIBADD = \
|
|---|
| [fbf143] | 112 | libMolecuilderFragmentationSummation.la
|
|---|
| [18ed8c] | 113 | if CONDJOBMARKET
|
|---|
| [4d4ef8] | 114 | if CONDVMG
|
|---|
| [79b089] | 115 | libMolecuilderJobs_la_LDFLAGS += \
|
|---|
| 116 | $(VMG_LDFLAGS)
|
|---|
| [4d4ef8] | 117 | libMolecuilderJobs_la_LIBADD += \
|
|---|
| 118 | $(VMG_LIBS)
|
|---|
| 119 | endif
|
|---|
| [18ed8c] | 120 | endif
|
|---|
| [2cc7faa] | 121 | if CONDJOBMARKET
|
|---|
| 122 | libMolecuilderJobs_la_LIBADD += \
|
|---|
| 123 | $(JobMarket_LIBS)
|
|---|
| [cb98f1] | 124 | libMolecuilderJobs_Work_la_LIBADD = \
|
|---|
| [fbf005] | 125 | $(top_builddir)/ThirdParty/mpqc_open/src/bin/mpqc/libmolecuilder_mpqc.la \
|
|---|
| 126 | libmolecuilder_mpqc_extract.la \
|
|---|
| [cb98f1] | 127 | $(JobMarket_LIBS)
|
|---|
| [2cc7faa] | 128 | endif
|
|---|
| [4d4ef8] | 129 | libMolecuilderJobs_la_LIBADD += \
|
|---|
| [786d28] | 130 | $(BOOST_IOSTREAMS_LIBS) \
|
|---|
| [cc5db5] | 131 | $(BOOST_SERIALIZATION_LIBS) \
|
|---|
| [4adfba] | 132 | $(BOOST_SYSTEM_LIBS) \
|
|---|
| [4ecb2d] | 133 | $(top_builddir)/ThirdParty/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| [cc5db5] | 134 | $(CodePatterns_LIBS)
|
|---|
| [8a8c8c] | 135 | if CONDVMGMPI
|
|---|
| 136 | libMolecuilderJobs_la_CPPFLAGS += $(MPI_CXXFLAGS)
|
|---|
| 137 | libMolecuilderJobs_la_LDFLAGS += $(MPI_CXXLDFLAGS)
|
|---|
| 138 | endif
|
|---|
| [447481] | 139 |
|
|---|
| [049d4a] | 140 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
|---|
| 141 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
|---|
| 142 | ## will therefore be treated as if it were literally part of the target name,
|
|---|
| 143 | ## and the variable name derived from that.
|
|---|
| 144 | ## The file extension .cc is recognized by Automake, and makes it produce
|
|---|
| 145 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
|---|
| 146 | ## from each source file. Note that it is not necessary to list header files
|
|---|
| 147 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
|---|
| 148 | libMolecuilderJobs_la_SOURCES = $(JOBSSOURCE)
|
|---|
| [cb98f1] | 149 | libMolecuilderJobs_Work_la_SOURCES = Jobs/MPQCJob_Work.cpp
|
|---|
| [049d4a] | 150 |
|
|---|
| 151 | ## Instruct libtool to include ABI version information in the generated shared
|
|---|
| 152 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
|---|
| 153 | ## that all version information is kept in one place.
|
|---|
| 154 | libMolecuilderJobs_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
|
|---|
| 155 |
|
|---|
| 156 | ## The generated configuration header is installed in its own subdirectory of
|
|---|
| 157 | ## $(libdir). The reason for this is that the configuration information put
|
|---|
| 158 | ## into this header file describes the target platform the installed library
|
|---|
| 159 | ## has been built for. Thus the file must not be installed into a location
|
|---|
| 160 | ## intended for architecture-independent files, as defined by the Filesystem
|
|---|
| 161 | ## Hierarchy Standard (FHS).
|
|---|
| 162 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
|---|
| 163 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
|---|
| 164 | ## in _HEADERS variables are normally included in the distribution, but the
|
|---|
| 165 | ## configuration header file is generated at configure time and should not be
|
|---|
| 166 | ## shipped with the source tarball.
|
|---|
| 167 | libMolecuilderJobs_libincludedir = $(libdir)/MoleCuilder/include
|
|---|
| [0ee9cb3] | 168 | #nodist_libMolecuilderJobs_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
|---|
| [049d4a] | 169 |
|
|---|