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

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

Started work on the VectorComposites

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