source: src/Makefile.am@ 6d2207

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 6d2207 was 6d2207, checked in by Frederik Heber <heber@…>, 14 years ago

FIX: Forgot Shapes/unittests and made Shapes into own library.

  • Shapes only depend on LinearAlgebra and Exceptions, hence own lib module.
  • Property mode set to 100644
File size: 12.2 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4SUBDIRS = Actions Exceptions LinearAlgebra Parser Shapes UIElements
5
6AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
7
8ATOMSOURCE = \
9 atom.cpp \
10 AtomicInfo.cpp \
11 atom_atominfo.cpp \
12 atom_bondedparticle.cpp \
13 atom_bondedparticleinfo.cpp \
14 atom_graphnode.cpp \
15 atom_graphnodeinfo.cpp \
16 atom_particleinfo.cpp \
17 atom_trajectoryparticle.cpp \
18 atom_trajectoryparticleinfo.cpp
19ATOMHEADER = \
20 atom.hpp \
21 AtomicInfo.hpp \
22 atom_atominfo.hpp \
23 atom_bondedparticle.hpp \
24 atom_bondedparticleinfo.hpp \
25 atom_graphnode.hpp \
26 atom_graphnodeinfo.hpp \
27 atom_particleinfo.hpp \
28 atom_trajectoryparticle.hpp \
29 atom_trajectoryparticleinfo.hpp
30
31ANALYSISSOURCE = \
32 analysis_bonds.cpp \
33 analysis_correlation.cpp
34ANALYSISHEADER = \
35 analysis_bonds.hpp \
36 analysis_correlation.hpp
37
38ACTIONSSOURCE = \
39 Actions/Action.cpp \
40 Actions/ActionHistory.cpp \
41 Actions/ActionRegistry.cpp \
42 Actions/ActionSequence.cpp \
43 Actions/ActionTraits.cpp \
44 Actions/ErrorAction.cpp \
45 Actions/MakroAction.cpp \
46 Actions/ManipulateAtomsProcess.cpp \
47 Actions/MethodAction.cpp \
48 Actions/OptionRegistry.cpp \
49 Actions/OptionTrait.cpp \
50 Actions/Process.cpp
51
52ACTIONSHEADER = \
53 Actions/Action.hpp \
54 Actions/ActionHistory.hpp \
55 Actions/ActionRegistry.hpp \
56 Actions/ActionSequence.hpp \
57 Actions/ActionTraits.hpp \
58 Actions/Calculation.hpp \
59 Actions/Calculation_impl.hpp \
60 Actions/ErrorAction.hpp \
61 Actions/MakroAction.hpp \
62 Actions/ManipulateAtomsProcess.hpp \
63 Actions/MethodAction.hpp \
64 Actions/OptionRegistry.hpp \
65 Actions/OptionTrait.hpp \
66 Actions/Process.hpp
67
68
69DESCRIPTORSOURCE = \
70 Descriptors/AtomDescriptor.cpp \
71 Descriptors/AtomIdDescriptor.cpp \
72 Descriptors/AtomOfMoleculeSelectionDescriptor.cpp \
73 Descriptors/AtomSelectionDescriptor.cpp \
74 Descriptors/AtomShapeDescriptor.cpp \
75 Descriptors/AtomTypeDescriptor.cpp \
76 Descriptors/MoleculeDescriptor.cpp \
77 Descriptors/MoleculeFormulaDescriptor.cpp \
78 Descriptors/MoleculeIdDescriptor.cpp \
79 Descriptors/MoleculeNameDescriptor.cpp \
80 Descriptors/MoleculeOfAtomSelectionDescriptor.cpp \
81 Descriptors/MoleculeOrderDescriptor.cpp \
82 Descriptors/MoleculePtrDescriptor.cpp \
83 Descriptors/MoleculeSelectionDescriptor.cpp
84
85
86DESCRIPTORHEADER = \
87 Descriptors/AtomDescriptor.hpp \
88 Descriptors/AtomIdDescriptor.hpp \
89 Descriptors/AtomOfMoleculeSelectionDescriptor.hpp \
90 Descriptors/AtomSelectionDescriptor.hpp \
91 Descriptors/AtomShapeDescriptor.hpp \
92 Descriptors/AtomTypeDescriptor.hpp \
93 Descriptors/MoleculeDescriptor.hpp \
94 Descriptors/MoleculeFormulaDescriptor.hpp \
95 Descriptors/MoleculeIdDescriptor.hpp \
96 Descriptors/MoleculeNameDescriptor.hpp \
97 Descriptors/MoleculeOfAtomSelectionDescriptor.hpp \
98 Descriptors/MoleculeOrderDescriptor.hpp \
99 Descriptors/MoleculePtrDescriptor.hpp \
100 Descriptors/MoleculeSelectionDescriptor.hpp
101
102DESCRIPTORIMPLHEADER = \
103 Descriptors/AtomDescriptor_impl.hpp \
104 Descriptors/AtomIdDescriptor_impl.hpp \
105 Descriptors/AtomOfMoleculeSelectionDescriptor_impl.hpp \
106 Descriptors/AtomSelectionDescriptor_impl.hpp \
107 Descriptors/AtomShapeDescriptor_impl.hpp \
108 Descriptors/AtomTypeDescriptor_impl.hpp \
109 Descriptors/MoleculeDescriptor_impl.hpp \
110 Descriptors/MoleculeFormulaDescriptor_impl.hpp \
111 Descriptors/MoleculeIdDescriptor_impl.hpp \
112 Descriptors/MoleculeNameDescriptor_impl.hpp \
113 Descriptors/MoleculeOfAtomSelectionDescriptor_impl.hpp \
114 Descriptors/MoleculeOrderDescriptor_impl.hpp \
115 Descriptors/MoleculePtrDescriptor_impl.hpp \
116 Descriptors/MoleculeSelectionDescriptor_impl.hpp
117
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 \
125 Thermostats/Woodcock.cpp
126
127THERMOSTATHEADER = \
128 Thermostats/Berendsen.hpp \
129 Thermostats/GaussianThermostat.hpp \
130 Thermostats/Langevin.hpp \
131 Thermostats/NoseHoover.hpp \
132 Thermostats/NoThermostat.hpp \
133 Thermostats/Thermostat.hpp \
134 Thermostats/Woodcock.hpp
135
136TESSELATIONSOURCE = \
137 BoundaryLineSet.cpp \
138 BoundaryPointSet.cpp \
139 BoundaryPolygonSet.cpp \
140 BoundaryTriangleSet.cpp \
141 CandidateForTesselation.cpp \
142 PointCloud.cpp \
143 tesselation.cpp \
144 tesselationhelpers.cpp \
145 TesselPoint.cpp
146
147TESSELATIONHEADER = \
148 BoundaryLineSet.hpp \
149 BoundaryPointSet.hpp \
150 BoundaryPolygonSet.hpp \
151 BoundaryTriangleSet.hpp \
152 CandidateForTesselation.hpp \
153 PointCloud.hpp \
154 tesselation.hpp \
155 tesselationhelpers.hpp \
156 TesselPoint.hpp
157
158MOLECUILDERSOURCE = \
159 ${ANALYSISSOURCE} \
160 ${ACTIONSSOURCE} \
161 ${ATOMSOURCE} \
162 ${PATTERNSOURCE} \
163 ${SHAPESOURCE} \
164 ${DESCRIPTORSOURCE} \
165 ${THERMOSTATSOURCE} \
166 ${TESSELATIONSOURCE} \
167 Helpers/defs.cpp \
168 Helpers/helpers.cpp \
169 bond.cpp \
170 bondgraph.cpp \
171 boundary.cpp \
172 Box.cpp \
173 config.cpp \
174 ConfigFileBuffer.cpp \
175 element.cpp \
176 elements_db.cpp \
177 ellipsoid.cpp \
178 Formula.cpp \
179 graph.cpp \
180 linkedcell.cpp \
181 moleculelist.cpp \
182 molecule.cpp \
183 molecule_dynamics.cpp \
184 molecule_fragmentation.cpp \
185 molecule_geometry.cpp \
186 molecule_graph.cpp \
187 molecule_pointcloud.cpp \
188 parser.cpp \
189 periodentafel.cpp \
190 ThermoStatContainer.cpp \
191 triangleintersectionlist.cpp \
192 UIElements/UIFactory.cpp \
193 World.cpp
194
195MOLECUILDERHEADER = \
196 ${ANALYSISHEADER} \
197 ${ACTIONSHEADER} \
198 ${ATOMHEADER} \
199 ${PATTERNHEADER} \
200 ${SHAPEHEADER} \
201 ${DESCRIPTORHEADER} \
202 ${DESCRIPTORIMPLHEADER} \
203 ${THERMOSTATHEADER} \
204 ${TESSELATIONHEADER} \
205 Helpers/defs.hpp \
206 Helpers/fast_functions.hpp \
207 Helpers/helpers.hpp \
208 bond.hpp \
209 bondgraph.hpp \
210 boundary.hpp \
211 Box.hpp \
212 config.hpp \
213 ConfigFileBuffer.hpp \
214 element.hpp \
215 elements_db.hpp \
216 ellipsoid.hpp \
217 Formula.hpp \
218 graph.hpp \
219 linkedcell.hpp \
220 lists.hpp \
221 molecule.hpp \
222 parser.hpp \
223 periodentafel.hpp \
224 ThermoStatContainer.hpp \
225 triangleintersectionlist.hpp \
226 UIElements/UIFactory.hpp \
227 World.hpp
228
229lib_LTLIBRARIES = libMolecuilder.la
230libMolecuilder_includedir = $(includedir)/MoleCuilder/
231libMolecuilder_LIBS = \
232 LinearAlgebra/libMolecuilderLinearAlgebra.la \
233 ${CodePatterns_LIBS} \
234 ${BOOST_PROGRAM_OPTIONS_LIB}
235
236nobase_libMolecuilder_include_HEADERS = ${MOLECUILDERHEADER}
237
238## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
239## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
240## will therefore be treated as if it were literally part of the target name,
241## and the variable name derived from that.
242## The file extension .cc is recognized by Automake, and makes it produce
243## rules which invoke the C++ compiler to produce a libtool object file (.lo)
244## from each source file. Note that it is not necessary to list header files
245## which are already listed elsewhere in a _HEADERS variable assignment.
246libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE} $(srcdir)/version.c
247
248## Instruct libtool to include ABI version information in the generated shared
249## library file (.so). The library ABI version is defined in configure.ac, so
250## that all version information is kept in one place.
251libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
252
253## The generated configuration header is installed in its own subdirectory of
254## $(libdir). The reason for this is that the configuration information put
255## into this header file describes the target platform the installed library
256## has been built for. Thus the file must not be installed into a location
257## intended for architecture-independent files, as defined by the Filesystem
258## Hierarchy Standard (FHS).
259## The nodist_ prefix instructs Automake to not generate rules for including
260## the listed files in the distribution on 'make dist'. Files that are listed
261## in _HEADERS variables are normally included in the distribution, but the
262## configuration header file is generated at configure time and should not be
263## shipped with the source tarball.
264libMolecuilder_libincludedir = $(libdir)/MoleCuilder/include
265nodist_libMolecuilder_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
266
267## Install the generated pkg-config file (.pc) into the expected location for
268## architecture-dependent package configuration information. Occasionally,
269## pkg-config files are also used for architecture-independent data packages,
270## in which case the correct install location would be $(datadir)/pkgconfig.
271pkgconfigdir = $(libdir)/pkgconfig
272pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
273
274
275BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
276INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
277
278noinst_LIBRARIES = libmenu.a
279bin_PROGRAMS = molecuilder molecuildergui joiner analyzer SubspaceFactorizer
280EXTRA_PROGRAMS = unity
281
282molecuilderdir = ${bindir}
283
284libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
285
286molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
287
288SubspaceFactorizer_CXXFLAGS = $(BOOST_CPPFLAGS)
289SubspaceFactorizer_SOURCES = SubspaceFactorizer.cpp Helpers/defs.cpp Helpers/defs.hpp Helpers/helpers.cpp Helpers/helpers.hpp
290SubspaceFactorizer_LDADD = \
291 LinearAlgebra/libMolecuilderLinearAlgebra.la \
292 Exceptions/libMolecuilderExceptions.la \
293 ${CodePatterns_LIBS} \
294 $(GSLLIB) \
295 $(BOOST_LIB)
296
297molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
298#molecuilder_CXXFLAGS += -DNO_CACHING
299molecuilder_LDFLAGS = $(BOOST_LIB)
300molecuilder_SOURCES = builder.cpp builder_init.cpp builder_init.hpp
301molecuilder_LDADD = \
302 UIElements/libMolecuilderUI.la \
303 Actions/libMolecuilderActions.la \
304 libMolecuilder.la \
305 Parser/libMolecuilderParser.la \
306 Shapes/libMolecuilderShapes.la \
307 LinearAlgebra/libMolecuilderLinearAlgebra.la \
308 Exceptions/libMolecuilderExceptions.la \
309 ${CodePatterns_LIBS} \
310 $(BOOST_LIB)
311
312#Stuff for building the GUI using Qt
313molecuildergui_SOURCES = builder.cpp builder_init.cpp builder_init.hpp
314molecuildergui_CXXFLAGS = $(BOOST_CPPFLAGS) -DUSE_GUI_QT
315molecuildergui_LDFLAGS = $(BOOST_LIB)
316
317unity_SOURCES = unity.cpp
318unity_LDADD = $(BOOST_LIB)
319
320molecuildergui_LDADD = \
321 UIElements/libMolecuilderUI.la \
322 UIElements/libMolecuilderQtUI.la \
323 Actions/libMolecuilderActions.la \
324 libMolecuilder.la \
325 Parser/libMolecuilderParser.la \
326 Shapes/libMolecuilderShapes.la \
327 LinearAlgebra/libMolecuilderLinearAlgebra.la \
328 Exceptions/libMolecuilderExceptions.la \
329 ${CodePatterns_LIBS} \
330 $(BOOST_LIB) \
331 ${GUI_LIBS}
332
333joiner_SOURCES = joiner.cpp datacreator.cpp datacreator.hpp periodentafel.hpp
334joiner_LDADD = \
335 UIElements/libMolecuilderUI.la \
336 Actions/libMolecuilderActions.la \
337 libMolecuilder.la \
338 Parser/libMolecuilderParser.la \
339 Shapes/libMolecuilderShapes.la \
340 LinearAlgebra/libMolecuilderLinearAlgebra.la \
341 Exceptions/libMolecuilderExceptions.la \
342 ${CodePatterns_LIBS} \
343 $(BOOST_LIB)
344
345analyzer_SOURCES = analyzer.cpp datacreator.cpp periodentafel.hpp datacreator.hpp
346analyzer_LDADD = \
347 UIElements/libMolecuilderUI.la \
348 Actions/libMolecuilderActions.la \
349 libMolecuilder.la \
350 Parser/libMolecuilderParser.la \
351 Shapes/libMolecuilderShapes.la \
352 LinearAlgebra/libMolecuilderLinearAlgebra.la \
353 Exceptions/libMolecuilderExceptions.la \
354 ${CodePatterns_LIBS} \
355 $(BOOST_LIB)
356
357#EXTRA_DIST = ${molecuilder_DATA}
358
359FORCE:
360$(srcdir)/.git-version: FORCE
361 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
362 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
363 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
364 mv -f .git-version-t $(srcdir)/.git-version; \
365 else \
366 rm -f .git-version-t; \
367 fi
368
369EXTRA_DIST = $(srcdir)/.git-version
370
371$(srcdir)/version.c: $(srcdir)/.git-version
372 echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
373
374
375unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
376 echo "#include \"$(srcdir)/Helpers/MemDebug.cpp\"" > unity.cpp; \
377 list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
378 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
379 done; \
380 subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
381 olddir=$$PWD;\
382 cd $$directory && make unity.cpp;\
383 cd $$olddir;\
384 echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
385 done;\
386 echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
387 echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
388
389MOSTLYCLEANFILES = unity.cpp
390
Note: See TracBrowser for help on using the repository browser.