source: molecuilder/src/Makefile.am@ a1a532

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

moved Iterators for the World to a seperate file

  • Property mode set to 100644
File size: 5.4 KB
Line 
1ATOMSOURCE = 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
2ATOMHEADER = 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
3
4LINALGSOURCE = gslmatrix.cpp gslvector.cpp linearsystemofequations.cpp
5LINALGHEADER = gslmatrix.hpp gslvector.hpp linearsystemofequations.hpp
6
7ANALYSISSOURCE = analysis_bonds.cpp analysis_correlation.cpp
8ANALYSISHEADER = analysis_bonds.hpp analysis_correlation.hpp
9
10ACTIONSSOURCE = Actions/Action.cpp Actions/Process.cpp Actions/MethodAction.cpp Actions/ActionSequence.cpp Actions/MakroAction.cpp Actions/ErrorAction.cpp Actions/small_actions.cpp Actions/ManipulateAtomsProcess.cpp Actions/ActionRegistry.cpp
11ACTIONSHEADER = Actions/Action.hpp Actions/Process.hpp Actions/Calculation.hpp Actions/Calculation_impl.hpp Actions/MethodAction.hpp Actions/ActionSequence.hpp Actions/MakroAction.hpp Actions/ErrorAction.hpp Actions/small_actions.hpp Actions/ManipulateAtomsProcess.hpp Actions/ActionRegistry.hpp
12
13PATTERNSOURCE = Patterns/Observer.cpp
14PATTERNHEADER = Patterns/Observer.hpp Patterns/Cacheable.hpp
15
16VIEWSOURCE = Views/View.cpp Views/StringView.cpp Views/MethodStringView.cpp Views/StreamStringView.cpp
17VIEWHEADER = Views/View.hpp Views/StringView.hpp Views/MethodStringView.hpp Views/StreamStringView.hpp
18
19MENUSOURCE = Menu/Menu.cpp Menu/TextMenu.cpp Menu/MenuItem.cpp Menu/SubMenuItem.cpp Menu/ActionMenuItem.cpp Menu/SeperatorItem.cpp Menu/DisplayMenuItem.cpp
20MENUHEADER = Menu/Menu.hpp Menu/TextMenu.hpp Menu/MenuItem.hpp Menu/SubMenuItem.hpp Menu/ActionMenuItem.hpp Menu/SeperatorItem.hpp Menu/DisplayMenuItem.hpp
21
22UISOURCE = ${ACTIONSSOURCE} ${VIEWSOURCE} ${MENUSOURCE} UIElements/UIFactory.cpp UIElements/TextUIFactory.cpp UIElements/MainWindow.cpp UIElements/TextWindow.cpp UIElements/Dialog.cpp UIElements/TextDialog.cpp
23UIHEADER = ${ACTIONSHEADER} ${VIEWHEADER} ${MENUHEADER} UIElements/UIFactory.hpp UIElements/TextUIFactory.hpp UIElements/MainWindow.hpp UIElements/TextWindow.hpp UIElements/Dialog.hpp UIElements/TextDialog.hpp
24
25# all these files are only used for legacy reasons while the transition is in progress
26# they are only needed to keep the program usable at any point of the transition and will be
27# deleted once everything is fully refactored
28LEGACYSOURCE = Legacy/oldmenu.cpp
29LEGACYHEADER = Legacy/oldmenu.hpp
30
31DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp Descriptors/AtomIdDescriptor.cpp Descriptors/AtomTypeDescriptor.cpp
32DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp Descriptors/AtomIdDescriptor.hpp Descriptors/AtomTypeDescriptor.hpp
33
34SOURCE = ${ANALYSISSOURCE} ${ATOMSOURCE} ${PATTERNSOURCE} ${UISOURCE} ${DESCRIPTORSOURCE} ${LEGACYSOURCE} bond.cpp bondgraph.cpp boundary.cpp config.cpp element.cpp ellipsoid.cpp errorlogger.cpp graph.cpp helpers.cpp info.cpp leastsquaremin.cpp linkedcell.cpp lists.cpp log.cpp logger.cpp memoryusageobserver.cpp moleculelist.cpp molecule.cpp molecule_dynamics.cpp molecule_fragmentation.cpp molecule_geometry.cpp molecule_graph.cpp molecule_pointcloud.cpp parser.cpp periodentafel.cpp tesselation.cpp tesselationhelpers.cpp vector.cpp verbose.cpp World.cpp WorldIterators.cpp
35HEADER = ${ANALYSISHEADER} ${ATOMHEADER} ${PATTERNHEADER} ${UIHEADER} ${DESCRIPTORHEADER} ${LEGACYHEADER} bond.hpp bondgraph.hpp boundary.hpp config.hpp defs.hpp element.hpp ellipsoid.hpp errorlogger.hpp graph.hpp helpers.hpp info.hpp leastsquaremin.hpp linkedcell.hpp lists.hpp log.hpp logger.hpp memoryallocator.hpp memoryusageobserver.hpp molecule.hpp molecule_template.hpp parser.hpp periodentafel.hpp stackclass.hpp tesselation.hpp tesselationhelpers.hpp vector.hpp verbose.hpp World.hpp
36
37BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
38INCLUDES = -I$(top_srcdir)/src/unittests
39
40noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a
41bin_PROGRAMS = molecuilder joiner analyzer
42molecuilderdir = ${bindir}
43#libmolecuilder_a_CXXFLAGS = -DNO_CACHING
44libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
45libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
46molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
47molecuilder_LDFLAGS = $(BOOST_LDFLAGS)
48molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
49#molecuilder_CXXFLAGS += -DNO_CACHING
50molecuilder_SOURCES = builder.cpp
51molecuilder_LDADD = libmolecuilder.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
52joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
53joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
54analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
55analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
56
57#EXTRA_DIST = ${molecuilder_DATA}
58
59FORCE:
60$(srcdir)/.git-version: FORCE
61 @if (test -d $(top_srcdir)/../.git && cd $(srcdir) && git describe HEAD) > .git-version-t 2>/dev/null \
62 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
63 mv -f .git-version-t $(srcdir)/.git-version; \
64 else \
65 rm -f .git-version-t; \
66 fi
67
68EXTRA_DIST = $(srcdir)/.git-version
69
70$(srcdir)/version.c: $(srcdir)/.git-version
71 echo "const char *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
72
73molecuilder_SOURCES += $(srcdir)/version.c
Note: See TracBrowser for help on using the repository browser.