1 | ATOMSOURCE = 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
|
---|
2 | ATOMHEADER = 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 |
|
---|
4 | ANALYSISSOURCE = analysis_bonds.cpp analysis_correlation.cpp
|
---|
5 | ANALYSISHEADER = analysis_bonds.hpp analysis_correlation.hpp
|
---|
6 |
|
---|
7 | ACTIONSSOURCE = Actions/Action.cpp Actions/MethodAction.cpp Actions/ActionSequence.cpp Actions/MakroAction.cpp Actions/ErrorAction.cpp Actions/small_actions.cpp Actions/ActionRegistry.cpp
|
---|
8 | ACTIONSHEADER = Actions/Action.hpp Actions/MethodAction.hpp Actions/ActionSequence.hpp Actions/MakroAction.hpp Actions/ErrorAction.hpp Actions/small_actions.hpp Actions/ActionRegistry.hpp
|
---|
9 |
|
---|
10 | PATTERNSOURCE = Patterns/Observer.cpp
|
---|
11 | PATTERNHEADER = Patterns/Observer.hpp
|
---|
12 |
|
---|
13 | VIEWSOURCE = Views/View.cpp Views/StringView.cpp Views/MethodStringView.cpp Views/StreamStringView.cpp
|
---|
14 | VIEWHEADER = Views/View.hpp Views/StringView.hpp Views/MethodStringView.hpp Views/StreamStringView.hpp
|
---|
15 |
|
---|
16 | MENUSOURCE = Menu/Menu.cpp Menu/TextMenu.cpp Menu/MenuItem.cpp Menu/SubMenuItem.cpp Menu/ActionMenuItem.cpp Menu/SeperatorItem.cpp Menu/DisplayMenuItem.cpp
|
---|
17 | MENUHEADER = Menu/Menu.hpp Menu/TextMenu.hpp Menu/MenuItem.hpp Menu/SubMenuItem.hpp Menu/ActionMenuItem.hpp Menu/SeperatorItem.hpp Menu/DisplayMenuItem.hpp
|
---|
18 |
|
---|
19 | UISOURCE = ${ACTIONSSOURCE} ${VIEWSOURCE} ${MENUSOURCE} UIElements/TextUIFactory.cpp UIElements/MainWindow.cpp UIElements/TextWindow.cpp UIElements/Dialog.cpp UIElements/TextDialog.cpp
|
---|
20 | UIHEADER = ${ACTIONSHEADER} ${VIEWHEADER} ${MENUHEADER} UIElements/TextUIFactory.hpp UIElements/MainWindow.hpp UIElements/TextWindow.hpp UIElements/Dialog.hpp UIElements/TextDialog.hpp
|
---|
21 |
|
---|
22 | FACTORYSOURCE = UIElements/UIFactory.cpp
|
---|
23 | FACTORYHEADER = UIElements/UIFactory.hpp
|
---|
24 |
|
---|
25 | QTUIMOC_HEADER = UIElements/QT4/QTMainWindow.hpp UIElements/QT4/QTDialog.hpp Menu/QT4/QTMenu.hpp Views/QT4/QTMoleculesView.hpp Views/QT4/GLMoleculeView.hpp
|
---|
26 | QTUIMOC_TARGETS = QTMainWindow.moc.cpp QTMenu.moc.cpp QTDialog.moc.cpp QTMoleculesView.moc.cpp GLMoleculeView.moc.cpp
|
---|
27 |
|
---|
28 | QTUISOURCE = ${QTUIMOC_TARGETS} UIElements/QT4/QTMainWindow.cpp UIElements/QT4/QTDialog.cpp UIElements/QT4/QTUIFactory.cpp Menu/QT4/QTMenu.cpp Views/QT4/QTMoleculesView.cpp Views/QT4/GLMoleculeView.cpp
|
---|
29 | QTUIHEADER = ${QTUIMOC_HEADER} UIElements/QT4/QTUIFactory.hpp
|
---|
30 |
|
---|
31 | QTUI_DEFS =
|
---|
32 |
|
---|
33 | SOURCE = ${ANALYSISSOURCE} ${ATOMSOURCE} ${PATTERNSOURCE} bond.cpp bondgraph.cpp boundary.cpp config.cpp element.cpp ellipsoid.cpp errorlogger.cpp graph.cpp helpers.cpp leastsquaremin.cpp linkedcell.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
|
---|
34 | HEADER = ${ANALYSISHEADER} ${ATOMHEADER} ${PATTERNHEADER} bond.hpp bondgraph.hpp boundary.hpp config.hpp defs.hpp element.hpp ellipsoid.hpp errorlogger.hpp graph.hpp helpers.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
|
---|
35 |
|
---|
36 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
|
---|
37 | INCLUDES = -I$(top_srcdir)/src/unittests
|
---|
38 |
|
---|
39 | noinst_LIBRARIES = libmolecuilder.a libmenu.a
|
---|
40 | bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
|
---|
41 | molecuilderdir = ${bindir}
|
---|
42 | libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
|
---|
43 | libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
|
---|
44 | molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
|
---|
45 | molecuilder_LDFLAGS = $(BOOST_LIB)
|
---|
46 | molecuilder_SOURCES = ${FACTORYSOURCE} menu.cpp builder.cpp
|
---|
47 | molecuilder_LDADD = libmolecuilder.a libmenu.a
|
---|
48 | #Stuff for building the GUI using QT
|
---|
49 | molecuildergui_SOURCES = ${QTUISOURCE} ${FACTORYSOURCE} menu.cpp builder.cpp
|
---|
50 | molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT
|
---|
51 | molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS}
|
---|
52 | molecuildergui_LDADD = libmolecuilder.a libmenu.a ${QT_LDADD} ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS}
|
---|
53 | joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
|
---|
54 | joiner_LDADD = libmolecuilder.a
|
---|
55 | analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
|
---|
56 | analyzer_LDADD = libmolecuilder.a
|
---|
57 |
|
---|
58 | #Rules needed for QT4
|
---|
59 | # UI-Files are scattered throughout several subdirectories
|
---|
60 | # Therfore `%'-rules do not seem to work
|
---|
61 | #Quick fix to get it done otherwise
|
---|
62 | ${QTUIMOC_TARGETS}: ${QTUIMOC_HEADER}
|
---|
63 | list='$(QTUIMOC_HEADER)'; for header in $$list; do \
|
---|
64 | echo "Making mocfile for $$header"; \
|
---|
65 | target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
|
---|
66 | $(MOC) $(srcdir)/$$header -o $$target \
|
---|
67 | || eval $$failcom; \
|
---|
68 | done;
|
---|
69 |
|
---|
70 | MOSTLYCLEANFILES = ${QTUIMOC_TARGETS}
|
---|
71 |
|
---|
72 | #EXTRA_DIST = ${molecuilder_DATA}
|
---|
73 |
|
---|