source: src/Makefile.am@ 1f91f4

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

removed CPPUNIT_LIBS/FLAGS from most Makefile.am and LIBS/libs -> LIBADD.

  • CPPUNIT_LIBS/FLAGS is only needed for unit tests.
  • LIBS/libs should actually be LIBDADD, see also ticket #133.
  • 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 = \
5 Exceptions \
6 Parser \
7 LinearAlgebra \
8 Shapes \
9 Actions \
10 UIElements
11
12AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
13
14ATOMSOURCE = \
15 atom.cpp \
16 AtomicInfo.cpp \
17 atom_atominfo.cpp \
18 atom_bondedparticle.cpp \
19 atom_bondedparticleinfo.cpp \
20 atom_graphnode.cpp \
21 atom_graphnodeinfo.cpp \
22 atom_particleinfo.cpp \
23 atom_trajectoryparticle.cpp \
24 atom_trajectoryparticleinfo.cpp
25ATOMHEADER = \
26 atom.hpp \
27 AtomicInfo.hpp \
28 atom_atominfo.hpp \
29 atom_bondedparticle.hpp \
30 atom_bondedparticleinfo.hpp \
31 atom_graphnode.hpp \
32 atom_graphnodeinfo.hpp \
33 atom_particleinfo.hpp \
34 atom_trajectoryparticle.hpp \
35 atom_trajectoryparticleinfo.hpp
36
37ANALYSISSOURCE = \
38 analysis_bonds.cpp \
39 analysis_correlation.cpp
40ANALYSISHEADER = \
41 analysis_bonds.hpp \
42 analysis_correlation.hpp
43
44ACTIONSSOURCE = \
45 Actions/Action.cpp \
46 Actions/ActionHistory.cpp \
47 Actions/ActionRegistry.cpp \
48 Actions/ActionSequence.cpp \
49 Actions/ActionTraits.cpp \
50 Actions/ErrorAction.cpp \
51 Actions/MakroAction.cpp \
52 Actions/ManipulateAtomsProcess.cpp \
53 Actions/MethodAction.cpp \
54 Actions/OptionRegistry.cpp \
55 Actions/OptionTrait.cpp \
56 Actions/Process.cpp
57
58ACTIONSHEADER = \
59 Actions/Action.hpp \
60 Actions/ActionHistory.hpp \
61 Actions/ActionRegistry.hpp \
62 Actions/ActionSequence.hpp \
63 Actions/ActionTraits.hpp \
64 Actions/Calculation.hpp \
65 Actions/Calculation_impl.hpp \
66 Actions/ErrorAction.hpp \
67 Actions/MakroAction.hpp \
68 Actions/ManipulateAtomsProcess.hpp \
69 Actions/MethodAction.hpp \
70 Actions/OptionRegistry.hpp \
71 Actions/OptionTrait.hpp \
72 Actions/Process.hpp
73
74
75DESCRIPTORSOURCE = \
76 Descriptors/AtomDescriptor.cpp \
77 Descriptors/AtomIdDescriptor.cpp \
78 Descriptors/AtomOfMoleculeSelectionDescriptor.cpp \
79 Descriptors/AtomSelectionDescriptor.cpp \
80 Descriptors/AtomShapeDescriptor.cpp \
81 Descriptors/AtomTypeDescriptor.cpp \
82 Descriptors/MoleculeDescriptor.cpp \
83 Descriptors/MoleculeFormulaDescriptor.cpp \
84 Descriptors/MoleculeIdDescriptor.cpp \
85 Descriptors/MoleculeNameDescriptor.cpp \
86 Descriptors/MoleculeOfAtomSelectionDescriptor.cpp \
87 Descriptors/MoleculeOrderDescriptor.cpp \
88 Descriptors/MoleculePtrDescriptor.cpp \
89 Descriptors/MoleculeSelectionDescriptor.cpp
90
91
92DESCRIPTORHEADER = \
93 Descriptors/AtomDescriptor.hpp \
94 Descriptors/AtomIdDescriptor.hpp \
95 Descriptors/AtomOfMoleculeSelectionDescriptor.hpp \
96 Descriptors/AtomSelectionDescriptor.hpp \
97 Descriptors/AtomShapeDescriptor.hpp \
98 Descriptors/AtomTypeDescriptor.hpp \
99 Descriptors/MoleculeDescriptor.hpp \
100 Descriptors/MoleculeFormulaDescriptor.hpp \
101 Descriptors/MoleculeIdDescriptor.hpp \
102 Descriptors/MoleculeNameDescriptor.hpp \
103 Descriptors/MoleculeOfAtomSelectionDescriptor.hpp \
104 Descriptors/MoleculeOrderDescriptor.hpp \
105 Descriptors/MoleculePtrDescriptor.hpp \
106 Descriptors/MoleculeSelectionDescriptor.hpp
107
108DESCRIPTORIMPLHEADER = \
109 Descriptors/AtomDescriptor_impl.hpp \
110 Descriptors/AtomIdDescriptor_impl.hpp \
111 Descriptors/AtomOfMoleculeSelectionDescriptor_impl.hpp \
112 Descriptors/AtomSelectionDescriptor_impl.hpp \
113 Descriptors/AtomShapeDescriptor_impl.hpp \
114 Descriptors/AtomTypeDescriptor_impl.hpp \
115 Descriptors/MoleculeDescriptor_impl.hpp \
116 Descriptors/MoleculeFormulaDescriptor_impl.hpp \
117 Descriptors/MoleculeIdDescriptor_impl.hpp \
118 Descriptors/MoleculeNameDescriptor_impl.hpp \
119 Descriptors/MoleculeOfAtomSelectionDescriptor_impl.hpp \
120 Descriptors/MoleculeOrderDescriptor_impl.hpp \
121 Descriptors/MoleculePtrDescriptor_impl.hpp \
122 Descriptors/MoleculeSelectionDescriptor_impl.hpp
123
124THERMOSTATSOURCE = \
125 Thermostats/Berendsen.cpp \
126 Thermostats/GaussianThermostat.cpp \
127 Thermostats/Langevin.cpp \
128 Thermostats/NoseHoover.cpp \
129 Thermostats/NoThermostat.cpp \
130 Thermostats/Thermostat.cpp \
131 Thermostats/Woodcock.cpp
132
133THERMOSTATHEADER = \
134 Thermostats/Berendsen.hpp \
135 Thermostats/GaussianThermostat.hpp \
136 Thermostats/Langevin.hpp \
137 Thermostats/NoseHoover.hpp \
138 Thermostats/NoThermostat.hpp \
139 Thermostats/Thermostat.hpp \
140 Thermostats/Woodcock.hpp
141
142TESSELATIONSOURCE = \
143 BoundaryLineSet.cpp \
144 BoundaryPointSet.cpp \
145 BoundaryPolygonSet.cpp \
146 BoundaryTriangleSet.cpp \
147 CandidateForTesselation.cpp \
148 PointCloud.cpp \
149 tesselation.cpp \
150 tesselationhelpers.cpp \
151 TesselPoint.cpp
152
153TESSELATIONHEADER = \
154 BoundaryLineSet.hpp \
155 BoundaryPointSet.hpp \
156 BoundaryPolygonSet.hpp \
157 BoundaryTriangleSet.hpp \
158 CandidateForTesselation.hpp \
159 PointCloud.hpp \
160 tesselation.hpp \
161 tesselationhelpers.hpp \
162 TesselPoint.hpp
163
164MOLECUILDERSOURCE = \
165 ${ANALYSISSOURCE} \
166 ${ACTIONSSOURCE} \
167 ${ATOMSOURCE} \
168 ${PATTERNSOURCE} \
169 ${SHAPESOURCE} \
170 ${DESCRIPTORSOURCE} \
171 ${THERMOSTATSOURCE} \
172 ${TESSELATIONSOURCE} \
173 Helpers/defs.cpp \
174 Helpers/helpers.cpp \
175 bond.cpp \
176 bondgraph.cpp \
177 boundary.cpp \
178 Box.cpp \
179 config.cpp \
180 ConfigFileBuffer.cpp \
181 element.cpp \
182 elements_db.cpp \
183 ellipsoid.cpp \
184 Formula.cpp \
185 graph.cpp \
186 linkedcell.cpp \
187 moleculelist.cpp \
188 molecule.cpp \
189 molecule_dynamics.cpp \
190 molecule_fragmentation.cpp \
191 molecule_geometry.cpp \
192 molecule_graph.cpp \
193 molecule_pointcloud.cpp \
194 parser.cpp \
195 periodentafel.cpp \
196 ThermoStatContainer.cpp \
197 triangleintersectionlist.cpp \
198 UIElements/UIFactory.cpp \
199 World.cpp
200
201MOLECUILDERHEADER = \
202 ${ANALYSISHEADER} \
203 ${ACTIONSHEADER} \
204 ${ATOMHEADER} \
205 ${PATTERNHEADER} \
206 ${SHAPEHEADER} \
207 ${DESCRIPTORHEADER} \
208 ${DESCRIPTORIMPLHEADER} \
209 ${THERMOSTATHEADER} \
210 ${TESSELATIONHEADER} \
211 Helpers/defs.hpp \
212 Helpers/fast_functions.hpp \
213 Helpers/helpers.hpp \
214 bond.hpp \
215 bondgraph.hpp \
216 boundary.hpp \
217 Box.hpp \
218 config.hpp \
219 ConfigFileBuffer.hpp \
220 element.hpp \
221 elements_db.hpp \
222 ellipsoid.hpp \
223 Formula.hpp \
224 graph.hpp \
225 linkedcell.hpp \
226 lists.hpp \
227 molecule.hpp \
228 parser.hpp \
229 periodentafel.hpp \
230 ThermoStatContainer.hpp \
231 triangleintersectionlist.hpp \
232 UIElements/UIFactory.hpp \
233 World.hpp
234
235lib_LTLIBRARIES = libMolecuilder.la
236libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
237libMolecuilder_la_LIBADD = \
238 LinearAlgebra/libMolecuilderLinearAlgebra.la \
239 ${CodePatterns_LIBS} \
240 ${BOOST_PROGRAM_OPTIONS_LIB}
241
242nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
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.
252libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE} $(srcdir)/version.c
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.
257libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
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.
270libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
271nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
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
278pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
279
280
281BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
282INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
283
284noinst_LIBRARIES = libmenu.a
285bin_PROGRAMS = molecuilder molecuildergui joiner analyzer SubspaceFactorizer
286EXTRA_PROGRAMS = unity
287
288molecuilderdir = ${bindir}
289
290libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
291
292molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
293
294SubspaceFactorizer_CXXFLAGS = $(BOOST_CPPFLAGS)
295SubspaceFactorizer_SOURCES = SubspaceFactorizer.cpp Helpers/defs.cpp Helpers/defs.hpp Helpers/helpers.cpp Helpers/helpers.hpp
296SubspaceFactorizer_LDADD = \
297 LinearAlgebra/libMolecuilderLinearAlgebra.la \
298 Exceptions/libMolecuilderExceptions.la \
299 ${CodePatterns_LIBS} \
300 $(GSLLIB) \
301 $(BOOST_LIB)
302
303molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
304#molecuilder_CXXFLAGS += -DNO_CACHING
305molecuilder_LDFLAGS = $(BOOST_LIB)
306molecuilder_SOURCES = builder.cpp builder_init.cpp builder_init.hpp
307molecuilder_LDADD = \
308 UIElements/libMolecuilderUI.la \
309 Actions/libMolecuilderActions.la \
310 libMolecuilder.la \
311 Parser/libMolecuilderParser.la \
312 Shapes/libMolecuilderShapes.la \
313 LinearAlgebra/libMolecuilderLinearAlgebra.la \
314 Exceptions/libMolecuilderExceptions.la \
315 ${CodePatterns_LIBS} \
316 $(BOOST_LIB)
317
318#Stuff for building the GUI using Qt
319molecuildergui_SOURCES = builder.cpp builder_init.cpp builder_init.hpp
320molecuildergui_CXXFLAGS = $(BOOST_CPPFLAGS) -DUSE_GUI_QT
321molecuildergui_LDFLAGS = $(BOOST_LIB)
322
323unity_SOURCES = unity.cpp
324unity_LDADD = $(BOOST_LIB)
325
326molecuildergui_LDADD = \
327 UIElements/libMolecuilderUI.la \
328 UIElements/libMolecuilderQtUI.la \
329 Actions/libMolecuilderActions.la \
330 libMolecuilder.la \
331 Parser/libMolecuilderParser.la \
332 Shapes/libMolecuilderShapes.la \
333 LinearAlgebra/libMolecuilderLinearAlgebra.la \
334 Exceptions/libMolecuilderExceptions.la \
335 ${CodePatterns_LIBS} \
336 $(BOOST_LIB) \
337 ${GUI_LIBS}
338
339joiner_SOURCES = joiner.cpp datacreator.cpp datacreator.hpp periodentafel.hpp
340joiner_LDADD = \
341 UIElements/libMolecuilderUI.la \
342 Actions/libMolecuilderActions.la \
343 libMolecuilder.la \
344 Parser/libMolecuilderParser.la \
345 Shapes/libMolecuilderShapes.la \
346 LinearAlgebra/libMolecuilderLinearAlgebra.la \
347 Exceptions/libMolecuilderExceptions.la \
348 ${CodePatterns_LIBS} \
349 $(BOOST_LIB)
350
351analyzer_SOURCES = analyzer.cpp datacreator.cpp periodentafel.hpp datacreator.hpp
352analyzer_LDADD = \
353 UIElements/libMolecuilderUI.la \
354 Actions/libMolecuilderActions.la \
355 libMolecuilder.la \
356 Parser/libMolecuilderParser.la \
357 Shapes/libMolecuilderShapes.la \
358 LinearAlgebra/libMolecuilderLinearAlgebra.la \
359 Exceptions/libMolecuilderExceptions.la \
360 ${CodePatterns_LIBS} \
361 $(BOOST_LIB)
362
363#EXTRA_DIST = ${molecuilder_DATA}
364
365FORCE:
366$(srcdir)/.git-version: FORCE
367 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
368 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
369 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
370 mv -f .git-version-t $(srcdir)/.git-version; \
371 else \
372 rm -f .git-version-t; \
373 fi
374
375EXTRA_DIST = $(srcdir)/.git-version
376
377$(srcdir)/version.c: $(srcdir)/.git-version
378 echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
379
380
381unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
382 echo "#include \"$(srcdir)/Helpers/MemDebug.cpp\"" > unity.cpp; \
383 list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
384 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
385 done; \
386 subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
387 olddir=$$PWD;\
388 cd $$directory && make unity.cpp;\
389 cd $$olddir;\
390 echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
391 done;\
392 echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
393 echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
394
395MOSTLYCLEANFILES = unity.cpp
396
Note: See TracBrowser for help on using the repository browser.