source: src/Makefile.am@ c7e000

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

Merge branch 'Candidate_v1.3.0' into stable

Conflicts:

src/Actions/unittests/stubs/DummyUI.hpp
src/UIElements/CommandLineUI/CommandLineDialog.cpp
src/UIElements/CommandLineUI/CommandLineDialog.hpp
src/UIElements/Dialog.cpp
src/UIElements/Dialog.hpp
src/UIElements/Makefile.am
src/UIElements/Qt4/QtDialog.cpp
src/UIElements/Qt4/QtDialog.hpp
src/UIElements/TextUI/TextDialog.cpp
src/UIElements/TextUI/TextDialog.hpp

  • Property mode set to 100644
File size: 15.1 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
[455573]18include Graph/Makefile.am
[2fadb6f]19include Helpers/Makefile.am
[004d5c]20
21if CONDJOBMARKET
[cc5db5]22include Jobs/Makefile.am
[004d5c]23endif
24
[91f592]25include LinkedCell/Makefile.am
[8453b3]26include Parameters/Makefile.am
[455573]27include Parser/Makefile.am
28include RandomNumbers/Makefile.am
29include Shapes/Makefile.am
30include UIElements/Makefile.am
[5079a0]31
[a10cc0]32AM_LDFLAGS = -ldl ${BOOST_LDFLAGS} ${CodePatterns_LDFLAGS}
[a0064e]33AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
[d5240d]34
[129204]35BONDSOURCE = \
36 Bond/bond.cpp \
[3f7587]37 Bond/bond_observable.cpp \
[af9be32]38 Bond/BondInfo.cpp \
[129204]39 Bond/GraphEdge.cpp
40
41BONDHEADER = \
42 Bond/bond.hpp \
[3f7587]43 Bond/bond_observable.hpp \
[af9be32]44 Bond/BondInfo.hpp \
[129204]45 Bond/GraphEdge.hpp
[efc3cb]46
[c42e60]47DESCRIPTORSOURCE = \
48 Descriptors/AtomDescriptor.cpp \
[efc3cb]49 Descriptors/AtomIdDescriptor.cpp \
[b49568]50 Descriptors/AtomOfMoleculeDescriptor.cpp \
[c42e60]51 Descriptors/AtomOfMoleculeSelectionDescriptor.cpp \
[61c364]52 Descriptors/AtomOrderDescriptor.cpp \
[48dcbd]53 Descriptors/AtomSelectionDescriptor.cpp \
[6d858c]54 Descriptors/AtomShapeDescriptor.cpp \
[efc3cb]55 Descriptors/AtomTypeDescriptor.cpp \
[7afb77]56 Descriptors/AtomsWithinDistanceOfDescriptor.cpp \
[efc3cb]57 Descriptors/MoleculeDescriptor.cpp \
[6e7147]58 Descriptors/MoleculeFormulaDescriptor.cpp \
[e05826]59 Descriptors/MoleculeIdDescriptor.cpp \
[e6317b]60 Descriptors/MoleculeNameDescriptor.cpp \
[c42e60]61 Descriptors/MoleculeOfAtomSelectionDescriptor.cpp \
[92d756]62 Descriptors/MoleculeOrderDescriptor.cpp \
[cf0ca1]63 Descriptors/MoleculePtrDescriptor.cpp \
64 Descriptors/MoleculeSelectionDescriptor.cpp
[57adc7]65
[75ac0c]66
[c42e60]67DESCRIPTORHEADER = \
68 Descriptors/AtomDescriptor.hpp \
[efc3cb]69 Descriptors/AtomIdDescriptor.hpp \
[b49568]70 Descriptors/AtomOfMoleculeDescriptor.hpp \
[c42e60]71 Descriptors/AtomOfMoleculeSelectionDescriptor.hpp \
[61c364]72 Descriptors/AtomOrderDescriptor.hpp \
[48dcbd]73 Descriptors/AtomSelectionDescriptor.hpp \
[6d858c]74 Descriptors/AtomShapeDescriptor.hpp \
[efc3cb]75 Descriptors/AtomTypeDescriptor.hpp \
[7afb77]76 Descriptors/AtomsWithinDistanceOfDescriptor.hpp \
[36f507]77 Descriptors/DescriptorBase.hpp \
[efc3cb]78 Descriptors/MoleculeDescriptor.hpp \
[6e7147]79 Descriptors/MoleculeFormulaDescriptor.hpp \
[e30ce8]80 Descriptors/MoleculeIdDescriptor.hpp \
[31b09e]81 Descriptors/MoleculeNameDescriptor.hpp \
[c42e60]82 Descriptors/MoleculeOfAtomSelectionDescriptor.hpp \
[92d756]83 Descriptors/MoleculeOrderDescriptor.hpp \
[cf0ca1]84 Descriptors/MoleculePtrDescriptor.hpp \
[36f507]85 Descriptors/MoleculeSelectionDescriptor.hpp \
86 Descriptors/SelectiveIterator.hpp
[c42e60]87
88DESCRIPTORIMPLHEADER = \
89 Descriptors/AtomDescriptor_impl.hpp \
90 Descriptors/AtomIdDescriptor_impl.hpp \
[b49568]91 Descriptors/AtomOfMoleculeDescriptor_impl.hpp \
[c42e60]92 Descriptors/AtomOfMoleculeSelectionDescriptor_impl.hpp \
[61c364]93 Descriptors/AtomOrderDescriptor_impl.hpp \
[c42e60]94 Descriptors/AtomSelectionDescriptor_impl.hpp \
95 Descriptors/AtomShapeDescriptor_impl.hpp \
96 Descriptors/AtomTypeDescriptor_impl.hpp \
[7afb77]97 Descriptors/AtomsWithinDistanceOfDescriptor_impl.hpp \
[36f507]98 Descriptors/DescriptorBase_impl.hpp \
[c42e60]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 \
[36f507]106 Descriptors/MoleculeSelectionDescriptor_impl.hpp \
107 Descriptors/SelectiveIterator_impl.hpp
[3f9eba]108
[9e23a3]109DYNAMICSSOURCE = \
110 Dynamics/MinimiseConstrainedPotential.cpp
111
112DYNAMICSHEADER = \
[20943b]113 Dynamics/LinearInterpolationBetweenSteps.hpp \
[8009ce]114 Dynamics/MinimiseConstrainedPotential.hpp \
[435065]115 Dynamics/OutputTemperature.hpp \
116 Dynamics/VerletForceIntegration.hpp
[9e23a3]117
[194649]118THERMOSTATSOURCE = \
119 Thermostats/Berendsen.cpp \
120 Thermostats/GaussianThermostat.cpp \
121 Thermostats/Langevin.cpp \
122 Thermostats/NoseHoover.cpp \
123 Thermostats/NoThermostat.cpp \
124 Thermostats/Thermostat.cpp \
[ab26c3]125 Thermostats/ThermoStatContainer.cpp \
[194649]126 Thermostats/Woodcock.cpp
[d193a2]127
[194649]128THERMOSTATHEADER = \
129 Thermostats/Berendsen.hpp \
130 Thermostats/GaussianThermostat.hpp \
131 Thermostats/Langevin.hpp \
132 Thermostats/NoseHoover.hpp \
133 Thermostats/NoThermostat.hpp \
134 Thermostats/Thermostat.hpp \
[262ecc]135 Thermostats/ThermoStatContainer.hpp \
[194649]136 Thermostats/Woodcock.hpp
[d193a2]137
[d74077]138TESSELATIONSOURCE = \
[4c6e70]139 Tesselation/ApproximateShapeArea.cpp \
140 Tesselation/ApproximateShapeVolume.cpp \
[d127c8]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
[d74077]151
152TESSELATIONHEADER = \
[4c6e70]153 Tesselation/ApproximateShapeArea.hpp \
154 Tesselation/ApproximateShapeVolume.hpp \
[d127c8]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
[d74077]166
[255971]167MOLECUILDERSOURCE = \
[129204]168 ${BONDSOURCE} \
[efc3cb]169 ${DESCRIPTORSOURCE} \
[9e23a3]170 ${DYNAMICSSOURCE} \
[194649]171 ${THERMOSTATSOURCE} \
[d74077]172 ${TESSELATIONSOURCE} \
[5e6534]173 AtomIdSet.cpp \
[83c09a]174 Box.cpp \
[dd067a]175 Box_BoundaryConditions.cpp \
[efc3cb]176 config.cpp \
[6f43ab]177 Formula.cpp \
[d3abb1]178 MoleculeLeafClass.cpp \
[efc3cb]179 moleculelist.cpp \
180 molecule.cpp \
181 molecule_geometry.cpp \
182 molecule_graph.cpp \
[112f90]183 UIElements/UIFactory.cpp \
[9cd9ab]184 version.c \
[f649de]185 World.cpp \
186 WorldTime.cpp
[5f612ee]187
[255971]188MOLECUILDERHEADER = \
[129204]189 ${BONDHEADER} \
[efc3cb]190 ${DESCRIPTORHEADER} \
[c42e60]191 ${DESCRIPTORIMPLHEADER} \
[9e23a3]192 ${DYNAMICSHEADER} \
[194649]193 ${THERMOSTATHEADER} \
[d74077]194 ${TESSELATIONHEADER} \
[5e6534]195 AtomIdSet.hpp \
[83c09a]196 Box.hpp \
[dd067a]197 Box_BoundaryConditions.hpp \
[efc3cb]198 config.hpp \
[6f43ab]199 Formula.hpp \
[3e4fb6]200 IdPool.hpp \
201 IdPool_impl.hpp \
[a292f6]202 IdPool_policy.hpp \
[d3abb1]203 MoleculeLeafClass.hpp \
[262ecc]204 MoleculeListClass.hpp \
[efc3cb]205 molecule.hpp \
[36f507]206 types.hpp \
[112f90]207 UIElements/UIFactory.hpp \
[9cd9ab]208 version.h \
[6bb605]209 World.hpp \
[8544a33]210 World_calculations.hpp \
[f649de]211 WorldTime.hpp
[3027f8]212
[455573]213noinst_LTLIBRARIES += libMolecuilder.la
[e5bf2b]214libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
[255971]215
[e5bf2b]216nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
[255971]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.
[9cd9ab]226libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE}
[255971]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.
[455573]231#libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
[255971]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.
[e5bf2b]244libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
245nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
[255971]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.
251pkgconfigdir = $(libdir)/pkgconfig
[acbe1b]252pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
[255971]253
[ef9df36]254
[a10cc0]255INCLUDES = \
256 -I$(top_srcdir)/src/unittests \
257 -I$(top_srcdir)/src/Actions \
258 -I$(top_srcdir)/src/UIElements \
[004d5c]259 -I$(top_srcdir)/LinearAlgebra/src
[ef9df36]260
[936a02]261libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
[255971]262noinst_LIBRARIES = libmenu.a
[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 = \
292 libMolecuilderUI.la \
[785218]293 $(BOOST_PYTHON_LIBS) \
[693a80]294 ${CodePatterns_LIBS} \
295 -l$(PYTHON_LIB)
[c015b3]296endif
[693a80]297
[715085]298
[004d5c]299molecuilder_CPPFLAGS = $(AM_CPPFLAGS)
[4d9c01]300#molecuilder_CXXFLAGS += -DNO_CACHING
[79de12]301molecuilder_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[949953]302molecuilder_SOURCES = \
303 builder.cpp \
304 builder_init.cpp \
305 builder_init.hpp \
306 cleanUp.cpp \
307 cleanUp.hpp
[952f38]308molecuilder_LDADD = \
[455573]309 libMolecuilderUI.la \
[bf4b9f]310 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[a0064e]311 ${CodePatterns_LIBS} \
[79de12]312 $(BOOST_THREAD_LIBS) \
313 $(BOOST_PROGRAM_OPTIONS_LIBS) \
314 $(BOOST_RANDOM_LIBS) \
315 $(BOOST_SYSTEM_LIBS) \
316 $(BOOST_FILESYSTEM_LIBS)
[b1d8092]317
[4cf323d]318#Stuff for building the GUI using Qt
[c015b3]319if CONDQTGUI
320bin_PROGRAMS += molecuildergui
[949953]321molecuildergui_SOURCES = \
322 builder.cpp \
323 builder_init.cpp \
324 builder_init.hpp \
325 cleanUp.cpp \
326 cleanUp.hpp
[79de12]327molecuildergui_CXXFLAGS = $(AM_CPPFLAGS) -DUSE_GUI_QT
328molecuildergui_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[952f38]329molecuildergui_LDADD = \
[455573]330 libMolecuilderQtUI.la \
331 libMolecuilderUI.la \
[bf4b9f]332 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[a0064e]333 ${CodePatterns_LIBS} \
[79de12]334 $(BOOST_THREAD_LIBS) \
335 $(BOOST_PROGRAM_OPTIONS_LIBS) \
336 $(BOOST_RANDOM_LIBS) \
337 $(BOOST_SYSTEM_LIBS) \
338 $(BOOST_FILESYSTEM_LIBS) \
[455573]339 $(GUI_LIBS)
[c015b3]340endif
[b1d8092]341
[3bdb6d]342joiner_SOURCES = Fragmentation/joiner.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
[3b5fca]343joiner_CXXFLAGS = $(AM_CPPFLAGS)
344joiner_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[255971]345joiner_LDADD = \
[a9b86d]346 libMolecuilderFragmentation.la \
[2fadb6f]347 libMolecuilderHelpers.la \
[3bdb6d]348 libMolecuilderElement.la \
[bf4b9f]349 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[a0064e]350 ${CodePatterns_LIBS} \
[79de12]351 $(BOOST_THREAD_LIBS)
[b1d8092]352
[3bdb6d]353analyzer_SOURCES = Fragmentation/analyzer.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
[3b5fca]354analyzer_CXXFLAGS = $(AM_CPPFLAGS)
355analyzer_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[255971]356analyzer_LDADD = \
[a9b86d]357 libMolecuilderFragmentation.la \
[2fadb6f]358 libMolecuilderHelpers.la \
[3bdb6d]359 libMolecuilderElement.la \
[bf4b9f]360 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[a0064e]361 ${CodePatterns_LIBS} \
[79de12]362 $(BOOST_THREAD_LIBS)
[14de469]363
[004d5c]364if CONDJOBMARKET
[cc5db5]365CONTROLLERSOURCE = \
[fd4d5e]366 controller_MPQCCommandJob.cpp \
[7da5cd]367 ControllerOptions_MPQCCommandJob.cpp
[cc5db5]368
369CONTROLLERHEADER = \
[fd4d5e]370 controller_MPQCCommandJob.hpp \
[7da5cd]371 ControllerOptions_MPQCCommandJob.hpp
372
[fd4d5e]373
374noinst_LTLIBRARIES += libFragmentationAutomationController.la
375libFragmentationAutomationController_la_includedir = $(includedir)/MoleCuilder/JobMarket
376nobase_libFragmentationAutomationController_la_include_HEADERS = $(CONTROLLERHEADER)
377libFragmentationAutomationController_la_SOURCES = $(CONTROLLERSOURCE)
[004d5c]378 libFragmentationAutomationController_la_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
[fd4d5e]379libFragmentationAutomationController_la_LIBADD = \
[004d5c]380 ${JobMarket_Controller_LIBS} \
381 $(JobMarket_LIBS)
[cc5db5]382
[fd4d5e]383bin_PROGRAMS += Controller PoolWorker Server
384
[7da5cd]385Controller_SOURCES = controller.cpp controller_AddOn_MPQCCommandJob.cpp
386Controller_LDFLAGS = $(AM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
[004d5c]387Controller_CXXFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
[cc5db5]388Controller_LDADD = \
[7da5cd]389 libFragmentationAutomationController.la \
[004d5c]390 libMolecuilderJobs.la \
[a10cc0]391 libMolecuilderFragmentation.la \
392 libMolecuilderHelpers.la \
[004d5c]393 $(JobMarket_Controller_LIBS) \
394 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[7da5cd]395 $(BOOST_PROGRAM_OPTIONS_LIBS) \
396 ${CodePatterns_LIBS}
[fd4d5e]397
[7da5cd]398PoolWorker_SOURCES = poolworker.cpp
399PoolWorker_LDFLAGS = $(AM_LDFLAGS) ${CodePatterns_LDFLAGS}
[004d5c]400PoolWorker_CXXFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
[cc5db5]401PoolWorker_LDADD = \
[004d5c]402 libMolecuilderJobs.la \
403 ${JobMarket_PoolWorker_LIBS} \
404 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[7da5cd]405 ${CodePatterns_LIBS}
[fd4d5e]406
[7da5cd]407Server_SOURCES = Server.cpp
408Server_LDFLAGS = $(AM_LDFLAGS) ${CodePatterns_LDFLAGS}
[004d5c]409Server_CXXFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
[cc5db5]410Server_LDADD = \
[004d5c]411 libMolecuilderJobs.la \
412 ${JobMarket_Server_LIBS} \
413 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[7da5cd]414 ${CodePatterns_LIBS}
[004d5c]415endif
[cc5db5]416
[455573]417unity_SOURCES = unity.cpp
[3b5fca]418unity_CXXFLAGS = $(AM_CPPFLAGS)
419unity_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[79de12]420unity_LDADD = \
421 ${CodePatterns_LIBS} \
422 $(BOOST_THREAD_LIBS) \
423 $(BOOST_PROGRAM_OPTIONS_LIBS) \
424 $(BOOST_RANDOM_LIBS) \
425 $(BOOST_SYSTEM_LIBS) \
426 $(BOOST_FILESYSTEM_LIBS)
[455573]427
[65b6e0]428
[a8eb4a]429FORCE:
430$(srcdir)/.git-version: FORCE
[f8be39]431 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
432 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
[a8eb4a]433 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
434 mv -f .git-version-t $(srcdir)/.git-version; \
435 else \
436 rm -f .git-version-t; \
437 fi
438
[fd4d5e]439EXTRA_DIST += \
[936a02]440 $(srcdir)/.git-version \
441 $(bondtable_DATA) \
442 $(database_DATA) \
443 $(molecule_DATA)
[a8eb4a]444
445$(srcdir)/version.c: $(srcdir)/.git-version
[5f8660a]446 echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
[a8eb4a]447
[b8d1aeb]448
[d223d5]449unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
450 list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
[b0b086]451 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
[d223d5]452 done; \
453 subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
454 olddir=$$PWD;\
455 cd $$directory && make unity.cpp;\
456 cd $$olddir;\
457 echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
458 done;\
459 echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
460 echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
461
[455573]462MOSTLYCLEANFILES += unity.cpp
[1ee3b8d]463
Note: See TracBrowser for help on using the repository browser.