source: src/Makefile.am@ d8c6c7

Action_Thermostats Add_AtomRandomPerturbation Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.1 ChangeBugEmailaddress ChemicalSpaceEvaluator EmpiricalPotential_contain_HomologyGraph_documentation Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph Fix_Verbose_Codepatterns ForceAnnealing_oldresults ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks StoppableMakroAction TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps
Last change on this file since d8c6c7 was d8c6c7, checked in by Frederik Heber <frederik.heber@…>, 8 years ago

Added GeometryObject and GeometryRegistry.

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