source: src/Makefile.am@ cb7676

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

Added AtomOrderDescription along with SelectionAtomByOrder.

  • Property mode set to 100644
File size: 13.0 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4MOSTLYCLEANFILES =
5lib_LTLIBRARIES =
6noinst_LTLIBRARIES =
7pyexec_LTLIBRARIES =
8BUILT_SOURCES =
9bin_PROGRAMS =
10
11include Actions/Makefile.am
12include Analysis/Makefile.am
13include Atom/Makefile.am
14include Element/Makefile.am
15include Filling/Makefile.am
16include Fragmentation/Makefile.am
17include Graph/Makefile.am
18include Helpers/Makefile.am
19include LinkedCell/Makefile.am
20include Parser/Makefile.am
21include RandomNumbers/Makefile.am
22include Shapes/Makefile.am
23include UIElements/Makefile.am
24
25AM_LDFLAGS = -ldl ${BOOST_LDFLAGS}
26AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
27
28BONDSOURCE = \
29 Bond/bond.cpp \
30 Bond/bond_observable.cpp \
31 Bond/GraphEdge.cpp
32
33BONDHEADER = \
34 Bond/bond.hpp \
35 Bond/bond_observable.hpp \
36 Bond/GraphEdge.hpp
37
38DESCRIPTORSOURCE = \
39 Descriptors/AtomDescriptor.cpp \
40 Descriptors/AtomIdDescriptor.cpp \
41 Descriptors/AtomOfMoleculeDescriptor.cpp \
42 Descriptors/AtomOfMoleculeSelectionDescriptor.cpp \
43 Descriptors/AtomOrderDescriptor.cpp \
44 Descriptors/AtomSelectionDescriptor.cpp \
45 Descriptors/AtomShapeDescriptor.cpp \
46 Descriptors/AtomTypeDescriptor.cpp \
47 Descriptors/AtomsWithinDistanceOfDescriptor.cpp \
48 Descriptors/MoleculeDescriptor.cpp \
49 Descriptors/MoleculeFormulaDescriptor.cpp \
50 Descriptors/MoleculeIdDescriptor.cpp \
51 Descriptors/MoleculeNameDescriptor.cpp \
52 Descriptors/MoleculeOfAtomSelectionDescriptor.cpp \
53 Descriptors/MoleculeOrderDescriptor.cpp \
54 Descriptors/MoleculePtrDescriptor.cpp \
55 Descriptors/MoleculeSelectionDescriptor.cpp
56
57
58DESCRIPTORHEADER = \
59 Descriptors/AtomDescriptor.hpp \
60 Descriptors/AtomIdDescriptor.hpp \
61 Descriptors/AtomOfMoleculeDescriptor.hpp \
62 Descriptors/AtomOfMoleculeSelectionDescriptor.hpp \
63 Descriptors/AtomOrderDescriptor.hpp \
64 Descriptors/AtomSelectionDescriptor.hpp \
65 Descriptors/AtomShapeDescriptor.hpp \
66 Descriptors/AtomTypeDescriptor.hpp \
67 Descriptors/AtomsWithinDistanceOfDescriptor.hpp \
68 Descriptors/DescriptorBase.hpp \
69 Descriptors/MoleculeDescriptor.hpp \
70 Descriptors/MoleculeFormulaDescriptor.hpp \
71 Descriptors/MoleculeIdDescriptor.hpp \
72 Descriptors/MoleculeNameDescriptor.hpp \
73 Descriptors/MoleculeOfAtomSelectionDescriptor.hpp \
74 Descriptors/MoleculeOrderDescriptor.hpp \
75 Descriptors/MoleculePtrDescriptor.hpp \
76 Descriptors/MoleculeSelectionDescriptor.hpp \
77 Descriptors/SelectiveIterator.hpp
78
79DESCRIPTORIMPLHEADER = \
80 Descriptors/AtomDescriptor_impl.hpp \
81 Descriptors/AtomIdDescriptor_impl.hpp \
82 Descriptors/AtomOfMoleculeDescriptor_impl.hpp \
83 Descriptors/AtomOfMoleculeSelectionDescriptor_impl.hpp \
84 Descriptors/AtomOrderDescriptor_impl.hpp \
85 Descriptors/AtomSelectionDescriptor_impl.hpp \
86 Descriptors/AtomShapeDescriptor_impl.hpp \
87 Descriptors/AtomTypeDescriptor_impl.hpp \
88 Descriptors/AtomsWithinDistanceOfDescriptor_impl.hpp \
89 Descriptors/DescriptorBase_impl.hpp \
90 Descriptors/MoleculeDescriptor_impl.hpp \
91 Descriptors/MoleculeFormulaDescriptor_impl.hpp \
92 Descriptors/MoleculeIdDescriptor_impl.hpp \
93 Descriptors/MoleculeNameDescriptor_impl.hpp \
94 Descriptors/MoleculeOfAtomSelectionDescriptor_impl.hpp \
95 Descriptors/MoleculeOrderDescriptor_impl.hpp \
96 Descriptors/MoleculePtrDescriptor_impl.hpp \
97 Descriptors/MoleculeSelectionDescriptor_impl.hpp \
98 Descriptors/SelectiveIterator_impl.hpp
99
100DYNAMICSSOURCE = \
101 Dynamics/MinimiseConstrainedPotential.cpp
102
103DYNAMICSHEADER = \
104 Dynamics/LinearInterpolationBetweenSteps.hpp \
105 Dynamics/MinimiseConstrainedPotential.hpp \
106 Dynamics/OutputTemperature.hpp \
107 Dynamics/VerletForceIntegration.hpp
108
109THERMOSTATSOURCE = \
110 Thermostats/Berendsen.cpp \
111 Thermostats/GaussianThermostat.cpp \
112 Thermostats/Langevin.cpp \
113 Thermostats/NoseHoover.cpp \
114 Thermostats/NoThermostat.cpp \
115 Thermostats/Thermostat.cpp \
116 Thermostats/ThermoStatContainer.cpp \
117 Thermostats/Woodcock.cpp
118
119THERMOSTATHEADER = \
120 Thermostats/Berendsen.hpp \
121 Thermostats/GaussianThermostat.hpp \
122 Thermostats/Langevin.hpp \
123 Thermostats/NoseHoover.hpp \
124 Thermostats/NoThermostat.hpp \
125 Thermostats/Thermostat.hpp \
126 Thermostats/ThermoStatContainer.hpp \
127 Thermostats/Woodcock.hpp
128
129TESSELATIONSOURCE = \
130 Tesselation/ApproximateShapeArea.cpp \
131 Tesselation/ApproximateShapeVolume.cpp \
132 Tesselation/boundary.cpp \
133 Tesselation/BoundaryLineSet.cpp \
134 Tesselation/BoundaryPointSet.cpp \
135 Tesselation/BoundaryPolygonSet.cpp \
136 Tesselation/BoundaryTriangleSet.cpp \
137 Tesselation/CandidateForTesselation.cpp \
138 Tesselation/ellipsoid.cpp \
139 Tesselation/tesselation.cpp \
140 Tesselation/tesselationhelpers.cpp \
141 Tesselation/triangleintersectionlist.cpp
142
143TESSELATIONHEADER = \
144 Tesselation/ApproximateShapeArea.hpp \
145 Tesselation/ApproximateShapeVolume.hpp \
146 Tesselation/boundary.hpp \
147 Tesselation/BoundaryLineSet.hpp \
148 Tesselation/BoundaryMaps.hpp \
149 Tesselation/BoundaryPointSet.hpp \
150 Tesselation/BoundaryPolygonSet.hpp \
151 Tesselation/BoundaryTriangleSet.hpp \
152 Tesselation/CandidateForTesselation.hpp \
153 Tesselation/ellipsoid.hpp \
154 Tesselation/tesselation.hpp \
155 Tesselation/tesselationhelpers.hpp \
156 Tesselation/triangleintersectionlist.hpp
157
158MOLECUILDERSOURCE = \
159 ${BONDSOURCE} \
160 ${DESCRIPTORSOURCE} \
161 ${DYNAMICSSOURCE} \
162 ${THERMOSTATSOURCE} \
163 ${TESSELATIONSOURCE} \
164 AtomIdSet.cpp \
165 Box.cpp \
166 Box_BoundaryConditions.cpp \
167 config.cpp \
168 Formula.cpp \
169 MoleculeLeafClass.cpp \
170 moleculelist.cpp \
171 molecule.cpp \
172 molecule_geometry.cpp \
173 molecule_graph.cpp \
174 UIElements/UIFactory.cpp \
175 version.c \
176 World.cpp \
177 WorldTime.cpp
178
179MOLECUILDERHEADER = \
180 ${BONDHEADER} \
181 ${DESCRIPTORHEADER} \
182 ${DESCRIPTORIMPLHEADER} \
183 ${DYNAMICSHEADER} \
184 ${THERMOSTATHEADER} \
185 ${TESSELATIONHEADER} \
186 AtomIdSet.hpp \
187 Box.hpp \
188 Box_BoundaryConditions.hpp \
189 config.hpp \
190 Formula.hpp \
191 IdPool.hpp \
192 IdPool_impl.hpp \
193 IdPool_policy.hpp \
194 MoleculeLeafClass.hpp \
195 MoleculeListClass.hpp \
196 molecule.hpp \
197 types.hpp \
198 UIElements/UIFactory.hpp \
199 version.h \
200 World.hpp \
201 World_calculations.hpp \
202 WorldTime.hpp
203
204noinst_LTLIBRARIES += libMolecuilder.la
205libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
206
207nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
208
209## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
210## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
211## will therefore be treated as if it were literally part of the target name,
212## and the variable name derived from that.
213## The file extension .cc is recognized by Automake, and makes it produce
214## rules which invoke the C++ compiler to produce a libtool object file (.lo)
215## from each source file. Note that it is not necessary to list header files
216## which are already listed elsewhere in a _HEADERS variable assignment.
217libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE}
218
219## Instruct libtool to include ABI version information in the generated shared
220## library file (.so). The library ABI version is defined in configure.ac, so
221## that all version information is kept in one place.
222#libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
223
224## The generated configuration header is installed in its own subdirectory of
225## $(libdir). The reason for this is that the configuration information put
226## into this header file describes the target platform the installed library
227## has been built for. Thus the file must not be installed into a location
228## intended for architecture-independent files, as defined by the Filesystem
229## Hierarchy Standard (FHS).
230## The nodist_ prefix instructs Automake to not generate rules for including
231## the listed files in the distribution on 'make dist'. Files that are listed
232## in _HEADERS variables are normally included in the distribution, but the
233## configuration header file is generated at configure time and should not be
234## shipped with the source tarball.
235libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
236nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
237
238## Install the generated pkg-config file (.pc) into the expected location for
239## architecture-dependent package configuration information. Occasionally,
240## pkg-config files are also used for architecture-independent data packages,
241## in which case the correct install location would be $(datadir)/pkgconfig.
242pkgconfigdir = $(libdir)/pkgconfig
243pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
244
245
246INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements -I$(top_srcdir)/LinearAlgebra/src
247
248libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
249noinst_LIBRARIES = libmenu.a
250bin_PROGRAMS += molecuilder joiner analyzer
251EXTRA_PROGRAMS = unity
252
253
254extrastuffdir = $(datadir)/@PACKAGE@/data
255databasedir = $(extrastuffdir)/databases
256database_DATA = \
257 ${top_srcdir}/data/databases/*.db
258
259bondtabledir = $(extrastuffdir)/bondtables
260bondtable_DATA = \
261 ${top_srcdir}/data/bondtables/*.dat
262
263moleculedir = $(extrastuffdir)/molecules
264molecule_DATA = \
265 ${top_srcdir}/data/molecules/*.pdb
266
267if CONDPYTHON
268pyexec_LTLIBRARIES += pyMoleCuilder.la
269pyMoleCuilder_la_SOURCES = \
270 cleanUp.cpp \
271 cleanUp.hpp \
272 Actions/Action_impl_python.hpp \
273 Actions/GlobalListOfActions.hpp \
274 Actions/ActionHistory.hpp \
275 Actions/pyMoleCuilder.cpp
276pyMoleCuilder_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} -I$(PYTHON_INCLUDE_DIR)
277pyMoleCuilder_la_LDFLAGS = -module -avoid-version -shared
278pyMoleCuilder_la_LIBADD = \
279 libMolecuilderUI.la \
280 $(BOOST_PYTHON_LDFLAGS) $(BOOST_PYTHON_LIBS) \
281 ${CodePatterns_LIBS} \
282 -l$(PYTHON_LIB)
283endif
284
285
286molecuilder_CXXFLAGS = $(AM_CPPFLAGS)
287#molecuilder_CXXFLAGS += -DNO_CACHING
288molecuilder_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
289molecuilder_SOURCES = \
290 builder.cpp \
291 builder_init.cpp \
292 builder_init.hpp \
293 cleanUp.cpp \
294 cleanUp.hpp
295molecuilder_LDADD = \
296 libMolecuilderUI.la \
297 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
298 ${CodePatterns_LIBS} \
299 $(BOOST_THREAD_LIBS) \
300 $(BOOST_PROGRAM_OPTIONS_LIBS) \
301 $(BOOST_RANDOM_LIBS) \
302 $(BOOST_SYSTEM_LIBS) \
303 $(BOOST_FILESYSTEM_LIBS)
304
305#Stuff for building the GUI using Qt
306if CONDQTGUI
307bin_PROGRAMS += molecuildergui
308molecuildergui_SOURCES = \
309 builder.cpp \
310 builder_init.cpp \
311 builder_init.hpp \
312 cleanUp.cpp \
313 cleanUp.hpp
314molecuildergui_CXXFLAGS = $(AM_CPPFLAGS) -DUSE_GUI_QT
315molecuildergui_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
316molecuildergui_LDADD = \
317 libMolecuilderQtUI.la \
318 libMolecuilderUI.la \
319 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
320 ${CodePatterns_LIBS} \
321 $(BOOST_THREAD_LIBS) \
322 $(BOOST_PROGRAM_OPTIONS_LIBS) \
323 $(BOOST_RANDOM_LIBS) \
324 $(BOOST_SYSTEM_LIBS) \
325 $(BOOST_FILESYSTEM_LIBS) \
326 $(GUI_LIBS)
327endif
328
329joiner_SOURCES = Fragmentation/joiner.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
330joiner_CXXFLAGS = $(AM_CPPFLAGS)
331joiner_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
332joiner_LDADD = \
333 libMolecuilderFragmentation.la \
334 libMolecuilderHelpers.la \
335 libMolecuilderElement.la \
336 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
337 ${CodePatterns_LIBS} \
338 $(BOOST_THREAD_LIBS)
339
340analyzer_SOURCES = Fragmentation/analyzer.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
341analyzer_CXXFLAGS = $(AM_CPPFLAGS)
342analyzer_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
343analyzer_LDADD = \
344 libMolecuilderFragmentation.la \
345 libMolecuilderHelpers.la \
346 libMolecuilderElement.la \
347 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
348 ${CodePatterns_LIBS} \
349 $(BOOST_THREAD_LIBS)
350
351unity_SOURCES = unity.cpp
352unity_CXXFLAGS = $(AM_CPPFLAGS)
353unity_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
354unity_LDADD = \
355 ${CodePatterns_LIBS} \
356 $(BOOST_THREAD_LIBS) \
357 $(BOOST_PROGRAM_OPTIONS_LIBS) \
358 $(BOOST_RANDOM_LIBS) \
359 $(BOOST_SYSTEM_LIBS) \
360 $(BOOST_FILESYSTEM_LIBS)
361
362
363FORCE:
364$(srcdir)/.git-version: FORCE
365 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
366 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
367 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
368 mv -f .git-version-t $(srcdir)/.git-version; \
369 else \
370 rm -f .git-version-t; \
371 fi
372
373EXTRA_DIST = \
374 $(srcdir)/.git-version \
375 $(bondtable_DATA) \
376 $(database_DATA) \
377 $(molecule_DATA)
378
379$(srcdir)/version.c: $(srcdir)/.git-version
380 echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
381
382
383unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
384 list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
385 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
386 done; \
387 subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
388 olddir=$$PWD;\
389 cd $$directory && make unity.cpp;\
390 cd $$olddir;\
391 echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
392 done;\
393 echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
394 echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
395
396MOSTLYCLEANFILES += unity.cpp
397
Note: See TracBrowser for help on using the repository browser.