| [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 += \
 | 
|---|
| [238868] | 19 |         Jobs/InterfaceVMGDebugGridJob.cpp \
 | 
|---|
| [e9cfc4] | 20 |         Jobs/InterfaceVMGJob.cpp \
 | 
|---|
| [238868] | 21 |         Jobs/VMGDebugGridJob.cpp \
 | 
|---|
| [b123a5] | 22 |         Jobs/VMGJob.cpp \
 | 
|---|
 | 23 |         Jobs/WindowGrid_converter.cpp
 | 
|---|
| [d2a0f6d] | 24 | endif
 | 
|---|
| [18ed8c] | 25 | endif
 | 
|---|
| [cc5db5] | 26 | 
 | 
|---|
| [c3de51] | 27 | JOBSHEADER =
 | 
|---|
 | 28 | if CONDJOBMARKET
 | 
|---|
 | 29 | else
 | 
|---|
 | 30 | JOBSHEADER += \
 | 
|---|
 | 31 |         Jobs/JobMarket/FragmentJob.hpp \
 | 
|---|
 | 32 |         Jobs/JobMarket/FragmentResult.hpp \
 | 
|---|
 | 33 |         Jobs/JobMarket/JobId.hpp \
 | 
|---|
 | 34 |         Jobs/JobMarket/SystemCommandJob.hpp \
 | 
|---|
 | 35 |         Jobs/JobMarket/types.hpp
 | 
|---|
 | 36 | endif
 | 
|---|
 | 37 | JOBSHEADER += \
 | 
|---|
| [4d4ef8] | 38 |         Jobs/MPQCCommandJob.hpp \
 | 
|---|
 | 39 |         Jobs/MPQCCommandJob_binding.hpp \
 | 
|---|
| [1b01e9] | 40 |         Jobs/MPQCJob.hpp \
 | 
|---|
 | 41 |         Jobs/MPQCJob_binding.hpp
 | 
|---|
| [18ed8c] | 42 | if CONDJOBMARKET
 | 
|---|
| [d2a0f6d] | 43 | if CONDVMG
 | 
|---|
| [e9cfc4] | 44 | JOBSHEADER += \
 | 
|---|
| [238868] | 45 |         Jobs/InterfaceVMGDebugGridJob.hpp \
 | 
|---|
| [e9cfc4] | 46 |         Jobs/InterfaceVMGJob.hpp \
 | 
|---|
| [238868] | 47 |         Jobs/VMGDebugGridJob.hpp \
 | 
|---|
| [4d4ef8] | 48 |         Jobs/VMGDebugGridJob_binding.hpp \
 | 
|---|
 | 49 |         Jobs/VMGJob.hpp \
 | 
|---|
| [b123a5] | 50 |         Jobs/VMGJob_binding.hpp \
 | 
|---|
 | 51 |         Jobs/WindowGrid_converter.hpp
 | 
|---|
| [d2a0f6d] | 52 | endif
 | 
|---|
| [18ed8c] | 53 | endif
 | 
|---|
| [cc5db5] | 54 | 
 | 
|---|
 | 55 | lib_LTLIBRARIES += libMolecuilderJobs.la
 | 
|---|
| [b5c39c] | 56 | libMolecuilderJobs_la_includedir = $(includedir)/MoleCuilder/
 | 
|---|
| [cc5db5] | 57 | nobase_libMolecuilderJobs_la_include_HEADERS = $(JOBSHEADER)
 | 
|---|
| [3b35e7] | 58 | libMolecuilderJobs_la_CPPFLAGS = $(AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} -Dvmg_float=double -Dvmg_int=int $(VMG_CFLAGS)
 | 
|---|
| [cc5db5] | 59 | libMolecuilderJobs_la_LDFLAGS = $(AM_LDFLAGS) \
 | 
|---|
| [786d28] | 60 |   $(BOOST_IOSTREAMS_LDFLAGS) \
 | 
|---|
| [cc5db5] | 61 |   $(BOOST_SERIALIZATION_LDFLAGS) \
 | 
|---|
| [2cc7faa] | 62 |   $(BOOST_SYSTEM_LDFLAGS)
 | 
|---|
 | 63 | if CONDJOBMARKET
 | 
|---|
 | 64 | libMolecuilderJobs_la_LDFLAGS += \
 | 
|---|
 | 65 |   $(JobMarket_LDFLAGS)
 | 
|---|
 | 66 | endif
 | 
|---|
 | 67 | 
 | 
|---|
 | 68 | libMolecuilderJobs_la_LDFLAGS += \
 | 
|---|
| [cc5db5] | 69 |   $(CodePatterns_LDFLAGS)
 | 
|---|
 | 70 | libMolecuilderJobs_la_LIBADD = \
 | 
|---|
| [fbf143] | 71 |   libMolecuilderFragmentationSummation.la
 | 
|---|
| [18ed8c] | 72 | if CONDJOBMARKET
 | 
|---|
| [4d4ef8] | 73 | if CONDVMG
 | 
|---|
 | 74 | libMolecuilderJobs_la_LIBADD += \
 | 
|---|
 | 75 |   $(VMG_LIBS)
 | 
|---|
 | 76 | endif
 | 
|---|
| [18ed8c] | 77 | endif
 | 
|---|
| [2cc7faa] | 78 | 
 | 
|---|
 | 79 | if CONDJOBMARKET
 | 
|---|
 | 80 | libMolecuilderJobs_la_LIBADD += \
 | 
|---|
 | 81 |   $(JobMarket_LIBS)
 | 
|---|
 | 82 | endif
 | 
|---|
| [4d4ef8] | 83 | libMolecuilderJobs_la_LIBADD += \
 | 
|---|
| [786d28] | 84 |   $(BOOST_IOSTREAMS_LIBS) \
 | 
|---|
| [cc5db5] | 85 |   $(BOOST_SERIALIZATION_LIBS) \
 | 
|---|
| [4adfba] | 86 |   $(BOOST_SYSTEM_LIBS) \
 | 
|---|
 | 87 |   $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
 | 
|---|
| [cc5db5] | 88 |   $(CodePatterns_LIBS)
 | 
|---|
| [8a8c8c] | 89 | if CONDVMGMPI
 | 
|---|
 | 90 | libMolecuilderJobs_la_CPPFLAGS += $(MPI_CXXFLAGS)
 | 
|---|
 | 91 | libMolecuilderJobs_la_LDFLAGS += $(MPI_CXXLDFLAGS)
 | 
|---|
 | 92 | endif
 | 
|---|
| [447481] | 93 |   
 | 
|---|
| [049d4a] | 94 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
 | 
|---|
 | 95 | ## target.  Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
 | 
|---|
 | 96 | ## will therefore be treated as if it were literally part of the target name,
 | 
|---|
 | 97 | ## and the variable name derived from that.
 | 
|---|
 | 98 | ## The file extension .cc is recognized by Automake, and makes it produce
 | 
|---|
 | 99 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
 | 
|---|
 | 100 | ## from each source file.  Note that it is not necessary to list header files
 | 
|---|
 | 101 | ## which are already listed elsewhere in a _HEADERS variable assignment.
 | 
|---|
 | 102 | libMolecuilderJobs_la_SOURCES = $(JOBSSOURCE)
 | 
|---|
 | 103 | 
 | 
|---|
 | 104 | ## Instruct libtool to include ABI version information in the generated shared
 | 
|---|
 | 105 | ## library file (.so).  The library ABI version is defined in configure.ac, so
 | 
|---|
 | 106 | ## that all version information is kept in one place.
 | 
|---|
 | 107 | libMolecuilderJobs_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
 | 
|---|
 | 108 | 
 | 
|---|
 | 109 | ## The generated configuration header is installed in its own subdirectory of
 | 
|---|
 | 110 | ## $(libdir).  The reason for this is that the configuration information put
 | 
|---|
 | 111 | ## into this header file describes the target platform the installed library
 | 
|---|
 | 112 | ## has been built for.  Thus the file must not be installed into a location
 | 
|---|
 | 113 | ## intended for architecture-independent files, as defined by the Filesystem
 | 
|---|
 | 114 | ## Hierarchy Standard (FHS).
 | 
|---|
 | 115 | ## The nodist_ prefix instructs Automake to not generate rules for including
 | 
|---|
 | 116 | ## the listed files in the distribution on 'make dist'.  Files that are listed
 | 
|---|
 | 117 | ## in _HEADERS variables are normally included in the distribution, but the
 | 
|---|
 | 118 | ## configuration header file is generated at configure time and should not be
 | 
|---|
 | 119 | ## shipped with the source tarball.
 | 
|---|
 | 120 | libMolecuilderJobs_libincludedir = $(libdir)/MoleCuilder/include
 | 
|---|
 | 121 | nodist_libMolecuilderJobs_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
 | 
|---|
 | 122 | 
 | 
|---|
 | 123 | ## Install the generated pkg-config file (.pc) into the expected location for
 | 
|---|
 | 124 | ## architecture-dependent package configuration information.  Occasionally,
 | 
|---|
 | 125 | ## pkg-config files are also used for architecture-independent data packages,
 | 
|---|
 | 126 | ## in which case the correct install location would be $(datadir)/pkgconfig.
 | 
|---|
 | 127 | #pkgconfigdir = $(libdir)/pkgconfig
 | 
|---|
 | 128 | #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
 | 
|---|
| [2cc7faa] | 129 | 
 | 
|---|