| [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 |  | 
|---|
|  | 57 | lib_LTLIBRARIES += libMolecuilderJobs.la | 
|---|
| [b5c39c] | 58 | libMolecuilderJobs_la_includedir = $(includedir)/MoleCuilder/ | 
|---|
| [cc5db5] | 59 | nobase_libMolecuilderJobs_la_include_HEADERS = $(JOBSHEADER) | 
|---|
| [3b35e7] | 60 | libMolecuilderJobs_la_CPPFLAGS = $(AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} -Dvmg_float=double -Dvmg_int=int $(VMG_CFLAGS) | 
|---|
| [cc5db5] | 61 | libMolecuilderJobs_la_LDFLAGS = $(AM_LDFLAGS) \ | 
|---|
| [786d28] | 62 | $(BOOST_IOSTREAMS_LDFLAGS) \ | 
|---|
| [cc5db5] | 63 | $(BOOST_SERIALIZATION_LDFLAGS) \ | 
|---|
| [2cc7faa] | 64 | $(BOOST_SYSTEM_LDFLAGS) | 
|---|
|  | 65 | if CONDJOBMARKET | 
|---|
|  | 66 | libMolecuilderJobs_la_LDFLAGS += \ | 
|---|
|  | 67 | $(JobMarket_LDFLAGS) | 
|---|
|  | 68 | endif | 
|---|
|  | 69 |  | 
|---|
|  | 70 | libMolecuilderJobs_la_LDFLAGS += \ | 
|---|
| [cc5db5] | 71 | $(CodePatterns_LDFLAGS) | 
|---|
|  | 72 | libMolecuilderJobs_la_LIBADD = \ | 
|---|
| [fbf143] | 73 | libMolecuilderFragmentationSummation.la | 
|---|
| [18ed8c] | 74 | if CONDJOBMARKET | 
|---|
| [4d4ef8] | 75 | if CONDVMG | 
|---|
|  | 76 | libMolecuilderJobs_la_LIBADD += \ | 
|---|
|  | 77 | $(VMG_LIBS) | 
|---|
|  | 78 | endif | 
|---|
| [18ed8c] | 79 | endif | 
|---|
| [2cc7faa] | 80 |  | 
|---|
|  | 81 | if CONDJOBMARKET | 
|---|
|  | 82 | libMolecuilderJobs_la_LIBADD += \ | 
|---|
|  | 83 | $(JobMarket_LIBS) | 
|---|
|  | 84 | endif | 
|---|
| [4d4ef8] | 85 | libMolecuilderJobs_la_LIBADD += \ | 
|---|
| [786d28] | 86 | $(BOOST_IOSTREAMS_LIBS) \ | 
|---|
| [cc5db5] | 87 | $(BOOST_SERIALIZATION_LIBS) \ | 
|---|
| [4adfba] | 88 | $(BOOST_SYSTEM_LIBS) \ | 
|---|
|  | 89 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ | 
|---|
| [cc5db5] | 90 | $(CodePatterns_LIBS) | 
|---|
| [8a8c8c] | 91 | if CONDVMGMPI | 
|---|
|  | 92 | libMolecuilderJobs_la_CPPFLAGS += $(MPI_CXXFLAGS) | 
|---|
|  | 93 | libMolecuilderJobs_la_LDFLAGS += $(MPI_CXXLDFLAGS) | 
|---|
|  | 94 | endif | 
|---|
| [447481] | 95 |  | 
|---|
| [049d4a] | 96 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la" | 
|---|
|  | 97 | ## target.  Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and | 
|---|
|  | 98 | ## will therefore be treated as if it were literally part of the target name, | 
|---|
|  | 99 | ## and the variable name derived from that. | 
|---|
|  | 100 | ## The file extension .cc is recognized by Automake, and makes it produce | 
|---|
|  | 101 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo) | 
|---|
|  | 102 | ## from each source file.  Note that it is not necessary to list header files | 
|---|
|  | 103 | ## which are already listed elsewhere in a _HEADERS variable assignment. | 
|---|
|  | 104 | libMolecuilderJobs_la_SOURCES = $(JOBSSOURCE) | 
|---|
|  | 105 |  | 
|---|
|  | 106 | ## Instruct libtool to include ABI version information in the generated shared | 
|---|
|  | 107 | ## library file (.so).  The library ABI version is defined in configure.ac, so | 
|---|
|  | 108 | ## that all version information is kept in one place. | 
|---|
|  | 109 | libMolecuilderJobs_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION) | 
|---|
|  | 110 |  | 
|---|
|  | 111 | ## The generated configuration header is installed in its own subdirectory of | 
|---|
|  | 112 | ## $(libdir).  The reason for this is that the configuration information put | 
|---|
|  | 113 | ## into this header file describes the target platform the installed library | 
|---|
|  | 114 | ## has been built for.  Thus the file must not be installed into a location | 
|---|
|  | 115 | ## intended for architecture-independent files, as defined by the Filesystem | 
|---|
|  | 116 | ## Hierarchy Standard (FHS). | 
|---|
|  | 117 | ## The nodist_ prefix instructs Automake to not generate rules for including | 
|---|
|  | 118 | ## the listed files in the distribution on 'make dist'.  Files that are listed | 
|---|
|  | 119 | ## in _HEADERS variables are normally included in the distribution, but the | 
|---|
|  | 120 | ## configuration header file is generated at configure time and should not be | 
|---|
|  | 121 | ## shipped with the source tarball. | 
|---|
|  | 122 | libMolecuilderJobs_libincludedir = $(libdir)/MoleCuilder/include | 
|---|
|  | 123 | nodist_libMolecuilderJobs_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h | 
|---|
|  | 124 |  | 
|---|