[cc5db5] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
| 2 | # Also indentation by a single tab
|
---|
| 3 |
|
---|
| 4 | JOBSSOURCE = \
|
---|
[4d4ef8] | 5 | Jobs/MPQCCommandJob.cpp \
|
---|
| 6 | Jobs/MPQCJob.cpp
|
---|
[d2a0f6d] | 7 | if CONDVMG
|
---|
[e9cfc4] | 8 | JOBSSOURCE += \
|
---|
[238868] | 9 | Jobs/InterfaceVMGDebugGridJob.cpp \
|
---|
[e9cfc4] | 10 | Jobs/InterfaceVMGJob.cpp \
|
---|
[238868] | 11 | Jobs/VMGDebugGridJob.cpp \
|
---|
[b123a5] | 12 | Jobs/VMGJob.cpp \
|
---|
| 13 | Jobs/WindowGrid_converter.cpp
|
---|
[d2a0f6d] | 14 | endif
|
---|
[cc5db5] | 15 |
|
---|
| 16 | JOBSHEADER = \
|
---|
[4d4ef8] | 17 | Jobs/MPQCCommandJob.hpp \
|
---|
| 18 | Jobs/MPQCCommandJob_binding.hpp \
|
---|
[1b01e9] | 19 | Jobs/MPQCJob.hpp \
|
---|
| 20 | Jobs/MPQCJob_binding.hpp
|
---|
[d2a0f6d] | 21 | if CONDVMG
|
---|
[e9cfc4] | 22 | JOBSHEADER += \
|
---|
[238868] | 23 | Jobs/InterfaceVMGDebugGridJob.hpp \
|
---|
[e9cfc4] | 24 | Jobs/InterfaceVMGJob.hpp \
|
---|
[238868] | 25 | Jobs/VMGDebugGridJob.hpp \
|
---|
[4d4ef8] | 26 | Jobs/VMGDebugGridJob_binding.hpp \
|
---|
| 27 | Jobs/VMGJob.hpp \
|
---|
[b123a5] | 28 | Jobs/VMGJob_binding.hpp \
|
---|
| 29 | Jobs/WindowGrid_converter.hpp
|
---|
[d2a0f6d] | 30 | endif
|
---|
[cc5db5] | 31 |
|
---|
| 32 | lib_LTLIBRARIES += libMolecuilderJobs.la
|
---|
[b5c39c] | 33 | libMolecuilderJobs_la_includedir = $(includedir)/MoleCuilder/
|
---|
[cc5db5] | 34 | nobase_libMolecuilderJobs_la_include_HEADERS = $(JOBSHEADER)
|
---|
[d2a0f6d] | 35 | libMolecuilderJobs_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} -Dvmg_float=double -Dvmg_int=int $(VMG_CFLAGS)
|
---|
[cc5db5] | 36 | libMolecuilderJobs_la_LDFLAGS = $(AM_LDFLAGS) \
|
---|
| 37 | $(BOOST_SERIALIZATION_LDFLAGS) \
|
---|
[4adfba] | 38 | $(BOOST_SYSTEM_LDFLAGS) \
|
---|
[004d5c] | 39 | $(JobMarket_LDFLAGS) \
|
---|
[cc5db5] | 40 | $(CodePatterns_LDFLAGS)
|
---|
| 41 | libMolecuilderJobs_la_LIBADD = \
|
---|
[fbf143] | 42 | libMolecuilderFragmentationSummation.la
|
---|
[4d4ef8] | 43 | if CONDVMG
|
---|
| 44 | libMolecuilderJobs_la_LIBADD += \
|
---|
| 45 | $(VMG_LIBS)
|
---|
| 46 | endif
|
---|
| 47 | libMolecuilderJobs_la_LIBADD += \
|
---|
[4adfba] | 48 | $(JobMarket_LIBS) \
|
---|
[cc5db5] | 49 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
[4adfba] | 50 | $(BOOST_SYSTEM_LIBS) \
|
---|
| 51 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
[cc5db5] | 52 | $(CodePatterns_LIBS)
|
---|
[8a8c8c] | 53 | if CONDVMGMPI
|
---|
| 54 | libMolecuilderJobs_la_CPPFLAGS += $(MPI_CXXFLAGS)
|
---|
| 55 | libMolecuilderJobs_la_LDFLAGS += $(MPI_CXXLDFLAGS)
|
---|
| 56 | endif
|
---|
[447481] | 57 |
|
---|
[049d4a] | 58 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
| 59 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
| 60 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 61 | ## and the variable name derived from that.
|
---|
| 62 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 63 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 64 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 65 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
| 66 | libMolecuilderJobs_la_SOURCES = $(JOBSSOURCE)
|
---|
| 67 |
|
---|
| 68 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 69 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 70 | ## that all version information is kept in one place.
|
---|
| 71 | libMolecuilderJobs_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
|
---|
| 72 |
|
---|
| 73 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 74 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 75 | ## into this header file describes the target platform the installed library
|
---|
| 76 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 77 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 78 | ## Hierarchy Standard (FHS).
|
---|
| 79 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 80 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 81 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 82 | ## configuration header file is generated at configure time and should not be
|
---|
| 83 | ## shipped with the source tarball.
|
---|
| 84 | libMolecuilderJobs_libincludedir = $(libdir)/MoleCuilder/include
|
---|
| 85 | nodist_libMolecuilderJobs_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
| 86 |
|
---|
| 87 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
| 88 | ## architecture-dependent package configuration information. Occasionally,
|
---|
| 89 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
| 90 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
| 91 | #pkgconfigdir = $(libdir)/pkgconfig
|
---|
| 92 | #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
|
---|
| 93 | |
---|