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