source: src/Makefile.am@ e9e86f

Action_Thermostats Add_AtomRandomPerturbation Add_FitFragmentPartialChargesAction Add_RotateAroundBondAction Add_SelectAtomByNameAction Added_ParseSaveFragmentResults AddingActions_SaveParseParticleParameters Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_ParticleName_to_Atom Adding_StructOpt_integration_tests AtomFragments Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.5.4 Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator CombiningParticlePotentialParsing Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_BoundInBox_CenterInBox_MoleculeActions Fix_ChargeSampling_PBC Fix_ChronosMutex Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ForceAnnealing Fix_IndependentFragmentGrids Fix_ParseParticles Fix_ParseParticles_split_forward_backward_Actions Fix_PopActions Fix_QtFragmentList_sorted_selection Fix_Restrictedkeyset_FragmentMolecule Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns Fix_fitting_potentials Fixes ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion FragmentAction_writes_AtomFragments FragmentMolecule_checks_bonddegrees GeometryObjects Gui_Fixes Gui_displays_atomic_force_velocity ImplicitCharges IndependentFragmentGrids IndependentFragmentGrids_IndividualZeroInstances IndependentFragmentGrids_IntegrationTest IndependentFragmentGrids_Sole_NN_Calculation JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix MoreRobust_FragmentAutomation ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PdbParser_setsAtomName PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks Rewrite_FitPartialCharges RotateToPrincipalAxisSystem_UndoRedo SaturateAtoms_findBestMatching SaturateAtoms_singleDegree StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg Switchable_LogView ThirdParty_MPQC_rebuilt_buildsystem TrajectoryDependenant_MaxOrder TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps TremoloParser_setsAtomName Ubuntu_1604_changes stable
Last change on this file since e9e86f was 3b35e7, checked in by Frederik Heber <heber@…>, 11 years ago

Fixes due to update to Ubuntu 14.04.

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