source: src/Makefile.am@ 8d6d31

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 8d6d31 was 6e5084, checked in by Frederik Heber <heber@…>, 15 years ago

Fixed PrincipalAxisSystemAction.

  • Property mode set to 100644
File size: 12.3 KB
RevLine 
[efc3cb]1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
[952f38]4SUBDIRS = Actions Exceptions Helpers LinearAlgebra Parser UIElements
[5079a0]5
[efc3cb]6ATOMSOURCE = \
7 atom.cpp \
8 atom_atominfo.cpp \
9 atom_bondedparticle.cpp \
10 atom_bondedparticleinfo.cpp \
11 atom_graphnode.cpp \
12 atom_graphnodeinfo.cpp \
13 atom_particleinfo.cpp \
14 atom_trajectoryparticle.cpp \
15 atom_trajectoryparticleinfo.cpp
16ATOMHEADER = \
17 atom.hpp \
18 atom_atominfo.hpp \
19 atom_bondedparticle.hpp \
20 atom_bondedparticleinfo.hpp \
21 atom_graphnode.hpp \
22 atom_graphnodeinfo.hpp \
23 atom_particleinfo.hpp \
24 atom_trajectoryparticle.hpp \
25 atom_trajectoryparticleinfo.hpp
26
27ANALYSISSOURCE = \
28 analysis_bonds.cpp \
29 analysis_correlation.cpp
30ANALYSISHEADER = \
31 analysis_bonds.hpp \
32 analysis_correlation.hpp
[96c961]33
[5079a0]34ACTIONSSOURCE = \
35 Actions/Action.cpp \
[efc3cb]36 Actions/ActionHistory.cpp \
37 Actions/ActionRegistry.cpp \
38 Actions/ActionSequence.cpp \
39 Actions/ErrorAction.cpp \
40 Actions/MakroAction.cpp \
41 Actions/ManipulateAtomsProcess.cpp \
42 Actions/MethodAction.cpp \
43 Actions/Process.cpp
44
[5079a0]45ACTIONSHEADER = \
46 Actions/Action.hpp \
[efc3cb]47 Actions/ActionHistory.hpp \
48 Actions/ActionRegistry.hpp \
49 Actions/ActionSequence.hpp \
50 Actions/Calculation.hpp \
51 Actions/Calculation_impl.hpp \
52 Actions/ErrorAction.hpp \
53 Actions/MakroAction.hpp \
54 Actions/ManipulateAtomsProcess.hpp \
[97ebf8]55 Actions/MapOfActions.hpp \
[efc3cb]56 Actions/MethodAction.hpp \
57 Actions/Process.hpp
[456341]58
[efc3cb]59PATTERNSOURCE = \
60 Patterns/Observer.cpp
61PATTERNHEADER = \
62 Patterns/Cacheable.hpp \
63 Patterns/Observer.hpp \
64 Patterns/Singleton.hpp
[997784]65
66SHAPESOURCE = \
[e38447]67 Shapes/BaseShapes.cpp \
[e09b70]68 Shapes/Shape.cpp \
69 Shapes/ShapeOps.cpp
[997784]70SHAPEHEADER = \
[e38447]71 Shapes/BaseShapes.hpp \
[e09b70]72 Shapes/Shape.hpp \
73 Shapes/ShapeOps.hpp
[3027f8]74
[d193a2]75
[57adc7]76DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
[efc3cb]77 Descriptors/AtomIdDescriptor.cpp \
[48dcbd]78 Descriptors/AtomSelectionDescriptor.cpp \
[efc3cb]79 Descriptors/AtomTypeDescriptor.cpp \
80 Descriptors/MoleculeDescriptor.cpp \
[6e7147]81 Descriptors/MoleculeFormulaDescriptor.cpp \
[e05826]82 Descriptors/MoleculeIdDescriptor.cpp \
[e6317b]83 Descriptors/MoleculeNameDescriptor.cpp \
[cf0ca1]84 Descriptors/MoleculePtrDescriptor.cpp \
85 Descriptors/MoleculeSelectionDescriptor.cpp
[57adc7]86
[75ac0c]87
[57adc7]88DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
[efc3cb]89 Descriptors/AtomIdDescriptor.hpp \
[48dcbd]90 Descriptors/AtomSelectionDescriptor.hpp \
[efc3cb]91 Descriptors/AtomTypeDescriptor.hpp \
92 Descriptors/MoleculeDescriptor.hpp \
[6e7147]93 Descriptors/MoleculeFormulaDescriptor.hpp \
[e30ce8]94 Descriptors/MoleculeIdDescriptor.hpp \
[31b09e]95 Descriptors/MoleculeNameDescriptor.hpp \
[cf0ca1]96 Descriptors/MoleculePtrDescriptor.hpp \
97 Descriptors/MoleculeSelectionDescriptor.cpp
[d193a2]98
99
100QTUIMOC_HEADER = UIElements/QT4/QTDialog.hpp \
101 UIElements/QT4/QTMainWindow.hpp \
102 UIElements/Menu/QT4/QTMenu.hpp \
103 UIElements/Views/QT4/QTWorldView.hpp \
104 UIElements/Views/QT4/GLMoleculeView.hpp \
105 UIElements/Views/QT4/QTMoleculeView.hpp \
106 UIElements/Views/QT4/QTStatusBar.hpp
[67c75b]107
[d193a2]108QTUISOURCE = allmocs.moc.cpp \
[4e145c]109 UIElements/QT4/QTMainWindow.cpp \
110 UIElements/QT4/QTDialog.cpp \
111 UIElements/QT4/QTUIFactory.cpp \
112 UIElements/Menu/QT4/QTMenu.cpp \
113 UIElements/Views/QT4/QTWorldView.cpp \
114 UIElements/Views/QT4/GLMoleculeView.cpp \
115 UIElements/Views/QT4/QTMoleculeView.cpp \
116 UIElements/Views/QT4/QTStatusBar.cpp
[a77c96]117
[ea94a8]118QTUIHEADER = ${QTUIMOC_HEADER} UIElements/QT4/QTUIFactory.hpp
[3027f8]119
[67c75b]120QTUI_DEFS =
121
[255971]122MOLECUILDERSOURCE = \
[efc3cb]123 ${ANALYSISSOURCE} \
[5079a0]124 ${ACTIONSSOURCE} \
[efc3cb]125 ${ATOMSOURCE} \
126 ${PATTERNSOURCE} \
127 ${PARSERSOURCE} \
[997784]128 ${SHAPESOURCE} \
[efc3cb]129 ${DESCRIPTORSOURCE} \
130 bond.cpp \
131 bondgraph.cpp \
132 boundary.cpp \
[83c09a]133 Box.cpp \
[c6efc1]134 CommandLineParser.cpp \
[efc3cb]135 config.cpp \
[88104f]136 ConfigFileBuffer.cpp \
[efc3cb]137 element.cpp \
[5079a0]138 elements_db.cpp \
[efc3cb]139 ellipsoid.cpp \
[6f43ab]140 Formula.cpp \
[efc3cb]141 graph.cpp \
142 leastsquaremin.cpp \
143 linkedcell.cpp \
144 moleculelist.cpp \
145 molecule.cpp \
146 molecule_dynamics.cpp \
147 molecule_fragmentation.cpp \
148 molecule_geometry.cpp \
149 molecule_graph.cpp \
150 molecule_pointcloud.cpp \
151 parser.cpp \
152 periodentafel.cpp \
153 tesselation.cpp \
154 tesselationhelpers.cpp \
[a3fded]155 ThermoStatContainer.cpp \
[efc3cb]156 triangleintersectionlist.cpp \
[112f90]157 UIElements/UIFactory.cpp \
[efc3cb]158 vector_ops.cpp \
159 World.cpp
[5f612ee]160
[255971]161MOLECUILDERHEADER = \
[efc3cb]162 ${ANALYSISHEADER} \
[5079a0]163 ${ACTIONSHEADER} \
[efc3cb]164 ${ATOMHEADER} \
165 ${PARSERHEADER} \
166 ${PATTERNHEADER} \
[997784]167 ${SHAPEHEADER} \
[efc3cb]168 ${DESCRIPTORHEADER} \
169 bond.hpp \
170 bondgraph.hpp \
171 boundary.hpp \
[83c09a]172 Box.hpp \
[c6efc1]173 CommandLineParser.hpp \
[efc3cb]174 config.hpp \
[88104f]175 ConfigFileBuffer.hpp \
[efc3cb]176 defs.hpp \
177 element.hpp \
[5079a0]178 elements_db.hpp \
[efc3cb]179 ellipsoid.hpp \
[6f43ab]180 Formula.hpp \
[efc3cb]181 graph.hpp \
182 leastsquaremin.hpp \
183 linkedcell.hpp \
184 lists.hpp \
185 molecule.hpp \
186 molecule_template.hpp \
187 parser.hpp \
188 periodentafel.hpp \
189 stackclass.hpp \
190 tesselation.hpp \
191 tesselationhelpers.hpp \
[a3fded]192 ThermoStatContainer.hpp \
[efc3cb]193 triangleintersectionlist.hpp \
[112f90]194 UIElements/UIFactory.hpp \
[efc3cb]195 vector_ops.hpp \
196 World.hpp
[3027f8]197
[255971]198lib_LTLIBRARIES = libMolecuilder-@MOLECUILDER_API_VERSION@.la
199libMolecuilder_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/
200libMolecuilder_LIBS = \
201 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
202 ${BOOST_PROGRAM_OPTIONS_LIB}
203
204# UIElements/libMolecuilderUI.a \
205 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
206 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
207 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
208 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
209 $(BOOST_LIB) \
210 ${BOOST_THREAD_LIB}
211
212nobase_libMolecuilder_include_HEADERS = ${MOLECUILDERHEADER}
213
214## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
215## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
216## will therefore be treated as if it were literally part of the target name,
217## and the variable name derived from that.
218## The file extension .cc is recognized by Automake, and makes it produce
219## rules which invoke the C++ compiler to produce a libtool object file (.lo)
220## from each source file. Note that it is not necessary to list header files
221## which are already listed elsewhere in a _HEADERS variable assignment.
[d223d5]222libMolecuilder_@MOLECUILDER_API_VERSION@_la_SOURCES = ${MOLECUILDERSOURCE} $(srcdir)/version.c
[255971]223
224## Instruct libtool to include ABI version information in the generated shared
225## library file (.so). The library ABI version is defined in configure.ac, so
226## that all version information is kept in one place.
227libMolecuilder_@MOLECUILDER_API_VERSION@_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
228
229## The generated configuration header is installed in its own subdirectory of
230## $(libdir). The reason for this is that the configuration information put
231## into this header file describes the target platform the installed library
232## has been built for. Thus the file must not be installed into a location
233## intended for architecture-independent files, as defined by the Filesystem
234## Hierarchy Standard (FHS).
235## The nodist_ prefix instructs Automake to not generate rules for including
236## the listed files in the distribution on 'make dist'. Files that are listed
237## in _HEADERS variables are normally included in the distribution, but the
238## configuration header file is generated at configure time and should not be
239## shipped with the source tarball.
240libMolecuilder_libincludedir = $(libdir)/molecuilder-$(MOLECUILDER_API_VERSION)/include
241nodist_libMolecuilder_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
242
243## Install the generated pkg-config file (.pc) into the expected location for
244## architecture-dependent package configuration information. Occasionally,
245## pkg-config files are also used for architecture-independent data packages,
246## in which case the correct install location would be $(datadir)/pkgconfig.
247pkgconfigdir = $(libdir)/pkgconfig
248pkgconfig_DATA = $(top_builddir)/molecuilder-$(MOLECUILDER_API_VERSION).pc
249
[ef9df36]250
[fa861b]251BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
[b1d8092]252GUI_LIBS = ${QT_LDADD} ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS}
[5079a0]253INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
[ef9df36]254
[255971]255noinst_LIBRARIES = libmenu.a
[04488a]256bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
[796aa6]257EXTRA_PROGRAMS = unity
[04488a]258
[14de469]259molecuilderdir = ${bindir}
[b1d8092]260
[9fe36b]261libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
[b1d8092]262
[6ac7ee]263molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
[b1d8092]264
[4d9c01]265molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
266#molecuilder_CXXFLAGS += -DNO_CACHING
[9fe36b]267molecuilder_LDFLAGS = $(BOOST_LIB)
[861874]268molecuilder_SOURCES = builder.cpp
[952f38]269molecuilder_LDADD = \
[b37436]270 UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
[952f38]271 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
[255971]272 libMolecuilder-@MOLECUILDER_API_VERSION@.la \
[952f38]273 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
274 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
275 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
276 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
277 $(BOOST_LIB) \
278 ${BOOST_THREAD_LIB} \
279 ${BOOST_PROGRAM_OPTIONS_LIB}
280
[b1d8092]281
[3027f8]282#Stuff for building the GUI using QT
[861874]283molecuildergui_SOURCES = ${QTUISOURCE} builder.cpp
[cef1d7]284molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT
285molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS}
[14de469]286
[d223d5]287unity_SOURCES = unity.cpp
[796aa6]288unity_LDADD = $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
289
[952f38]290molecuildergui_LDADD = \
[b37436]291 UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
[952f38]292 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
[255971]293 libMolecuilder-@MOLECUILDER_API_VERSION@.la \
[952f38]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 ${BOOST_THREAD_LIB} \
300 ${BOOST_PROGRAM_OPTIONS_LIB} \
301 ${GUI_LIBS}
[b1d8092]302
[255971]303joiner_SOURCES = joiner.cpp datacreator.cpp datacreator.hpp periodentafel.hpp
304joiner_LDADD = \
[6e5084]305 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
[255971]306 libMolecuilder-@MOLECUILDER_API_VERSION@.la \
[6e5084]307 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
[255971]308 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
309 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
310 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
311 $(BOOST_LIB) \
312 ${BOOST_THREAD_LIB} \
313 ${BOOST_PROGRAM_OPTIONS_LIB}
[b1d8092]314
[255971]315analyzer_SOURCES = analyzer.cpp datacreator.cpp periodentafel.hpp datacreator.hpp
316analyzer_LDADD = \
[6e5084]317 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
[255971]318 libMolecuilder-@MOLECUILDER_API_VERSION@.la \
[6e5084]319 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
[255971]320 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
321 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
322 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
323 $(BOOST_LIB) \
324 ${BOOST_THREAD_LIB} \
325 ${BOOST_PROGRAM_OPTIONS_LIB}
[14de469]326
[3027f8]327#Rules needed for QT4
328# UI-Files are scattered throughout several subdirectories
329# Therfore `%'-rules do not seem to work
330#Quick fix to get it done otherwise
[d193a2]331allmocs.moc.cpp: ${QTUIMOC_HEADER}
332 echo "" > allmocs.moc.cpp;\
[fa27ed]333 list='$(QTUIMOC_HEADER)'; for header in $$list; do \
[3027f8]334 echo "Making mocfile for $$header"; \
335 target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
336 $(MOC) $(srcdir)/$$header -o $$target \
337 || eval $$failcom; \
[d193a2]338 echo "#include \"$$target\"" >> allmocs.moc.cpp; \
[3027f8]339 done;
[9fe36b]340
[c111db]341#EXTRA_DIST = ${molecuilder_DATA}
[65b6e0]342
[a8eb4a]343FORCE:
344$(srcdir)/.git-version: FORCE
[f8be39]345 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
346 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
[a8eb4a]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 *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
357
[b8d1aeb]358
[d223d5]359unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
360 echo "" > 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 = allmocs.moc.cpp unity.cpp
374
Note: See TracBrowser for help on using the repository browser.