source: src/Makefile.am@ 92232f

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 92232f was c20839, checked in by Frederik Heber <heber@…>, 9 years ago

FIX: Shared libraries's Makefile.am rules are now consistent.

  • pkgconfig is just given once (in src/Makefile.am).
  • all have version information, including now pyMoleCuilder.so.
  • Property mode set to 100644
File size: 15.7 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
[748fc7]12# libMolecuilder.la requires the libraries listed below
[004d5c]13
[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
[a10cc0]20AM_LDFLAGS = -ldl ${BOOST_LDFLAGS} ${CodePatterns_LDFLAGS}
[3b35e7]21AM_CPPFLAGS = \
22 -I$(top_srcdir)/src/unittests \
23 -I$(top_srcdir)/src/Actions \
24 -I$(top_srcdir)/src/UIElements \
25 -I$(top_srcdir)/LinearAlgebra/src \
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 \
[efc3cb]152 moleculelist.cpp \
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 \
[6f43ab]172 Formula.hpp \
[3e4fb6]173 IdPool.hpp \
174 IdPool_impl.hpp \
[a292f6]175 IdPool_policy.hpp \
[d3abb1]176 MoleculeLeafClass.hpp \
[262ecc]177 MoleculeListClass.hpp \
[efc3cb]178 molecule.hpp \
[36f507]179 types.hpp \
[7d0a4e]180 ThreadGuard.hpp \
[112f90]181 UIElements/UIFactory.hpp \
[9cd9ab]182 version.h \
[6bb605]183 World.hpp \
[8544a33]184 World_calculations.hpp \
[f649de]185 WorldTime.hpp
[3027f8]186
[748fc7]187lib_LTLIBRARIES += libMolecuilder.la
[e5bf2b]188libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
[353326]189libMolecuilder_la_LDFLAGS = \
190 $(AM_LDFLAGS) \
191 $(CodePatterns_LDFLAGS) \
192 $(BOOST_SYSTEM_LDFLAGS) \
193 $(BOOST_THREAD_LDFLAGS)
194libMolecuilder_la_LIBADD = \
[fec597]195 libMolecuilderTesselation.la \
[353326]196 libMolecuilderShapes.la \
[748fc7]197 libMolecuilderHelpers.la \
[353326]198 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
199 ${CodePatterns_LIBS} \
200 $(BOOST_SERIALIZATION_LIBS) \
201 $(BOOST_PROGRAM_OPTIONS_LIBS) \
202 $(BOOST_FILESYSTEM_LIBS) \
203 $(BOOST_SYSTEM_LIBS) \
204 $(BOOST_THREAD_LIBS)
[255971]205
[e5bf2b]206nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
[255971]207
208## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
209## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
210## will therefore be treated as if it were literally part of the target name,
211## and the variable name derived from that.
212## The file extension .cc is recognized by Automake, and makes it produce
213## rules which invoke the C++ compiler to produce a libtool object file (.lo)
214## from each source file. Note that it is not necessary to list header files
215## which are already listed elsewhere in a _HEADERS variable assignment.
[9cd9ab]216libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE}
[255971]217
218## Instruct libtool to include ABI version information in the generated shared
219## library file (.so). The library ABI version is defined in configure.ac, so
220## that all version information is kept in one place.
[748fc7]221libMolecuilder_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
[255971]222
223## The generated configuration header is installed in its own subdirectory of
224## $(libdir). The reason for this is that the configuration information put
225## into this header file describes the target platform the installed library
226## has been built for. Thus the file must not be installed into a location
227## intended for architecture-independent files, as defined by the Filesystem
228## Hierarchy Standard (FHS).
229## The nodist_ prefix instructs Automake to not generate rules for including
230## the listed files in the distribution on 'make dist'. Files that are listed
231## in _HEADERS variables are normally included in the distribution, but the
232## configuration header file is generated at configure time and should not be
233## shipped with the source tarball.
[e5bf2b]234libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
235nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
[255971]236
237## Install the generated pkg-config file (.pc) into the expected location for
238## architecture-dependent package configuration information. Occasionally,
239## pkg-config files are also used for architecture-independent data packages,
240## in which case the correct install location would be $(datadir)/pkgconfig.
241pkgconfigdir = $(libdir)/pkgconfig
[acbe1b]242pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
[255971]243
[748fc7]244# then we compile the remainder of all other libraries, especially
245# libMolecuilderUI.la, which requires libMolecuilder.la on install
246
247include Actions/Makefile.am
248include Analysis/Makefile.am
249include Atom/Makefile.am
250include Element/Makefile.am
251include Filling/Makefile.am
252include Fragmentation/Makefile.am
253include Fragmentation/Automation/Makefile.am
254include Fragmentation/Summation/Containers/Makefile.am
255include Fragmentation/Summation/Converter/Makefile.am
256include Fragmentation/Summation/Makefile.am
257include Fragmentation/Summation/SetValues/Makefile.am
258include FunctionApproximation/Makefile.am
259include Graph/Makefile.am
260include Jobs/Makefile.am
261
262if CONDPYTHON
263include Python/Makefile.am
264endif
265
266include LinkedCell/Makefile.am
267include Parameters/Makefile.am
268include Parser/Makefile.am
269include Potentials/Makefile.am
270include RandomNumbers/Makefile.am
271include UIElements/Makefile.am
[ef9df36]272
[2e584e]273bin_PROGRAMS += molecuilder
[796aa6]274EXTRA_PROGRAMS = unity
[04488a]275
[b1d8092]276
[936a02]277extrastuffdir = $(datadir)/@PACKAGE@/data
278databasedir = $(extrastuffdir)/databases
279database_DATA = \
280 ${top_srcdir}/data/databases/*.db
281
282bondtabledir = $(extrastuffdir)/bondtables
283bondtable_DATA = \
284 ${top_srcdir}/data/bondtables/*.dat
[b1d8092]285
[936a02]286moleculedir = $(extrastuffdir)/molecules
287molecule_DATA = \
288 ${top_srcdir}/data/molecules/*.pdb
[b1d8092]289
[c015b3]290if CONDPYTHON
[693a80]291pyexec_LTLIBRARIES += pyMoleCuilder.la
[949953]292pyMoleCuilder_la_SOURCES = \
293 cleanUp.cpp \
294 cleanUp.hpp \
[48d3c0]295 Actions/Action_impl_python.hpp \
296 Actions/GlobalListOfActions.hpp \
[cc6e5c]297 Actions/ActionHistory.hpp
[3b35e7]298pyMoleCuilder_la_CPPFLAGS = $(AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} $(JobMarket_CFLAGS) -I$(PYTHON_INCLUDE_DIR)
[c20839]299pyMoleCuilder_la_LDFLAGS = -module -version-info $(MOLECUILDER_SO_VERSION) -shared $(BOOST_PYTHON_LDFLAGS)
[693a80]300pyMoleCuilder_la_LIBADD = \
[eb0d77]301 libMolecuilderUI.la
302pyMoleCuilder_la_LIBADD += \
[785218]303 $(BOOST_PYTHON_LIBS) \
[693a80]304 ${CodePatterns_LIBS} \
305 -l$(PYTHON_LIB)
[c015b3]306endif
[693a80]307
[715085]308
[7e3f11a]309
[14de8e1]310molecuilder_CPPFLAGS = $(AM_CPPFLAGS)
311#molecuilder_CPPFLAGS += -DNO_CACHING
312molecuilder_LDFLAGS = \
313 $(AM_LDFLAGS) \
[748fc7]314 $(CodePatterns_LDFLAGS) \
[14de8e1]315 $(BOOST_FILESYSTEM_LDFLAGS) \
316 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
317 $(BOOST_RANDOM_LDFLAGS) \
318 $(BOOST_SYSTEM_LDFLAGS) \
319 $(BOOST_THREAD_LDFLAGS)
[949953]320molecuilder_SOURCES = \
321 builder.cpp \
322 builder_init.cpp \
[748fc7]323 builder_init.hpp \
324 Python/PythonScripting.hpp
[952f38]325molecuilder_LDADD = \
[748fc7]326 libMolecuilder.la \
[eb0d77]327 libMolecuilderUI.la
328molecuilder_LDADD += \
[a0064e]329 ${CodePatterns_LIBS} \
[79de12]330 $(BOOST_THREAD_LIBS) \
331 $(BOOST_PROGRAM_OPTIONS_LIBS) \
332 $(BOOST_RANDOM_LIBS) \
[37ce5d]333 $(BOOST_FILESYSTEM_LIBS) \
334 $(BOOST_SYSTEM_LIBS)
[14de8e1]335
336if CONDPYTHON
337molecuilder_SOURCES += \
338 Actions/Action_impl_python.hpp \
339 Actions/GlobalListOfActions.hpp
340molecuilder_CPPFLAGS += -I$(PYTHON_INCLUDE_DIR)
341molecuilder_LDFLAGS += $(BOOST_PYTHON_LDFLAGS)
342molecuilder_LDADD += \
343 $(BOOST_PYTHON_LIBS) \
344 ${CodePatterns_LIBS} \
345 -l$(PYTHON_LIB)
346endif
[b1d8092]347
[4cf323d]348#Stuff for building the GUI using Qt
[c015b3]349if CONDQTGUI
350bin_PROGRAMS += molecuildergui
[949953]351molecuildergui_SOURCES = \
352 builder.cpp \
353 builder_init.cpp \
354 builder_init.hpp \
[7e3f11a]355 Python/PythonScripting.hpp
[14de8e1]356molecuildergui_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_GUI_QT
357molecuildergui_LDFLAGS = \
358 $(AM_LDFLAGS) \
359 $(BOOST_FILESYSTEM_LDFLAGS) \
360 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
361 $(BOOST_SYSTEM_LDFLAGS) \
362 $(BOOST_THREAD_LDFLAGS)
[952f38]363molecuildergui_LDADD = \
[748fc7]364 libMolecuilder.la \
[455573]365 libMolecuilderQtUI.la \
[eb0d77]366 libMolecuilderUI.la
367molecuildergui_LDADD += \
[a0064e]368 ${CodePatterns_LIBS} \
[79de12]369 $(BOOST_THREAD_LIBS) \
370 $(BOOST_PROGRAM_OPTIONS_LIBS) \
371 $(BOOST_RANDOM_LIBS) \
372 $(BOOST_FILESYSTEM_LIBS) \
[37ce5d]373 $(BOOST_SYSTEM_LIBS) \
[455573]374 $(GUI_LIBS)
[14de8e1]375
376if CONDPYTHON
377molecuildergui_SOURCES += \
378 Actions/Action_impl_python.hpp \
379 Actions/GlobalListOfActions.hpp
380molecuildergui_CPPFLAGS += -I$(PYTHON_INCLUDE_DIR)
381molecuildergui_LDFLAGS += $(BOOST_PYTHON_LDFLAGS)
382molecuildergui_LDADD += \
383 $(BOOST_PYTHON_LIBS) \
384 ${CodePatterns_LIBS} \
385 -l$(PYTHON_LIB)
386endif
387
[c015b3]388endif
[b1d8092]389
[004d5c]390if CONDJOBMARKET
[cc5db5]391CONTROLLERSOURCE = \
[fd4d5e]392 controller_MPQCCommandJob.cpp \
[7da5cd]393 ControllerOptions_MPQCCommandJob.cpp
[cc5db5]394
395CONTROLLERHEADER = \
[fd4d5e]396 controller_MPQCCommandJob.hpp \
[7da5cd]397 ControllerOptions_MPQCCommandJob.hpp
398
[fd4d5e]399
400noinst_LTLIBRARIES += libFragmentationAutomationController.la
401libFragmentationAutomationController_la_includedir = $(includedir)/MoleCuilder/JobMarket
402nobase_libFragmentationAutomationController_la_include_HEADERS = $(CONTROLLERHEADER)
403libFragmentationAutomationController_la_SOURCES = $(CONTROLLERSOURCE)
[004d5c]404 libFragmentationAutomationController_la_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
[fd4d5e]405libFragmentationAutomationController_la_LIBADD = \
[004d5c]406 ${JobMarket_Controller_LIBS} \
407 $(JobMarket_LIBS)
[cc5db5]408
[fd4d5e]409bin_PROGRAMS += Controller PoolWorker Server
410
[7da5cd]411Controller_SOURCES = controller.cpp controller_AddOn_MPQCCommandJob.cpp
[4d4ef8]412Controller_LDFLAGS = $(AM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
[14de8e1]413Controller_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
[cc5db5]414Controller_LDADD = \
[7da5cd]415 libFragmentationAutomationController.la \
[fe0355]416 libMolecuilderFragmentation_getFromKeysetStub.la \
[a10cc0]417 libMolecuilderFragmentation.la \
[049d4a]418 libMolecuilderJobs.la \
419 libMolecuilderFragmentationSummation.la \
[353326]420 libMolecuilderFragmentation_KeysetsContainer.la \
[a10cc0]421 libMolecuilderHelpers.la \
[004d5c]422 $(JobMarket_Controller_LIBS) \
423 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[4d4ef8]424 $(BOOST_SERIALIZATION_LIBS) \
[7da5cd]425 $(BOOST_PROGRAM_OPTIONS_LIBS) \
426 ${CodePatterns_LIBS}
[fd4d5e]427
[7da5cd]428PoolWorker_SOURCES = poolworker.cpp
[4d4ef8]429PoolWorker_LDFLAGS = $(AM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
[14de8e1]430PoolWorker_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
[cc5db5]431PoolWorker_LDADD = \
[004d5c]432 libMolecuilderJobs.la \
[fbf143]433 libMolecuilderFragmentationSummation.la \
[004d5c]434 ${JobMarket_PoolWorker_LIBS} \
435 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[4d4ef8]436 $(BOOST_SERIALIZATION_LIBS) \
437 $(BOOST_PROGRAM_OPTIONS_LIBS) \
[7da5cd]438 ${CodePatterns_LIBS}
[fd4d5e]439
[7da5cd]440Server_SOURCES = Server.cpp
[4d4ef8]441Server_LDFLAGS = $(AM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
[14de8e1]442Server_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
[cc5db5]443Server_LDADD = \
[004d5c]444 libMolecuilderJobs.la \
[fbf143]445 libMolecuilderFragmentationSummation.la \
[004d5c]446 ${JobMarket_Server_LIBS} \
447 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[4d4ef8]448 $(BOOST_SERIALIZATION_LIBS) \
449 $(BOOST_PROGRAM_OPTIONS_LIBS) \
[7da5cd]450 ${CodePatterns_LIBS}
[004d5c]451endif
[cc5db5]452
[455573]453unity_SOURCES = unity.cpp
[14de8e1]454unity_CPPFLAGS = $(AM_CPPFLAGS)
[3b5fca]455unity_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[79de12]456unity_LDADD = \
457 ${CodePatterns_LIBS} \
458 $(BOOST_THREAD_LIBS) \
459 $(BOOST_PROGRAM_OPTIONS_LIBS) \
460 $(BOOST_RANDOM_LIBS) \
[37ce5d]461 $(BOOST_FILESYSTEM_LIBS) \
462 $(BOOST_SYSTEM_LIBS)
[455573]463
[65b6e0]464
[a8eb4a]465FORCE:
466$(srcdir)/.git-version: FORCE
[f8be39]467 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
468 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
[a8eb4a]469 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
470 mv -f .git-version-t $(srcdir)/.git-version; \
471 else \
472 rm -f .git-version-t; \
473 fi
474
[fd4d5e]475EXTRA_DIST += \
[936a02]476 $(srcdir)/.git-version \
477 $(bondtable_DATA) \
478 $(database_DATA) \
479 $(molecule_DATA)
[a8eb4a]480
481$(srcdir)/version.c: $(srcdir)/.git-version
[5f8660a]482 echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
[a8eb4a]483
[b8d1aeb]484
[d223d5]485unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
486 list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
[b0b086]487 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
[d223d5]488 done; \
489 subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
490 olddir=$$PWD;\
491 cd $$directory && make unity.cpp;\
492 cd $$olddir;\
493 echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
494 done;\
495 echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
496 echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
497
[455573]498MOSTLYCLEANFILES += unity.cpp
[1ee3b8d]499
Note: See TracBrowser for help on using the repository browser.