source: src/UIElements/Makefile.am@ 41e15b

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 41e15b was b59da6, checked in by Frederik Heber <heber@…>, 14 years ago

Refactoring of Menu structure for Qt and Text UI done.

  • Menu is now the initialising class for the menu structure.
  • MenuInterface contains virtual declarations of all functions that Menu needs to call.
  • TextMenu and QtMenu are templated classes which contain both Menu and MenuInterface and implement the virtual functions.
  • class TxMenu and its ...MenuItems contain most of the old Menu code for the text-based system. Most of the stuff, such as triggers, are now hidden internally.
  • in ..MainWindow() we basically just construct the desired Menu and call init at the correct time.
  • Property mode set to 100644
File size: 6.9 KB
Line 
1# Below is all for the User Interface
2
3INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/UIElements
4
5AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
6AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
7
8VIEWSOURCE = \
9 Views/View.cpp \
10 Views/StringView.cpp \
11 Views/MethodStringView.cpp \
12 Views/StreamStringView.cpp
13VIEWHEADER = \
14 Views/View.hpp \
15 Views/StringView.hpp \
16 Views/MethodStringView.hpp \
17 Views/StreamStringView.hpp
18
19MENUSOURCE = \
20 Menu/Menu.cpp \
21 Menu/MenuDescription.cpp \
22 Menu/MenuInterface.cpp
23
24MENUHEADER = \
25 Menu/Menu.hpp \
26 Menu/MenuDescription.hpp \
27 Menu/MenuInterface.hpp
28
29TEXTMENUSOURCE = \
30 Menu/TextMenu/TxMenu.cpp \
31 Menu/TextMenu/MenuItem.cpp \
32 Menu/TextMenu/SubMenuItem.cpp \
33 Menu/TextMenu/ActionMenuItem.cpp \
34 Menu/TextMenu/SeperatorItem.cpp \
35 Menu/TextMenu/DisplayMenuItem.cpp
36
37TEXTMENUHEADER = \
38 Menu/TextMenu/TextMenu.hpp \
39 Menu/TextMenu/TxMenu.hpp \
40 Menu/TextMenu/MenuItem.hpp \
41 Menu/TextMenu/SubMenuItem.hpp \
42 Menu/TextMenu/ActionMenuItem.hpp \
43 Menu/TextMenu/SeperatorItem.hpp \
44 Menu/TextMenu/DisplayMenuItem.hpp
45
46UISOURCE = \
47 ${ACTIONSSOURCE} \
48 ${COMMANDLINEUISOURCE} \
49 ${MENUSOURCE} \
50 ${TEXTMENUSOURCE} \
51 ${TEXTUISOURCE} \
52 ${VIEWSOURCE} \
53 Query/AtomQuery.cpp \
54 Query/AtomsQuery.cpp \
55 Query/BooleanQuery.cpp \
56 Query/BoxQuery.cpp \
57 Query/DoubleQuery.cpp \
58 Query/DoublesQuery.cpp \
59 Query/ElementQuery.cpp \
60 Query/ElementsQuery.cpp \
61 Query/EmptyQuery.cpp \
62 Query/FileQuery.cpp \
63 Query/IntQuery.cpp \
64 Query/IntsQuery.cpp \
65 Query/MoleculeQuery.cpp \
66 Query/MoleculesQuery.cpp \
67 Query/Query.cpp \
68 Query/StringQuery.cpp \
69 Query/StringsQuery.cpp \
70 Query/VectorQuery.cpp \
71 Query/VectorsQuery.cpp \
72 Dialog.cpp \
73 MainWindow.cpp
74
75UIHEADER = \
76 ${ACTIONSHEADER} \
77 ${COMMANDLINEUIHEADER} \
78 ${MENUHEADER} \
79 ${TEXTMENUHEADER} \
80 ${TEXTUIHEADER} \
81 ${VIEWHEADER} \
82 Dialog.hpp \
83 MainWindow.hpp
84
85TEXTUISOURCE = \
86 TextUI/Query/AtomsTextQuery.cpp \
87 TextUI/Query/AtomTextQuery.cpp \
88 TextUI/Query/BooleanTextQuery.cpp \
89 TextUI/Query/BoxTextQuery.cpp \
90 TextUI/Query/DoubleTextQuery.cpp \
91 TextUI/Query/DoublesTextQuery.cpp \
92 TextUI/Query/ElementTextQuery.cpp \
93 TextUI/Query/ElementsTextQuery.cpp \
94 TextUI/Query/EmptyTextQuery.cpp \
95 TextUI/Query/FileTextQuery.cpp \
96 TextUI/Query/IntTextQuery.cpp \
97 TextUI/Query/IntsTextQuery.cpp \
98 TextUI/Query/MoleculesTextQuery.cpp \
99 TextUI/Query/MoleculeTextQuery.cpp \
100 TextUI/Query/StringTextQuery.cpp \
101 TextUI/Query/StringsTextQuery.cpp \
102 TextUI/Query/VectorTextQuery.cpp \
103 TextUI/Query/VectorsTextQuery.cpp \
104 TextUI/TextDialog.cpp \
105 TextUI/TextStatusIndicator.cpp \
106 TextUI/TextUIFactory.cpp \
107 TextUI/TextWindow.cpp
108TEXTUIHEADER = \
109 TextUI/TextDialog.hpp \
110 TextUI/TextStatusIndicator.hpp \
111 TextUI/TextUIFactory.hpp \
112 TextUI/TextWindow.hpp
113
114COMMANDLINEUISOURCE = \
115 CommandLineUI/Query/AtomCommandLineQuery.cpp \
116 CommandLineUI/Query/AtomsCommandLineQuery.cpp \
117 CommandLineUI/Query/BooleanCommandLineQuery.cpp \
118 CommandLineUI/Query/BoxCommandLineQuery.cpp \
119 CommandLineUI/Query/DoubleCommandLineQuery.cpp \
120 CommandLineUI/Query/DoublesCommandLineQuery.cpp \
121 CommandLineUI/Query/ElementCommandLineQuery.cpp \
122 CommandLineUI/Query/ElementsCommandLineQuery.cpp \
123 CommandLineUI/Query/EmptyCommandLineQuery.cpp \
124 CommandLineUI/Query/FileCommandLineQuery.cpp \
125 CommandLineUI/Query/IntCommandLineQuery.cpp \
126 CommandLineUI/Query/IntsCommandLineQuery.cpp \
127 CommandLineUI/Query/MoleculeCommandLineQuery.cpp \
128 CommandLineUI/Query/MoleculesCommandLineQuery.cpp \
129 CommandLineUI/Query/StringCommandLineQuery.cpp \
130 CommandLineUI/Query/StringsCommandLineQuery.cpp \
131 CommandLineUI/Query/VectorCommandLineQuery.cpp \
132 CommandLineUI/Query/VectorsCommandLineQuery.cpp \
133 CommandLineUI/CommandLineDialog.cpp \
134 CommandLineUI/CommandLineParser.cpp \
135 CommandLineUI/CommandLineStatusIndicator.cpp \
136 CommandLineUI/CommandLineUIFactory.cpp \
137 CommandLineUI/CommandLineWindow.cpp \
138 CommandLineUI/TypeEnumContainer.cpp
139
140COMMANDLINEUIHEADER = \
141 CommandLineUI/CommandLineDialog.hpp \
142 CommandLineUI/CommandLineParser.hpp \
143 CommandLineUI/CommandLineStatusIndicator.hpp \
144 CommandLineUI/CommandLineUIFactory.hpp \
145 CommandLineUI/CommandLineWindow.hpp \
146 CommandLineUI/TypeEnumContainer.cpp
147
148lib_LTLIBRARIES = libMolecuilderUI-@MOLECUILDER_API_VERSION@.la
149libMolecuilderUI_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/
150libMolecuilderUI_LIBS = \
151 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la
152
153nobase_libMolecuilderUI_include_HEADERS = ${UIHEADER}
154
155## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
156## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
157## will therefore be treated as if it were literally part of the target name,
158## and the variable name derived from that.
159## The file extension .cc is recognized by Automake, and makes it produce
160## rules which invoke the C++ compiler to produce a libtool object file (.lo)
161## from each source file. Note that it is not necessary to list header files
162## which are already listed elsewhere in a _HEADERS variable assignment.
163libMolecuilderUI_@MOLECUILDER_API_VERSION@_la_SOURCES = ${UISOURCE}
164
165## Instruct libtool to include ABI version information in the generated shared
166## library file (.so). The library ABI version is defined in configure.ac, so
167## that all version information is kept in one place.
168libMolecuilderUI_@MOLECUILDER_API_VERSION@_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
169
170## The generated configuration header is installed in its own subdirectory of
171## $(libdir). The reason for this is that the configuration information put
172## into this header file describes the target platform the installed library
173## has been built for. Thus the file must not be installed into a location
174## intended for architecture-independent files, as defined by the Filesystem
175## Hierarchy Standard (FHS).
176## The nodist_ prefix instructs Automake to not generate rules for including
177## the listed files in the distribution on 'make dist'. Files that are listed
178## in _HEADERS variables are normally included in the distribution, but the
179## configuration header file is generated at configure time and should not be
180## shipped with the source tarball.
181libMolecuilderUI_libincludedir = $(libdir)/molecuilder-$(MOLECUILDER_API_VERSION)/include
182nodist_libMolecuilderUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
183
184## Install the generated pkg-config file (.pc) into the expected location for
185## architecture-dependent package configuration information. Occasionally,
186## pkg-config files are also used for architecture-independent data packages,
187## in which case the correct install location would be $(datadir)/pkgconfig.
188pkgconfigdir = $(libdir)/pkgconfig
189pkgconfig_DATA = $(top_builddir)/molecuilder-$(MOLECUILDER_API_VERSION).pc
190
191unity.cpp:
192 echo "" > unity.cpp; \
193 list='$(UISOURCE)'; for file in $$list; do \
194 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
195 done;
196
197MOSTLYCLEANFILES = unity.cpp
Note: See TracBrowser for help on using the repository browser.