# PLEASE adhere to the alphabetical ordering in this Makefile! # Also indentation by a single tab JOBSSOURCE = if CONDJOBMARKET else JOBSSOURCE += \ Jobs/JobMarket/FragmentJob.cpp \ Jobs/JobMarket/FragmentResult.cpp \ Jobs/JobMarket/JobId.cpp \ Jobs/JobMarket/SystemCommandJob.cpp endif JOBSSOURCE += \ Jobs/MPQCCommandJob.cpp \ Jobs/MPQCJob.cpp if CONDJOBMARKET if CONDVMG JOBSSOURCE += \ Jobs/ChargeSmearer.cpp \ Jobs/InterfaceVMGDebugGridJob.cpp \ Jobs/InterfaceVMGJob.cpp \ Jobs/VMGDebugGridJob.cpp \ Jobs/VMGJob.cpp \ Jobs/WindowGrid_converter.cpp endif endif JOBSHEADER = if CONDJOBMARKET else JOBSHEADER += \ Jobs/JobMarket/FragmentJob.hpp \ Jobs/JobMarket/FragmentResult.hpp \ Jobs/JobMarket/JobId.hpp \ Jobs/JobMarket/SystemCommandJob.hpp \ Jobs/JobMarket/types.hpp endif JOBSHEADER += \ Jobs/MPQCCommandJob.hpp \ Jobs/MPQCCommandJob_binding.hpp \ Jobs/MPQCJob.hpp \ Jobs/MPQCJob_binding.hpp if CONDJOBMARKET if CONDVMG JOBSHEADER += \ Jobs/ChargeSmearer.hpp \ Jobs/InterfaceVMGDebugGridJob.hpp \ Jobs/InterfaceVMGJob.hpp \ Jobs/VMGDebugGridJob.hpp \ Jobs/VMGDebugGridJob_binding.hpp \ Jobs/VMGJob.hpp \ Jobs/VMGJob_binding.hpp \ Jobs/WindowGrid_converter.hpp endif endif lib_LTLIBRARIES += libMolecuilderJobs.la libMolecuilderJobs_la_includedir = $(includedir)/MoleCuilder/ nobase_libMolecuilderJobs_la_include_HEADERS = $(JOBSHEADER) libMolecuilderJobs_la_CPPFLAGS = $(AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} -Dvmg_float=double -Dvmg_int=int $(VMG_CFLAGS) libMolecuilderJobs_la_LDFLAGS = $(AM_LDFLAGS) \ $(BOOST_IOSTREAMS_LDFLAGS) \ $(BOOST_SERIALIZATION_LDFLAGS) \ $(BOOST_SYSTEM_LDFLAGS) if CONDJOBMARKET libMolecuilderJobs_la_LDFLAGS += \ $(JobMarket_LDFLAGS) endif libMolecuilderJobs_la_LDFLAGS += \ $(CodePatterns_LDFLAGS) libMolecuilderJobs_la_LIBADD = \ libMolecuilderFragmentationSummation.la if CONDJOBMARKET if CONDVMG libMolecuilderJobs_la_LIBADD += \ $(VMG_LIBS) endif endif if CONDJOBMARKET libMolecuilderJobs_la_LIBADD += \ $(JobMarket_LIBS) endif libMolecuilderJobs_la_LIBADD += \ $(BOOST_IOSTREAMS_LIBS) \ $(BOOST_SERIALIZATION_LIBS) \ $(BOOST_SYSTEM_LIBS) \ $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ $(CodePatterns_LIBS) if CONDVMGMPI libMolecuilderJobs_la_CPPFLAGS += $(MPI_CXXFLAGS) libMolecuilderJobs_la_LDFLAGS += $(MPI_CXXLDFLAGS) endif ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la" ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and ## will therefore be treated as if it were literally part of the target name, ## and the variable name derived from that. ## The file extension .cc is recognized by Automake, and makes it produce ## rules which invoke the C++ compiler to produce a libtool object file (.lo) ## from each source file. Note that it is not necessary to list header files ## which are already listed elsewhere in a _HEADERS variable assignment. libMolecuilderJobs_la_SOURCES = $(JOBSSOURCE) ## Instruct libtool to include ABI version information in the generated shared ## library file (.so). The library ABI version is defined in configure.ac, so ## that all version information is kept in one place. libMolecuilderJobs_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION) ## The generated configuration header is installed in its own subdirectory of ## $(libdir). The reason for this is that the configuration information put ## into this header file describes the target platform the installed library ## has been built for. Thus the file must not be installed into a location ## intended for architecture-independent files, as defined by the Filesystem ## Hierarchy Standard (FHS). ## The nodist_ prefix instructs Automake to not generate rules for including ## the listed files in the distribution on 'make dist'. Files that are listed ## in _HEADERS variables are normally included in the distribution, but the ## configuration header file is generated at configure time and should not be ## shipped with the source tarball. libMolecuilderJobs_libincludedir = $(libdir)/MoleCuilder/include nodist_libMolecuilderJobs_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h