source: src/Makefile.am@ d61161

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 d61161 was d61161, checked in by Frederik Heber <heber@…>, 13 years ago

Merge branch 'michi-list-query-validator' into stable

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