source: molecuilder/src/Makefile.am@ 0d111b

Last change on this file since 0d111b was 0d111b, checked in by Tillmann Crueger <crueger@…>, 15 years ago

Merge branch 'VectorRefactoring' into StructureRefactoring

Conflicts:

molecuilder/src/Legacy/oldmenu.cpp
molecuilder/src/Makefile.am
molecuilder/src/analysis_correlation.cpp
molecuilder/src/boundary.cpp
molecuilder/src/builder.cpp
molecuilder/src/config.cpp
molecuilder/src/ellipsoid.cpp
molecuilder/src/linkedcell.cpp
molecuilder/src/molecule.cpp
molecuilder/src/molecule_fragmentation.cpp
molecuilder/src/molecule_geometry.cpp
molecuilder/src/molecule_graph.cpp
molecuilder/src/moleculelist.cpp
molecuilder/src/tesselation.cpp
molecuilder/src/tesselationhelpers.cpp
molecuilder/src/unittests/AnalysisCorrelationToSurfaceUnitTest.cpp
molecuilder/src/unittests/bondgraphunittest.cpp
molecuilder/src/vector.cpp
molecuilder/src/vector.hpp

  • Property mode set to 100644
File size: 6.8 KB
Line 
1# this includes source files that need to be present at multiple points
2HELPERSOURCE = Helpers/Assert.cpp \
3 Helpers/MemDebug.cpp
4
5ATOMSOURCE = atom.cpp atom_atominfo.cpp atom_bondedparticle.cpp atom_bondedparticleinfo.cpp atom_graphnode.cpp atom_graphnodeinfo.cpp atom_particleinfo.cpp atom_trajectoryparticle.cpp atom_trajectoryparticleinfo.cpp
6ATOMHEADER = atom.hpp atom_atominfo.hpp atom_bondedparticle.hpp atom_bondedparticleinfo.hpp atom_graphnode.hpp atom_graphnodeinfo.hpp atom_particleinfo.hpp atom_trajectoryparticle.hpp atom_trajectoryparticleinfo.hpp
7
8LINALGSOURCE = ${HELPERSOURCE} \
9 gslmatrix.cpp \
10 gslvector.cpp \
11 linearsystemofequations.cpp \
12 vector.cpp
13
14LINALGHEADER = gslmatrix.hpp \
15 gslvector.hpp \
16 linearsystemofequations.hpp \
17 vector.hpp
18
19
20ANALYSISSOURCE = analysis_bonds.cpp analysis_correlation.cpp
21ANALYSISHEADER = analysis_bonds.hpp analysis_correlation.hpp
22
23ACTIONSSOURCE = Actions/Action.cpp \
24 Actions/ActionHistory.cpp \
25 Actions/ActionRegistry.cpp \
26 Actions/ActionSequence.cpp \
27 Actions/ErrorAction.cpp \
28 Actions/MakroAction.cpp \
29 Actions/ManipulateAtomsProcess.cpp \
30 Actions/MethodAction.cpp \
31 Actions/Process.cpp \
32 Actions/small_actions.cpp
33
34
35ACTIONSHEADER = Actions/Action.hpp \
36 Actions/ActionHistory.hpp \
37 Actions/ActionRegistry.hpp \
38 Actions/ActionSequence.hpp \
39 Actions/Calculation.hpp \
40 Actions/Calculation_impl.hpp \
41 Actions/ErrorAction.hpp \
42 Actions/MakroAction.hpp \
43 Actions/ManipulateAtomsProcess.hpp \
44 Actions/MethodAction.hpp \
45 Actions/Process.hpp \
46 Actions/small_actions.hpp
47
48
49
50PATTERNSOURCE = Patterns/Observer.cpp
51PATTERNHEADER = Patterns/Cacheable.hpp \
52 Patterns/Observer.hpp \
53 Patterns/Singleton.hpp
54
55VIEWSOURCE = Views/View.cpp Views/StringView.cpp Views/MethodStringView.cpp Views/StreamStringView.cpp
56VIEWHEADER = Views/View.hpp Views/StringView.hpp Views/MethodStringView.hpp Views/StreamStringView.hpp
57
58MENUSOURCE = Menu/Menu.cpp Menu/TextMenu.cpp Menu/MenuItem.cpp Menu/SubMenuItem.cpp Menu/ActionMenuItem.cpp Menu/SeperatorItem.cpp Menu/DisplayMenuItem.cpp
59MENUHEADER = Menu/Menu.hpp Menu/TextMenu.hpp Menu/MenuItem.hpp Menu/SubMenuItem.hpp Menu/ActionMenuItem.hpp Menu/SeperatorItem.hpp Menu/DisplayMenuItem.hpp
60
61UISOURCE = ${ACTIONSSOURCE} ${VIEWSOURCE} ${MENUSOURCE} UIElements/UIFactory.cpp UIElements/TextUIFactory.cpp UIElements/MainWindow.cpp UIElements/TextWindow.cpp UIElements/TextStatusIndicator.cpp UIElements/Dialog.cpp UIElements/TextDialog.cpp
62UIHEADER = ${ACTIONSHEADER} ${VIEWHEADER} ${MENUHEADER} UIElements/UIFactory.hpp UIElements/TextUIFactory.hpp UIElements/MainWindow.hpp UIElements/TextWindow.hpp UIElements/TextStatusIndicator.hpp UIElements/Dialog.hpp UIElements/TextDialog.hpp
63
64# all these files are only used for legacy reasons while the transition is in progress
65# they are only needed to keep the program usable at any point of the transition and will be
66# deleted once everything is fully refactored
67LEGACYSOURCE = Legacy/oldmenu.cpp
68LEGACYHEADER = Legacy/oldmenu.hpp
69
70DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
71 Descriptors/AtomIdDescriptor.cpp \
72 Descriptors/AtomTypeDescriptor.cpp \
73 Descriptors/MoleculeDescriptor.cpp \
74 Descriptors/MoleculeIdDescriptor.cpp
75
76
77DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
78 Descriptors/AtomIdDescriptor.hpp \
79 Descriptors/AtomTypeDescriptor.hpp \
80 Descriptors/MoleculeDescriptor.hpp \
81 Descriptors/MoleculeIdDescriptor.hpp
82
83
84
85EXCEPTIONSOURCE = Exceptions/CustomException.cpp \
86 Exceptions/LinearDependenceException.cpp
87
88EXCEPTIONHEADER = Exceptions/CustomException.hpp \
89 Exceptions/LinearDependenceException.hpp
90
91SOURCE = ${ANALYSISSOURCE} \
92 ${ATOMSOURCE} \
93 ${PATTERNSOURCE} \
94 ${UISOURCE} \
95 ${DESCRIPTORSOURCE} \
96 ${HELPERSOURCE} \
97 ${LEGACYSOURCE} \
98 ${EXCEPTIONSOURCE} \
99 bond.cpp \
100 bondgraph.cpp \
101 boundary.cpp \
102 config.cpp \
103 element.cpp \
104 ellipsoid.cpp \
105 errorlogger.cpp \
106 graph.cpp \
107 helpers.cpp \
108 info.cpp \
109 leastsquaremin.cpp \
110 linkedcell.cpp \
111 lists.cpp \
112 log.cpp \
113 logger.cpp \
114 memoryusageobserver.cpp \
115 moleculelist.cpp \
116 molecule.cpp \
117 molecule_dynamics.cpp \
118 molecule_fragmentation.cpp \
119 molecule_geometry.cpp \
120 molecule_graph.cpp \
121 molecule_pointcloud.cpp \
122 parser.cpp \
123 periodentafel.cpp \
124 Plane.cpp \
125 tesselation.cpp \
126 tesselationhelpers.cpp \
127 triangleintersectionlist.cpp \
128 verbose.cpp \
129 vector_ops.cpp \
130 World.cpp
131
132HEADER = \
133 ${ANALYSISHEADER} \
134 ${ATOMHEADER} \
135 ${PATTERNHEADER} \
136 ${UIHEADER} \
137 ${DESCRIPTORHEADER} \
138 ${EXCEPTIONHEADER} \
139 ${LEGACYHEADER} \
140 bond.hpp \
141 bondgraph.hpp \
142 boundary.hpp \
143 config.hpp \
144 defs.hpp \
145 element.hpp \
146 ellipsoid.hpp \
147 errorlogger.hpp \
148 graph.hpp \
149 helpers.hpp \
150 info.hpp \
151 leastsquaremin.hpp \
152 linkedcell.hpp \
153 lists.hpp \
154 log.hpp \
155 logger.hpp \
156 memoryallocator.hpp \
157 memoryusageobserver.hpp \
158 molecule.hpp \
159 molecule_template.hpp \
160 parser.hpp \
161 periodentafel.hpp \
162 Plane.hpp \
163 stackclass.hpp \
164 tesselation.hpp \
165 tesselationhelpers.hpp \
166 triangleintersectionlist.hpp \
167 verbose.hpp \
168 vector_ops.hpp \
169 World.hpp
170
171BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
172INCLUDES = -I$(top_srcdir)/src/unittests
173
174noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a
175bin_PROGRAMS = molecuilder joiner analyzer
176molecuilderdir = ${bindir}
177libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
178libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
179molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
180molecuilder_LDFLAGS = $(BOOST_LDFLAGS)
181molecuilder_SOURCES = builder.cpp
182molecuilder_LDADD = libmolecuilder.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
183joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
184joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
185analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
186analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
187
188#EXTRA_DIST = ${molecuilder_DATA}
189
190FORCE:
191$(srcdir)/.git-version: FORCE
192 @if (test -d $(top_srcdir)/../.git && cd $(srcdir) && git describe HEAD) > .git-version-t 2>/dev/null \
193 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
194 mv -f .git-version-t $(srcdir)/.git-version; \
195 else \
196 rm -f .git-version-t; \
197 fi
198
199EXTRA_DIST = $(srcdir)/.git-version
200
201$(srcdir)/version.c: $(srcdir)/.git-version
202 echo "const char *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
203
204molecuilder_SOURCES += $(srcdir)/version.c
Note: See TracBrowser for help on using the repository browser.