1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
2 | # Also indentation by a single tab
|
---|
3 |
|
---|
4 | MOSTLYCLEANFILES =
|
---|
5 | lib_LTLIBRARIES =
|
---|
6 | noinst_LTLIBRARIES =
|
---|
7 | pyexec_LTLIBRARIES =
|
---|
8 | BUILT_SOURCES =
|
---|
9 | bin_PROGRAMS =
|
---|
10 | EXTRA_DIST =
|
---|
11 |
|
---|
12 | include Actions/Makefile.am
|
---|
13 | include Analysis/Makefile.am
|
---|
14 | include Atom/Makefile.am
|
---|
15 | include Element/Makefile.am
|
---|
16 | include Filling/Makefile.am
|
---|
17 | include Fragmentation/Makefile.am
|
---|
18 | include Graph/Makefile.am
|
---|
19 | include Helpers/Makefile.am
|
---|
20 |
|
---|
21 | if CONDJOBMARKET
|
---|
22 | include Jobs/Makefile.am
|
---|
23 | endif
|
---|
24 |
|
---|
25 | include LinkedCell/Makefile.am
|
---|
26 | include Parameters/Makefile.am
|
---|
27 | include Parser/Makefile.am
|
---|
28 | include RandomNumbers/Makefile.am
|
---|
29 | include Shapes/Makefile.am
|
---|
30 | include UIElements/Makefile.am
|
---|
31 |
|
---|
32 | AM_LDFLAGS = -ldl ${BOOST_LDFLAGS} ${CodePatterns_LDFLAGS}
|
---|
33 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
34 |
|
---|
35 | BONDSOURCE = \
|
---|
36 | Bond/bond.cpp \
|
---|
37 | Bond/bond_observable.cpp \
|
---|
38 | Bond/BondInfo.cpp \
|
---|
39 | Bond/GraphEdge.cpp
|
---|
40 |
|
---|
41 | BONDHEADER = \
|
---|
42 | Bond/bond.hpp \
|
---|
43 | Bond/bond_observable.hpp \
|
---|
44 | Bond/BondInfo.hpp \
|
---|
45 | Bond/GraphEdge.hpp
|
---|
46 |
|
---|
47 | DESCRIPTORSOURCE = \
|
---|
48 | Descriptors/AtomDescriptor.cpp \
|
---|
49 | Descriptors/AtomIdDescriptor.cpp \
|
---|
50 | Descriptors/AtomOfMoleculeDescriptor.cpp \
|
---|
51 | Descriptors/AtomOfMoleculeSelectionDescriptor.cpp \
|
---|
52 | Descriptors/AtomOrderDescriptor.cpp \
|
---|
53 | Descriptors/AtomSelectionDescriptor.cpp \
|
---|
54 | Descriptors/AtomShapeDescriptor.cpp \
|
---|
55 | Descriptors/AtomTypeDescriptor.cpp \
|
---|
56 | Descriptors/AtomsWithinDistanceOfDescriptor.cpp \
|
---|
57 | Descriptors/MoleculeDescriptor.cpp \
|
---|
58 | Descriptors/MoleculeFormulaDescriptor.cpp \
|
---|
59 | Descriptors/MoleculeIdDescriptor.cpp \
|
---|
60 | Descriptors/MoleculeNameDescriptor.cpp \
|
---|
61 | Descriptors/MoleculeOfAtomSelectionDescriptor.cpp \
|
---|
62 | Descriptors/MoleculeOrderDescriptor.cpp \
|
---|
63 | Descriptors/MoleculePtrDescriptor.cpp \
|
---|
64 | Descriptors/MoleculeSelectionDescriptor.cpp
|
---|
65 |
|
---|
66 |
|
---|
67 | DESCRIPTORHEADER = \
|
---|
68 | Descriptors/AtomDescriptor.hpp \
|
---|
69 | Descriptors/AtomIdDescriptor.hpp \
|
---|
70 | Descriptors/AtomOfMoleculeDescriptor.hpp \
|
---|
71 | Descriptors/AtomOfMoleculeSelectionDescriptor.hpp \
|
---|
72 | Descriptors/AtomOrderDescriptor.hpp \
|
---|
73 | Descriptors/AtomSelectionDescriptor.hpp \
|
---|
74 | Descriptors/AtomShapeDescriptor.hpp \
|
---|
75 | Descriptors/AtomTypeDescriptor.hpp \
|
---|
76 | Descriptors/AtomsWithinDistanceOfDescriptor.hpp \
|
---|
77 | Descriptors/DescriptorBase.hpp \
|
---|
78 | Descriptors/MoleculeDescriptor.hpp \
|
---|
79 | Descriptors/MoleculeFormulaDescriptor.hpp \
|
---|
80 | Descriptors/MoleculeIdDescriptor.hpp \
|
---|
81 | Descriptors/MoleculeNameDescriptor.hpp \
|
---|
82 | Descriptors/MoleculeOfAtomSelectionDescriptor.hpp \
|
---|
83 | Descriptors/MoleculeOrderDescriptor.hpp \
|
---|
84 | Descriptors/MoleculePtrDescriptor.hpp \
|
---|
85 | Descriptors/MoleculeSelectionDescriptor.hpp \
|
---|
86 | Descriptors/SelectiveIterator.hpp
|
---|
87 |
|
---|
88 | DESCRIPTORIMPLHEADER = \
|
---|
89 | Descriptors/AtomDescriptor_impl.hpp \
|
---|
90 | Descriptors/AtomIdDescriptor_impl.hpp \
|
---|
91 | Descriptors/AtomOfMoleculeDescriptor_impl.hpp \
|
---|
92 | Descriptors/AtomOfMoleculeSelectionDescriptor_impl.hpp \
|
---|
93 | Descriptors/AtomOrderDescriptor_impl.hpp \
|
---|
94 | Descriptors/AtomSelectionDescriptor_impl.hpp \
|
---|
95 | Descriptors/AtomShapeDescriptor_impl.hpp \
|
---|
96 | Descriptors/AtomTypeDescriptor_impl.hpp \
|
---|
97 | Descriptors/AtomsWithinDistanceOfDescriptor_impl.hpp \
|
---|
98 | Descriptors/DescriptorBase_impl.hpp \
|
---|
99 | Descriptors/MoleculeDescriptor_impl.hpp \
|
---|
100 | Descriptors/MoleculeFormulaDescriptor_impl.hpp \
|
---|
101 | Descriptors/MoleculeIdDescriptor_impl.hpp \
|
---|
102 | Descriptors/MoleculeNameDescriptor_impl.hpp \
|
---|
103 | Descriptors/MoleculeOfAtomSelectionDescriptor_impl.hpp \
|
---|
104 | Descriptors/MoleculeOrderDescriptor_impl.hpp \
|
---|
105 | Descriptors/MoleculePtrDescriptor_impl.hpp \
|
---|
106 | Descriptors/MoleculeSelectionDescriptor_impl.hpp \
|
---|
107 | Descriptors/SelectiveIterator_impl.hpp
|
---|
108 |
|
---|
109 | DYNAMICSSOURCE = \
|
---|
110 | Dynamics/MinimiseConstrainedPotential.cpp
|
---|
111 |
|
---|
112 | DYNAMICSHEADER = \
|
---|
113 | Dynamics/LinearInterpolationBetweenSteps.hpp \
|
---|
114 | Dynamics/MinimiseConstrainedPotential.hpp \
|
---|
115 | Dynamics/OutputTemperature.hpp \
|
---|
116 | Dynamics/VerletForceIntegration.hpp
|
---|
117 |
|
---|
118 | THERMOSTATSOURCE = \
|
---|
119 | Thermostats/Berendsen.cpp \
|
---|
120 | Thermostats/GaussianThermostat.cpp \
|
---|
121 | Thermostats/Langevin.cpp \
|
---|
122 | Thermostats/NoseHoover.cpp \
|
---|
123 | Thermostats/NoThermostat.cpp \
|
---|
124 | Thermostats/Thermostat.cpp \
|
---|
125 | Thermostats/ThermoStatContainer.cpp \
|
---|
126 | Thermostats/Woodcock.cpp
|
---|
127 |
|
---|
128 | THERMOSTATHEADER = \
|
---|
129 | Thermostats/Berendsen.hpp \
|
---|
130 | Thermostats/GaussianThermostat.hpp \
|
---|
131 | Thermostats/Langevin.hpp \
|
---|
132 | Thermostats/NoseHoover.hpp \
|
---|
133 | Thermostats/NoThermostat.hpp \
|
---|
134 | Thermostats/Thermostat.hpp \
|
---|
135 | Thermostats/ThermoStatContainer.hpp \
|
---|
136 | Thermostats/Woodcock.hpp
|
---|
137 |
|
---|
138 | TESSELATIONSOURCE = \
|
---|
139 | Tesselation/ApproximateShapeArea.cpp \
|
---|
140 | Tesselation/ApproximateShapeVolume.cpp \
|
---|
141 | Tesselation/boundary.cpp \
|
---|
142 | Tesselation/BoundaryLineSet.cpp \
|
---|
143 | Tesselation/BoundaryPointSet.cpp \
|
---|
144 | Tesselation/BoundaryPolygonSet.cpp \
|
---|
145 | Tesselation/BoundaryTriangleSet.cpp \
|
---|
146 | Tesselation/CandidateForTesselation.cpp \
|
---|
147 | Tesselation/ellipsoid.cpp \
|
---|
148 | Tesselation/tesselation.cpp \
|
---|
149 | Tesselation/tesselationhelpers.cpp \
|
---|
150 | Tesselation/triangleintersectionlist.cpp
|
---|
151 |
|
---|
152 | TESSELATIONHEADER = \
|
---|
153 | Tesselation/ApproximateShapeArea.hpp \
|
---|
154 | Tesselation/ApproximateShapeVolume.hpp \
|
---|
155 | Tesselation/boundary.hpp \
|
---|
156 | Tesselation/BoundaryLineSet.hpp \
|
---|
157 | Tesselation/BoundaryMaps.hpp \
|
---|
158 | Tesselation/BoundaryPointSet.hpp \
|
---|
159 | Tesselation/BoundaryPolygonSet.hpp \
|
---|
160 | Tesselation/BoundaryTriangleSet.hpp \
|
---|
161 | Tesselation/CandidateForTesselation.hpp \
|
---|
162 | Tesselation/ellipsoid.hpp \
|
---|
163 | Tesselation/tesselation.hpp \
|
---|
164 | Tesselation/tesselationhelpers.hpp \
|
---|
165 | Tesselation/triangleintersectionlist.hpp
|
---|
166 |
|
---|
167 | MOLECUILDERSOURCE = \
|
---|
168 | ${BONDSOURCE} \
|
---|
169 | ${DESCRIPTORSOURCE} \
|
---|
170 | ${DYNAMICSSOURCE} \
|
---|
171 | ${THERMOSTATSOURCE} \
|
---|
172 | ${TESSELATIONSOURCE} \
|
---|
173 | AtomIdSet.cpp \
|
---|
174 | Box.cpp \
|
---|
175 | Box_BoundaryConditions.cpp \
|
---|
176 | config.cpp \
|
---|
177 | Formula.cpp \
|
---|
178 | MoleculeLeafClass.cpp \
|
---|
179 | moleculelist.cpp \
|
---|
180 | molecule.cpp \
|
---|
181 | molecule_geometry.cpp \
|
---|
182 | molecule_graph.cpp \
|
---|
183 | UIElements/UIFactory.cpp \
|
---|
184 | version.c \
|
---|
185 | World.cpp \
|
---|
186 | WorldTime.cpp
|
---|
187 |
|
---|
188 | MOLECUILDERHEADER = \
|
---|
189 | ${BONDHEADER} \
|
---|
190 | ${DESCRIPTORHEADER} \
|
---|
191 | ${DESCRIPTORIMPLHEADER} \
|
---|
192 | ${DYNAMICSHEADER} \
|
---|
193 | ${THERMOSTATHEADER} \
|
---|
194 | ${TESSELATIONHEADER} \
|
---|
195 | AtomIdSet.hpp \
|
---|
196 | Box.hpp \
|
---|
197 | Box_BoundaryConditions.hpp \
|
---|
198 | config.hpp \
|
---|
199 | Formula.hpp \
|
---|
200 | IdPool.hpp \
|
---|
201 | IdPool_impl.hpp \
|
---|
202 | IdPool_policy.hpp \
|
---|
203 | MoleculeLeafClass.hpp \
|
---|
204 | MoleculeListClass.hpp \
|
---|
205 | molecule.hpp \
|
---|
206 | types.hpp \
|
---|
207 | UIElements/UIFactory.hpp \
|
---|
208 | version.h \
|
---|
209 | World.hpp \
|
---|
210 | World_calculations.hpp \
|
---|
211 | WorldTime.hpp
|
---|
212 |
|
---|
213 | noinst_LTLIBRARIES += libMolecuilder.la
|
---|
214 | libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
|
---|
215 |
|
---|
216 | nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
|
---|
217 |
|
---|
218 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
219 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
220 | ## will therefore be treated as if it were literally part of the target name,
|
---|
221 | ## and the variable name derived from that.
|
---|
222 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
223 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
224 | ## from each source file. Note that it is not necessary to list header files
|
---|
225 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
226 | libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE}
|
---|
227 |
|
---|
228 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
229 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
230 | ## that all version information is kept in one place.
|
---|
231 | #libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
---|
232 |
|
---|
233 | ## The generated configuration header is installed in its own subdirectory of
|
---|
234 | ## $(libdir). The reason for this is that the configuration information put
|
---|
235 | ## into this header file describes the target platform the installed library
|
---|
236 | ## has been built for. Thus the file must not be installed into a location
|
---|
237 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
238 | ## Hierarchy Standard (FHS).
|
---|
239 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
240 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
241 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
242 | ## configuration header file is generated at configure time and should not be
|
---|
243 | ## shipped with the source tarball.
|
---|
244 | libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
|
---|
245 | nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
246 |
|
---|
247 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
248 | ## architecture-dependent package configuration information. Occasionally,
|
---|
249 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
250 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
251 | pkgconfigdir = $(libdir)/pkgconfig
|
---|
252 | pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
|
---|
253 |
|
---|
254 |
|
---|
255 | INCLUDES = \
|
---|
256 | -I$(top_srcdir)/src/unittests \
|
---|
257 | -I$(top_srcdir)/src/Actions \
|
---|
258 | -I$(top_srcdir)/src/UIElements \
|
---|
259 | -I$(top_srcdir)/LinearAlgebra/src
|
---|
260 |
|
---|
261 | bin_PROGRAMS += molecuilder joiner analyzer
|
---|
262 | EXTRA_PROGRAMS = unity
|
---|
263 |
|
---|
264 |
|
---|
265 | extrastuffdir = $(datadir)/@PACKAGE@/data
|
---|
266 | databasedir = $(extrastuffdir)/databases
|
---|
267 | database_DATA = \
|
---|
268 | ${top_srcdir}/data/databases/*.db
|
---|
269 |
|
---|
270 | bondtabledir = $(extrastuffdir)/bondtables
|
---|
271 | bondtable_DATA = \
|
---|
272 | ${top_srcdir}/data/bondtables/*.dat
|
---|
273 |
|
---|
274 | moleculedir = $(extrastuffdir)/molecules
|
---|
275 | molecule_DATA = \
|
---|
276 | ${top_srcdir}/data/molecules/*.pdb
|
---|
277 |
|
---|
278 | if CONDPYTHON
|
---|
279 | pyexec_LTLIBRARIES += pyMoleCuilder.la
|
---|
280 | pyMoleCuilder_la_SOURCES = \
|
---|
281 | cleanUp.cpp \
|
---|
282 | cleanUp.hpp \
|
---|
283 | Actions/Action_impl_python.hpp \
|
---|
284 | Actions/GlobalListOfActions.hpp \
|
---|
285 | Actions/ActionHistory.hpp \
|
---|
286 | Actions/pyMoleCuilder.cpp
|
---|
287 | pyMoleCuilder_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} -I$(PYTHON_INCLUDE_DIR)
|
---|
288 | pyMoleCuilder_la_LDFLAGS = -module -avoid-version -shared $(BOOST_PYTHON_LDFLAGS)
|
---|
289 | pyMoleCuilder_la_LIBADD = \
|
---|
290 | libMolecuilderUI.la
|
---|
291 | if CONDJOBMARKET
|
---|
292 | pyMoleCuilder_la_LIBADD += \
|
---|
293 | libMolecuilderJobs.la
|
---|
294 | endif
|
---|
295 | pyMoleCuilder_la_LIBADD += \
|
---|
296 | $(BOOST_PYTHON_LIBS) \
|
---|
297 | ${CodePatterns_LIBS} \
|
---|
298 | -l$(PYTHON_LIB)
|
---|
299 | endif
|
---|
300 |
|
---|
301 |
|
---|
302 | molecuilder_CPPFLAGS = $(AM_CPPFLAGS)
|
---|
303 | #molecuilder_CXXFLAGS += -DNO_CACHING
|
---|
304 | molecuilder_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
---|
305 | molecuilder_SOURCES = \
|
---|
306 | builder.cpp \
|
---|
307 | builder_init.cpp \
|
---|
308 | builder_init.hpp \
|
---|
309 | cleanUp.cpp \
|
---|
310 | cleanUp.hpp
|
---|
311 | molecuilder_LDADD = \
|
---|
312 | libMolecuilderUI.la
|
---|
313 | if CONDJOBMARKET
|
---|
314 | molecuilder_LDADD += \
|
---|
315 | libMolecuilderJobs.la
|
---|
316 | endif
|
---|
317 | molecuilder_LDADD += \
|
---|
318 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
319 | ${CodePatterns_LIBS} \
|
---|
320 | $(BOOST_THREAD_LIBS) \
|
---|
321 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
322 | $(BOOST_RANDOM_LIBS) \
|
---|
323 | $(BOOST_SYSTEM_LIBS) \
|
---|
324 | $(BOOST_FILESYSTEM_LIBS)
|
---|
325 |
|
---|
326 | #Stuff for building the GUI using Qt
|
---|
327 | if CONDQTGUI
|
---|
328 | bin_PROGRAMS += molecuildergui
|
---|
329 | molecuildergui_SOURCES = \
|
---|
330 | builder.cpp \
|
---|
331 | builder_init.cpp \
|
---|
332 | builder_init.hpp \
|
---|
333 | cleanUp.cpp \
|
---|
334 | cleanUp.hpp
|
---|
335 | molecuildergui_CXXFLAGS = $(AM_CPPFLAGS) -DUSE_GUI_QT
|
---|
336 | molecuildergui_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
---|
337 | molecuildergui_LDADD = \
|
---|
338 | libMolecuilderQtUI.la \
|
---|
339 | libMolecuilderUI.la
|
---|
340 | if CONDJOBMARKET
|
---|
341 | molecuildergui_LDADD += \
|
---|
342 | libMolecuilderJobs.la
|
---|
343 | endif
|
---|
344 | molecuildergui_LDADD += \
|
---|
345 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
346 | ${CodePatterns_LIBS} \
|
---|
347 | $(BOOST_THREAD_LIBS) \
|
---|
348 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
349 | $(BOOST_RANDOM_LIBS) \
|
---|
350 | $(BOOST_SYSTEM_LIBS) \
|
---|
351 | $(BOOST_FILESYSTEM_LIBS) \
|
---|
352 | $(GUI_LIBS)
|
---|
353 | endif
|
---|
354 |
|
---|
355 | joiner_SOURCES = Fragmentation/joiner.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
|
---|
356 | joiner_CXXFLAGS = $(AM_CPPFLAGS)
|
---|
357 | joiner_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
---|
358 | joiner_LDADD = \
|
---|
359 | libMolecuilderFragmentation.la \
|
---|
360 | libMolecuilderHelpers.la \
|
---|
361 | libMolecuilderElement.la \
|
---|
362 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
363 | ${CodePatterns_LIBS} \
|
---|
364 | $(BOOST_THREAD_LIBS)
|
---|
365 |
|
---|
366 | analyzer_SOURCES = Fragmentation/analyzer.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
|
---|
367 | analyzer_CXXFLAGS = $(AM_CPPFLAGS)
|
---|
368 | analyzer_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
---|
369 | analyzer_LDADD = \
|
---|
370 | libMolecuilderFragmentation.la \
|
---|
371 | libMolecuilderHelpers.la \
|
---|
372 | libMolecuilderElement.la \
|
---|
373 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
374 | ${CodePatterns_LIBS} \
|
---|
375 | $(BOOST_THREAD_LIBS)
|
---|
376 |
|
---|
377 | if CONDJOBMARKET
|
---|
378 | CONTROLLERSOURCE = \
|
---|
379 | controller_MPQCCommandJob.cpp \
|
---|
380 | ControllerOptions_MPQCCommandJob.cpp
|
---|
381 |
|
---|
382 | CONTROLLERHEADER = \
|
---|
383 | controller_MPQCCommandJob.hpp \
|
---|
384 | ControllerOptions_MPQCCommandJob.hpp
|
---|
385 |
|
---|
386 |
|
---|
387 | noinst_LTLIBRARIES += libFragmentationAutomationController.la
|
---|
388 | libFragmentationAutomationController_la_includedir = $(includedir)/MoleCuilder/JobMarket
|
---|
389 | nobase_libFragmentationAutomationController_la_include_HEADERS = $(CONTROLLERHEADER)
|
---|
390 | libFragmentationAutomationController_la_SOURCES = $(CONTROLLERSOURCE)
|
---|
391 | libFragmentationAutomationController_la_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
|
---|
392 | libFragmentationAutomationController_la_LIBADD = \
|
---|
393 | ${JobMarket_Controller_LIBS} \
|
---|
394 | $(JobMarket_LIBS)
|
---|
395 |
|
---|
396 | bin_PROGRAMS += Controller PoolWorker Server
|
---|
397 |
|
---|
398 | Controller_SOURCES = controller.cpp controller_AddOn_MPQCCommandJob.cpp
|
---|
399 | Controller_LDFLAGS = $(AM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
|
---|
400 | Controller_CXXFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
|
---|
401 | Controller_LDADD = \
|
---|
402 | libFragmentationAutomationController.la \
|
---|
403 | libMolecuilderJobs.la \
|
---|
404 | libMolecuilderFragmentation.la \
|
---|
405 | libMolecuilderHelpers.la \
|
---|
406 | $(JobMarket_Controller_LIBS) \
|
---|
407 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
408 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
409 | ${CodePatterns_LIBS}
|
---|
410 |
|
---|
411 | PoolWorker_SOURCES = poolworker.cpp
|
---|
412 | PoolWorker_LDFLAGS = $(AM_LDFLAGS) ${CodePatterns_LDFLAGS}
|
---|
413 | PoolWorker_CXXFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
|
---|
414 | PoolWorker_LDADD = \
|
---|
415 | libMolecuilderJobs.la \
|
---|
416 | ${JobMarket_PoolWorker_LIBS} \
|
---|
417 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
418 | ${CodePatterns_LIBS}
|
---|
419 |
|
---|
420 | Server_SOURCES = Server.cpp
|
---|
421 | Server_LDFLAGS = $(AM_LDFLAGS) ${CodePatterns_LDFLAGS}
|
---|
422 | Server_CXXFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
|
---|
423 | Server_LDADD = \
|
---|
424 | libMolecuilderJobs.la \
|
---|
425 | ${JobMarket_Server_LIBS} \
|
---|
426 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
427 | ${CodePatterns_LIBS}
|
---|
428 | endif
|
---|
429 |
|
---|
430 | unity_SOURCES = unity.cpp
|
---|
431 | unity_CXXFLAGS = $(AM_CPPFLAGS)
|
---|
432 | unity_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
---|
433 | unity_LDADD = \
|
---|
434 | ${CodePatterns_LIBS} \
|
---|
435 | $(BOOST_THREAD_LIBS) \
|
---|
436 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
437 | $(BOOST_RANDOM_LIBS) \
|
---|
438 | $(BOOST_SYSTEM_LIBS) \
|
---|
439 | $(BOOST_FILESYSTEM_LIBS)
|
---|
440 |
|
---|
441 |
|
---|
442 | FORCE:
|
---|
443 | $(srcdir)/.git-version: FORCE
|
---|
444 | @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
|
---|
445 | && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
|
---|
446 | && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
|
---|
447 | mv -f .git-version-t $(srcdir)/.git-version; \
|
---|
448 | else \
|
---|
449 | rm -f .git-version-t; \
|
---|
450 | fi
|
---|
451 |
|
---|
452 | EXTRA_DIST += \
|
---|
453 | $(srcdir)/.git-version \
|
---|
454 | $(bondtable_DATA) \
|
---|
455 | $(database_DATA) \
|
---|
456 | $(molecule_DATA)
|
---|
457 |
|
---|
458 | $(srcdir)/version.c: $(srcdir)/.git-version
|
---|
459 | echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
|
---|
460 |
|
---|
461 |
|
---|
462 | unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
|
---|
463 | list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
|
---|
464 | echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
|
---|
465 | done; \
|
---|
466 | subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
|
---|
467 | olddir=$$PWD;\
|
---|
468 | cd $$directory && make unity.cpp;\
|
---|
469 | cd $$olddir;\
|
---|
470 | echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
|
---|
471 | done;\
|
---|
472 | echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
|
---|
473 | echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
|
---|
474 |
|
---|
475 | MOSTLYCLEANFILES += unity.cpp
|
---|
476 |
|
---|