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