source: src/Makefile.am@ 30421d

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 30421d was 5b991a, checked in by Frederik Heber <heber@…>, 12 years ago

compile icons into the executable

  • Property mode set to 100644
File size: 15.3 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
[004d5c]261bin_PROGRAMS += molecuilder joiner analyzer
[796aa6]262EXTRA_PROGRAMS = unity
[04488a]263
[b1d8092]264
[936a02]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
[b1d8092]273
[936a02]274moleculedir = $(extrastuffdir)/molecules
275molecule_DATA = \
276 ${top_srcdir}/data/molecules/*.pdb
[b1d8092]277
[c015b3]278if CONDPYTHON
[693a80]279pyexec_LTLIBRARIES += pyMoleCuilder.la
[949953]280pyMoleCuilder_la_SOURCES = \
281 cleanUp.cpp \
282 cleanUp.hpp \
[48d3c0]283 Actions/Action_impl_python.hpp \
284 Actions/GlobalListOfActions.hpp \
285 Actions/ActionHistory.hpp \
[949953]286 Actions/pyMoleCuilder.cpp
[693a80]287pyMoleCuilder_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} -I$(PYTHON_INCLUDE_DIR)
[785218]288pyMoleCuilder_la_LDFLAGS = -module -avoid-version -shared $(BOOST_PYTHON_LDFLAGS)
[693a80]289pyMoleCuilder_la_LIBADD = \
[eb0d77]290 libMolecuilderUI.la
291if CONDJOBMARKET
292pyMoleCuilder_la_LIBADD += \
293 libMolecuilderJobs.la
294endif
295pyMoleCuilder_la_LIBADD += \
[785218]296 $(BOOST_PYTHON_LIBS) \
[693a80]297 ${CodePatterns_LIBS} \
298 -l$(PYTHON_LIB)
[c015b3]299endif
[693a80]300
[715085]301
[5b991a]302molecuilder_CPPFLAGS = $(AM_CPPFLAGS) ${QT_CFLAGS}
[4d9c01]303#molecuilder_CXXFLAGS += -DNO_CACHING
[79de12]304molecuilder_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[949953]305molecuilder_SOURCES = \
306 builder.cpp \
307 builder_init.cpp \
308 builder_init.hpp \
309 cleanUp.cpp \
310 cleanUp.hpp
[952f38]311molecuilder_LDADD = \
[eb0d77]312 libMolecuilderUI.la
313if CONDJOBMARKET
314molecuilder_LDADD += \
315 libMolecuilderJobs.la
316endif
317molecuilder_LDADD += \
[bf4b9f]318 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[a0064e]319 ${CodePatterns_LIBS} \
[79de12]320 $(BOOST_THREAD_LIBS) \
321 $(BOOST_PROGRAM_OPTIONS_LIBS) \
322 $(BOOST_RANDOM_LIBS) \
323 $(BOOST_SYSTEM_LIBS) \
324 $(BOOST_FILESYSTEM_LIBS)
[b1d8092]325
[4cf323d]326#Stuff for building the GUI using Qt
[c015b3]327if CONDQTGUI
328bin_PROGRAMS += molecuildergui
[949953]329molecuildergui_SOURCES = \
330 builder.cpp \
331 builder_init.cpp \
332 builder_init.hpp \
333 cleanUp.cpp \
334 cleanUp.hpp
[79de12]335molecuildergui_CXXFLAGS = $(AM_CPPFLAGS) -DUSE_GUI_QT
336molecuildergui_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[952f38]337molecuildergui_LDADD = \
[455573]338 libMolecuilderQtUI.la \
[eb0d77]339 libMolecuilderUI.la
340if CONDJOBMARKET
341molecuildergui_LDADD += \
342 libMolecuilderJobs.la
343endif
344molecuildergui_LDADD += \
[bf4b9f]345 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[a0064e]346 ${CodePatterns_LIBS} \
[79de12]347 $(BOOST_THREAD_LIBS) \
348 $(BOOST_PROGRAM_OPTIONS_LIBS) \
349 $(BOOST_RANDOM_LIBS) \
350 $(BOOST_SYSTEM_LIBS) \
351 $(BOOST_FILESYSTEM_LIBS) \
[455573]352 $(GUI_LIBS)
[c015b3]353endif
[b1d8092]354
[3bdb6d]355joiner_SOURCES = Fragmentation/joiner.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
[3b5fca]356joiner_CXXFLAGS = $(AM_CPPFLAGS)
357joiner_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[255971]358joiner_LDADD = \
[a9b86d]359 libMolecuilderFragmentation.la \
[2fadb6f]360 libMolecuilderHelpers.la \
[3bdb6d]361 libMolecuilderElement.la \
[bf4b9f]362 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[a0064e]363 ${CodePatterns_LIBS} \
[79de12]364 $(BOOST_THREAD_LIBS)
[b1d8092]365
[3bdb6d]366analyzer_SOURCES = Fragmentation/analyzer.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
[3b5fca]367analyzer_CXXFLAGS = $(AM_CPPFLAGS)
368analyzer_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[255971]369analyzer_LDADD = \
[a9b86d]370 libMolecuilderFragmentation.la \
[2fadb6f]371 libMolecuilderHelpers.la \
[3bdb6d]372 libMolecuilderElement.la \
[bf4b9f]373 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[a0064e]374 ${CodePatterns_LIBS} \
[79de12]375 $(BOOST_THREAD_LIBS)
[14de469]376
[004d5c]377if CONDJOBMARKET
[cc5db5]378CONTROLLERSOURCE = \
[fd4d5e]379 controller_MPQCCommandJob.cpp \
[7da5cd]380 ControllerOptions_MPQCCommandJob.cpp
[cc5db5]381
382CONTROLLERHEADER = \
[fd4d5e]383 controller_MPQCCommandJob.hpp \
[7da5cd]384 ControllerOptions_MPQCCommandJob.hpp
385
[fd4d5e]386
387noinst_LTLIBRARIES += libFragmentationAutomationController.la
388libFragmentationAutomationController_la_includedir = $(includedir)/MoleCuilder/JobMarket
389nobase_libFragmentationAutomationController_la_include_HEADERS = $(CONTROLLERHEADER)
390libFragmentationAutomationController_la_SOURCES = $(CONTROLLERSOURCE)
[004d5c]391 libFragmentationAutomationController_la_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
[fd4d5e]392libFragmentationAutomationController_la_LIBADD = \
[004d5c]393 ${JobMarket_Controller_LIBS} \
394 $(JobMarket_LIBS)
[cc5db5]395
[fd4d5e]396bin_PROGRAMS += Controller PoolWorker Server
397
[7da5cd]398Controller_SOURCES = controller.cpp controller_AddOn_MPQCCommandJob.cpp
399Controller_LDFLAGS = $(AM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
[004d5c]400Controller_CXXFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
[cc5db5]401Controller_LDADD = \
[7da5cd]402 libFragmentationAutomationController.la \
[004d5c]403 libMolecuilderJobs.la \
[a10cc0]404 libMolecuilderFragmentation.la \
405 libMolecuilderHelpers.la \
[004d5c]406 $(JobMarket_Controller_LIBS) \
407 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[7da5cd]408 $(BOOST_PROGRAM_OPTIONS_LIBS) \
409 ${CodePatterns_LIBS}
[fd4d5e]410
[7da5cd]411PoolWorker_SOURCES = poolworker.cpp
412PoolWorker_LDFLAGS = $(AM_LDFLAGS) ${CodePatterns_LDFLAGS}
[004d5c]413PoolWorker_CXXFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
[cc5db5]414PoolWorker_LDADD = \
[004d5c]415 libMolecuilderJobs.la \
416 ${JobMarket_PoolWorker_LIBS} \
417 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[7da5cd]418 ${CodePatterns_LIBS}
[fd4d5e]419
[7da5cd]420Server_SOURCES = Server.cpp
421Server_LDFLAGS = $(AM_LDFLAGS) ${CodePatterns_LDFLAGS}
[004d5c]422Server_CXXFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
[cc5db5]423Server_LDADD = \
[004d5c]424 libMolecuilderJobs.la \
425 ${JobMarket_Server_LIBS} \
426 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[7da5cd]427 ${CodePatterns_LIBS}
[004d5c]428endif
[cc5db5]429
[455573]430unity_SOURCES = unity.cpp
[3b5fca]431unity_CXXFLAGS = $(AM_CPPFLAGS)
432unity_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[79de12]433unity_LDADD = \
434 ${CodePatterns_LIBS} \
435 $(BOOST_THREAD_LIBS) \
436 $(BOOST_PROGRAM_OPTIONS_LIBS) \
437 $(BOOST_RANDOM_LIBS) \
438 $(BOOST_SYSTEM_LIBS) \
439 $(BOOST_FILESYSTEM_LIBS)
[455573]440
[65b6e0]441
[a8eb4a]442FORCE:
443$(srcdir)/.git-version: FORCE
[f8be39]444 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
445 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
[a8eb4a]446 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
447 mv -f .git-version-t $(srcdir)/.git-version; \
448 else \
449 rm -f .git-version-t; \
450 fi
451
[fd4d5e]452EXTRA_DIST += \
[936a02]453 $(srcdir)/.git-version \
454 $(bondtable_DATA) \
455 $(database_DATA) \
456 $(molecule_DATA)
[a8eb4a]457
458$(srcdir)/version.c: $(srcdir)/.git-version
[5f8660a]459 echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
[a8eb4a]460
[b8d1aeb]461
[d223d5]462unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
463 list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
[b0b086]464 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
[d223d5]465 done; \
466 subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
467 olddir=$$PWD;\
468 cd $$directory && make unity.cpp;\
469 cd $$olddir;\
470 echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
471 done;\
472 echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
473 echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
474
[455573]475MOSTLYCLEANFILES += unity.cpp
[1ee3b8d]476
Note: See TracBrowser for help on using the repository browser.