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 CONDJOBMARKET
|
---|
17 | if CONDVMG
|
---|
18 | JOBSSOURCE += \
|
---|
19 | Jobs/ChargeSmearer.cpp \
|
---|
20 | Jobs/InterfaceVMGDebugGridJob.cpp \
|
---|
21 | Jobs/InterfaceVMGJob.cpp \
|
---|
22 | Jobs/VMGDebugGridJob.cpp \
|
---|
23 | Jobs/VMGJob.cpp \
|
---|
24 | Jobs/WindowGrid_converter.cpp
|
---|
25 | endif
|
---|
26 | endif
|
---|
27 |
|
---|
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 += \
|
---|
39 | Jobs/MPQCCommandJob.hpp \
|
---|
40 | Jobs/MPQCCommandJob_binding.hpp \
|
---|
41 | Jobs/MPQCJob.hpp \
|
---|
42 | Jobs/MPQCJob_binding.hpp
|
---|
43 | if CONDJOBMARKET
|
---|
44 | if CONDVMG
|
---|
45 | JOBSHEADER += \
|
---|
46 | Jobs/ChargeSmearer.hpp \
|
---|
47 | Jobs/InterfaceVMGDebugGridJob.hpp \
|
---|
48 | Jobs/InterfaceVMGJob.hpp \
|
---|
49 | Jobs/VMGDebugGridJob.hpp \
|
---|
50 | Jobs/VMGDebugGridJob_binding.hpp \
|
---|
51 | Jobs/VMGJob.hpp \
|
---|
52 | Jobs/VMGJob_binding.hpp \
|
---|
53 | Jobs/WindowGrid_converter.hpp
|
---|
54 | endif
|
---|
55 | endif
|
---|
56 |
|
---|
57 | lib_LTLIBRARIES += libMolecuilderJobs.la
|
---|
58 | libMolecuilderJobs_la_includedir = $(includedir)/MoleCuilder/
|
---|
59 | nobase_libMolecuilderJobs_la_include_HEADERS = $(JOBSHEADER)
|
---|
60 | libMolecuilderJobs_la_CPPFLAGS = $(AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} -Dvmg_float=double -Dvmg_int=int $(VMG_CFLAGS)
|
---|
61 | libMolecuilderJobs_la_LDFLAGS = $(AM_LDFLAGS) \
|
---|
62 | $(BOOST_IOSTREAMS_LDFLAGS) \
|
---|
63 | $(BOOST_SERIALIZATION_LDFLAGS) \
|
---|
64 | $(BOOST_SYSTEM_LDFLAGS)
|
---|
65 | if CONDJOBMARKET
|
---|
66 | libMolecuilderJobs_la_LDFLAGS += \
|
---|
67 | $(JobMarket_LDFLAGS)
|
---|
68 | endif
|
---|
69 |
|
---|
70 | libMolecuilderJobs_la_LDFLAGS += \
|
---|
71 | $(CodePatterns_LDFLAGS)
|
---|
72 | libMolecuilderJobs_la_LIBADD = \
|
---|
73 | libMolecuilderFragmentationSummation.la
|
---|
74 | if CONDJOBMARKET
|
---|
75 | if CONDVMG
|
---|
76 | libMolecuilderJobs_la_LIBADD += \
|
---|
77 | $(VMG_LIBS)
|
---|
78 | endif
|
---|
79 | endif
|
---|
80 |
|
---|
81 | if CONDJOBMARKET
|
---|
82 | libMolecuilderJobs_la_LIBADD += \
|
---|
83 | $(JobMarket_LIBS)
|
---|
84 | endif
|
---|
85 | libMolecuilderJobs_la_LIBADD += \
|
---|
86 | $(BOOST_IOSTREAMS_LIBS) \
|
---|
87 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
88 | $(BOOST_SYSTEM_LIBS) \
|
---|
89 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
90 | $(CodePatterns_LIBS)
|
---|
91 | if CONDVMGMPI
|
---|
92 | libMolecuilderJobs_la_CPPFLAGS += $(MPI_CXXFLAGS)
|
---|
93 | libMolecuilderJobs_la_LDFLAGS += $(MPI_CXXLDFLAGS)
|
---|
94 | endif
|
---|
95 |
|
---|
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 |
|
---|