source: src/Makefile.am@ 97dff0

Last change on this file since 97dff0 was 2e584e, checked in by Frederik Heber <heber@…>, 11 years ago

Removed (very) old joiner and analyzer programs.

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