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