source: src/Makefile.am@ 6d5a10

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

Moved defs.?pp to subdir (and library) Helpers.

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