source: src/Makefile.am@ 24e19e

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 24e19e was 353326, checked in by Frederik Heber <heber@…>, 12 years ago

FIX: Changed LIBADDs and LDADDs to get rid of libtool patching.

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