source: src/Makefile.am@ 5eebbc

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

Qt stuff is not compiled into libMolecuilder but libMolecuilderQtUI.

  • 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 Helpers LinearAlgebra Parser UIElements
5
6ATOMSOURCE = \
7 atom.cpp \
8 AtomicInfo.cpp \
9 atom_atominfo.cpp \
10 atom_bondedparticle.cpp \
11 atom_bondedparticleinfo.cpp \
12 atom_graphnode.cpp \
13 atom_graphnodeinfo.cpp \
14 atom_particleinfo.cpp \
15 atom_trajectoryparticle.cpp \
16 atom_trajectoryparticleinfo.cpp
17ATOMHEADER = \
18 atom.hpp \
19 AtomicInfo.hpp \
20 atom_atominfo.hpp \
21 atom_bondedparticle.hpp \
22 atom_bondedparticleinfo.hpp \
23 atom_graphnode.hpp \
24 atom_graphnodeinfo.hpp \
25 atom_particleinfo.hpp \
26 atom_trajectoryparticle.hpp \
27 atom_trajectoryparticleinfo.hpp
28
29ANALYSISSOURCE = \
30 analysis_bonds.cpp \
31 analysis_correlation.cpp
32ANALYSISHEADER = \
33 analysis_bonds.hpp \
34 analysis_correlation.hpp
35
36ACTIONSSOURCE = \
37 Actions/Action.cpp \
38 Actions/ActionHistory.cpp \
39 Actions/ActionRegistry.cpp \
40 Actions/ActionSequence.cpp \
41 Actions/ActionTraits.cpp \
42 Actions/ErrorAction.cpp \
43 Actions/MakroAction.cpp \
44 Actions/ManipulateAtomsProcess.cpp \
45 Actions/MethodAction.cpp \
46 Actions/OptionRegistry.cpp \
47 Actions/OptionTrait.cpp \
48 Actions/Process.cpp
49
50ACTIONSHEADER = \
51 Actions/Action.hpp \
52 Actions/ActionHistory.hpp \
53 Actions/ActionRegistry.hpp \
54 Actions/ActionSequence.hpp \
55 Actions/ActionTraits.hpp \
56 Actions/Calculation.hpp \
57 Actions/Calculation_impl.hpp \
58 Actions/ErrorAction.hpp \
59 Actions/MakroAction.hpp \
60 Actions/ManipulateAtomsProcess.hpp \
61 Actions/MethodAction.hpp \
62 Actions/OptionRegistry.hpp \
63 Actions/OptionTrait.hpp \
64 Actions/Process.hpp
65
66
67PATTERNSOURCE = \
68 Patterns/Observer.cpp
69PATTERNHEADER = \
70 Patterns/Cacheable.hpp \
71 Patterns/Observer.hpp \
72 Patterns/Singleton.hpp
73
74SHAPESOURCE = \
75 Shapes/BaseShapes.cpp \
76 Shapes/Shape.cpp \
77 Shapes/ShapeOps.cpp
78SHAPEHEADER = \
79 Shapes/BaseShapes.hpp \
80 Shapes/Shape.hpp \
81 Shapes/ShapeOps.hpp
82
83
84DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
85 Descriptors/AtomIdDescriptor.cpp \
86 Descriptors/AtomSelectionDescriptor.cpp \
87 Descriptors/AtomShapeDescriptor.cpp \
88 Descriptors/AtomTypeDescriptor.cpp \
89 Descriptors/MoleculeDescriptor.cpp \
90 Descriptors/MoleculeFormulaDescriptor.cpp \
91 Descriptors/MoleculeIdDescriptor.cpp \
92 Descriptors/MoleculeNameDescriptor.cpp \
93 Descriptors/MoleculePtrDescriptor.cpp \
94 Descriptors/MoleculeSelectionDescriptor.cpp
95
96
97DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
98 Descriptors/AtomIdDescriptor.hpp \
99 Descriptors/AtomSelectionDescriptor.hpp \
100 Descriptors/AtomShapeDescriptor.hpp \
101 Descriptors/AtomTypeDescriptor.hpp \
102 Descriptors/MoleculeDescriptor.hpp \
103 Descriptors/MoleculeFormulaDescriptor.hpp \
104 Descriptors/MoleculeIdDescriptor.hpp \
105 Descriptors/MoleculeNameDescriptor.hpp \
106 Descriptors/MoleculePtrDescriptor.hpp \
107 Descriptors/MoleculeSelectionDescriptor.cpp
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/Woodcock.cpp
117
118THERMOSTATHEADER = \
119 Thermostats/Berendsen.hpp \
120 Thermostats/GaussianThermostat.hpp \
121 Thermostats/Langevin.hpp \
122 Thermostats/NoseHoover.hpp \
123 Thermostats/NoThermostat.hpp \
124 Thermostats/Thermostat.hpp \
125 Thermostats/Woodcock.hpp
126
127TESSELATIONSOURCE = \
128 BoundaryLineSet.cpp \
129 BoundaryPointSet.cpp \
130 BoundaryPolygonSet.cpp \
131 BoundaryTriangleSet.cpp \
132 CandidateForTesselation.cpp \
133 PointCloud.cpp \
134 tesselation.cpp \
135 tesselationhelpers.cpp \
136 TesselPoint.cpp
137
138TESSELATIONHEADER = \
139 BoundaryLineSet.hpp \
140 BoundaryPointSet.hpp \
141 BoundaryPolygonSet.hpp \
142 BoundaryTriangleSet.hpp \
143 CandidateForTesselation.hpp \
144 PointCloud.hpp \
145 tesselation.hpp \
146 tesselationhelpers.hpp \
147 TesselPoint.hpp
148
149MOLECUILDERSOURCE = \
150 ${ANALYSISSOURCE} \
151 ${ACTIONSSOURCE} \
152 ${ATOMSOURCE} \
153 ${PATTERNSOURCE} \
154 ${SHAPESOURCE} \
155 ${DESCRIPTORSOURCE} \
156 ${THERMOSTATSOURCE} \
157 ${TESSELATIONSOURCE} \
158 bond.cpp \
159 bondgraph.cpp \
160 boundary.cpp \
161 Box.cpp \
162 config.cpp \
163 ConfigFileBuffer.cpp \
164 defs.cpp \
165 element.cpp \
166 elements_db.cpp \
167 ellipsoid.cpp \
168 Formula.cpp \
169 graph.cpp \
170 leastsquaremin.cpp \
171 linkedcell.cpp \
172 moleculelist.cpp \
173 molecule.cpp \
174 molecule_dynamics.cpp \
175 molecule_fragmentation.cpp \
176 molecule_geometry.cpp \
177 molecule_graph.cpp \
178 molecule_pointcloud.cpp \
179 parser.cpp \
180 periodentafel.cpp \
181 ThermoStatContainer.cpp \
182 triangleintersectionlist.cpp \
183 UIElements/UIFactory.cpp \
184 World.cpp
185
186MOLECUILDERHEADER = \
187 ${ANALYSISHEADER} \
188 ${ACTIONSHEADER} \
189 ${ATOMHEADER} \
190 ${PATTERNHEADER} \
191 ${SHAPEHEADER} \
192 ${DESCRIPTORHEADER} \
193 ${THERMOSTATHEADER} \
194 ${TESSELATIONHEADER} \
195 bond.hpp \
196 bondgraph.hpp \
197 boundary.hpp \
198 Box.hpp \
199 config.hpp \
200 ConfigFileBuffer.hpp \
201 defs.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_THREAD_LIB)
273GUI_LIBS = ${QT_LDADD} ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS}
274INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
275
276noinst_LIBRARIES = libmenu.a
277bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
278EXTRA_PROGRAMS = unity
279
280molecuilderdir = ${bindir}
281
282libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
283
284molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
285
286molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
287#molecuilder_CXXFLAGS += -DNO_CACHING
288molecuilder_LDFLAGS = $(BOOST_LIB)
289molecuilder_SOURCES = builder.cpp
290molecuilder_LDADD = \
291 UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
292 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
293 libMolecuilder-@MOLECUILDER_API_VERSION@.la \
294 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
295 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
296 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
297 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
298 $(BOOST_LIB)
299
300#Stuff for building the GUI using Qt
301molecuildergui_SOURCES = builder.cpp
302molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT
303molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS}
304
305unity_SOURCES = unity.cpp
306unity_LDADD = $(BOOST_LIB)
307
308molecuildergui_LDADD = \
309 UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
310 UIElements/libMolecuilderQtUI-@MOLECUILDER_API_VERSION@.la \
311 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
312 libMolecuilder-@MOLECUILDER_API_VERSION@.la \
313 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
314 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
315 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
316 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
317 $(BOOST_LIB) \
318 ${GUI_LIBS}
319
320joiner_SOURCES = joiner.cpp datacreator.cpp datacreator.hpp periodentafel.hpp
321joiner_LDADD = \
322 UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
323 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
324 libMolecuilder-@MOLECUILDER_API_VERSION@.la \
325 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
326 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
327 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
328 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
329 $(BOOST_LIB)
330
331analyzer_SOURCES = analyzer.cpp datacreator.cpp periodentafel.hpp datacreator.hpp
332analyzer_LDADD = \
333 UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
334 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
335 libMolecuilder-@MOLECUILDER_API_VERSION@.la \
336 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
337 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
338 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
339 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
340 $(BOOST_LIB)
341
342#EXTRA_DIST = ${molecuilder_DATA}
343
344FORCE:
345$(srcdir)/.git-version: FORCE
346 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
347 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
348 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
349 mv -f .git-version-t $(srcdir)/.git-version; \
350 else \
351 rm -f .git-version-t; \
352 fi
353
354EXTRA_DIST = $(srcdir)/.git-version
355
356$(srcdir)/version.c: $(srcdir)/.git-version
357 echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
358
359
360unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
361 echo "#include \"$(srcdir)/Helpers/MemDebug.cpp\"" > unity.cpp; \
362 list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
363 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
364 done; \
365 subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
366 olddir=$$PWD;\
367 cd $$directory && make unity.cpp;\
368 cd $$olddir;\
369 echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
370 done;\
371 echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
372 echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
373
374MOSTLYCLEANFILES = allmocs.moc.cpp unity.cpp
375
Note: See TracBrowser for help on using the repository browser.