source: src/UIElements/Makefile.am@ e4b2f6

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

Large Commit: SUBDIRS in src/Makefile.am replaced by include.

  • This should let make decide on the dependencies automatically.
  • We had to change each Makefile.am due to different relative location now.
  • FIX: convenience libs were not created due to lib_LT... instead of noinst_LT... (thanks, Ralf!)
  • FIX: convenience libs cannot pass on dependencies on real libs, these (seemingly: libLinearAlgebra) have to be re-specified.
  • FIX: RANDOMSOURCE/HEADER were still present to include in libMolecuilder although RandomNumbers have been outsourced for some time already.
  • this should make it a lot easier for unit tests to get away with the massive dependencies because we may now include single libs and can construct stubs in replacement.
  • Property mode set to 100644
File size: 12.8 KB
Line 
1# Below is all for the User Interface
2
3COMMANDLINEUISOURCE = \
4 UIElements/CommandLineUI/Query/AtomCommandLineQuery.cpp \
5 UIElements/CommandLineUI/Query/AtomsCommandLineQuery.cpp \
6 UIElements/CommandLineUI/Query/BooleanCommandLineQuery.cpp \
7 UIElements/CommandLineUI/Query/BoxCommandLineQuery.cpp \
8 UIElements/CommandLineUI/Query/DoubleCommandLineQuery.cpp \
9 UIElements/CommandLineUI/Query/DoublesCommandLineQuery.cpp \
10 UIElements/CommandLineUI/Query/ElementCommandLineQuery.cpp \
11 UIElements/CommandLineUI/Query/ElementsCommandLineQuery.cpp \
12 UIElements/CommandLineUI/Query/EmptyCommandLineQuery.cpp \
13 UIElements/CommandLineUI/Query/FileCommandLineQuery.cpp \
14 UIElements/CommandLineUI/Query/IntCommandLineQuery.cpp \
15 UIElements/CommandLineUI/Query/IntsCommandLineQuery.cpp \
16 UIElements/CommandLineUI/Query/MoleculeCommandLineQuery.cpp \
17 UIElements/CommandLineUI/Query/MoleculesCommandLineQuery.cpp \
18 UIElements/CommandLineUI/Query/StringCommandLineQuery.cpp \
19 UIElements/CommandLineUI/Query/StringsCommandLineQuery.cpp \
20 UIElements/CommandLineUI/Query/VectorCommandLineQuery.cpp \
21 UIElements/CommandLineUI/Query/VectorsCommandLineQuery.cpp \
22 UIElements/CommandLineUI/Query/RandomNumberDistribution_ParametersCommandLineQuery.cpp \
23 UIElements/CommandLineUI/CommandLineDialog.cpp \
24 UIElements/CommandLineUI/CommandLineParser.cpp \
25 UIElements/CommandLineUI/CommandLineParser_validate.cpp \
26 UIElements/CommandLineUI/CommandLineStatusIndicator.cpp \
27 UIElements/CommandLineUI/CommandLineUIFactory.cpp \
28 UIElements/CommandLineUI/CommandLineWindow.cpp \
29 UIElements/CommandLineUI/TypeEnumContainer.cpp
30
31COMMANDLINEUIHEADER = \
32 UIElements/CommandLineUI/Query/CommandLineQuery.hpp \
33 UIElements/CommandLineUI/CommandLineDialog.hpp \
34 UIElements/CommandLineUI/CommandLineParser.hpp \
35 UIElements/CommandLineUI/CommandLineParser_validate.hpp \
36 UIElements/CommandLineUI/CommandLineStatusIndicator.hpp \
37 UIElements/CommandLineUI/CommandLineUIFactory.hpp \
38 UIElements/CommandLineUI/CommandLineWindow.hpp \
39 UIElements/CommandLineUI/TypeEnumContainer.hpp
40
41MENUSOURCE = \
42 UIElements/Menu/Menu.cpp \
43 UIElements/Menu/MenuDescription.cpp \
44 UIElements/Menu/MenuInterface.cpp
45
46MENUHEADER = \
47 UIElements/Menu/Menu.hpp \
48 UIElements/Menu/MenuDescription.hpp \
49 UIElements/Menu/MenuInterface.hpp
50
51TEXTMENUSOURCE = \
52 UIElements/Menu/TextMenu/TxMenuLeaveAction.cpp \
53 UIElements/Menu/TextMenu/TxMenu.cpp \
54 UIElements/Menu/TextMenu/MenuItem.cpp \
55 UIElements/Menu/TextMenu/SubMenuItem.cpp \
56 UIElements/Menu/TextMenu/ActionMenuItem.cpp \
57 UIElements/Menu/TextMenu/SeparatorMenuItem.cpp \
58 UIElements/Menu/TextMenu/DisplayMenuItem.cpp
59
60TEXTMENUHEADER = \
61 UIElements/Menu/TextMenu/TextMenu.hpp \
62 UIElements/Menu/TextMenu/TxMenu.hpp \
63 UIElements/Menu/TextMenu/MenuItem.hpp \
64 UIElements/Menu/TextMenu/SubMenuItem.hpp \
65 UIElements/Menu/TextMenu/ActionMenuItem.hpp \
66 UIElements/Menu/TextMenu/SeparatorMenuItem.hpp \
67 UIElements/Menu/TextMenu/DisplayMenuItem.hpp
68
69TEXTUISOURCE = \
70 UIElements/TextUI/Query/AtomsTextQuery.cpp \
71 UIElements/TextUI/Query/AtomTextQuery.cpp \
72 UIElements/TextUI/Query/BooleanTextQuery.cpp \
73 UIElements/TextUI/Query/BoxTextQuery.cpp \
74 UIElements/TextUI/Query/DoubleTextQuery.cpp \
75 UIElements/TextUI/Query/DoublesTextQuery.cpp \
76 UIElements/TextUI/Query/ElementTextQuery.cpp \
77 UIElements/TextUI/Query/ElementsTextQuery.cpp \
78 UIElements/TextUI/Query/EmptyTextQuery.cpp \
79 UIElements/TextUI/Query/FileTextQuery.cpp \
80 UIElements/TextUI/Query/IntTextQuery.cpp \
81 UIElements/TextUI/Query/IntsTextQuery.cpp \
82 UIElements/TextUI/Query/MoleculesTextQuery.cpp \
83 UIElements/TextUI/Query/MoleculeTextQuery.cpp \
84 UIElements/TextUI/Query/StringTextQuery.cpp \
85 UIElements/TextUI/Query/StringsTextQuery.cpp \
86 UIElements/TextUI/Query/VectorTextQuery.cpp \
87 UIElements/TextUI/Query/VectorsTextQuery.cpp \
88 UIElements/TextUI/Query/RandomNumberDistribution_ParametersTextQuery.cpp \
89 UIElements/TextUI/TextDialog.cpp \
90 UIElements/TextUI/TextStatusIndicator.cpp \
91 UIElements/TextUI/TextUIFactory.cpp \
92 UIElements/TextUI/TextWindow.cpp
93TEXTUIHEADER = \
94 UIElements/TextUI/Query/TextQuery.hpp \
95 UIElements/TextUI/TextDialog.hpp \
96 UIElements/TextUI/TextStatusIndicator.hpp \
97 UIElements/TextUI/TextUIFactory.hpp \
98 UIElements/TextUI/TextWindow.hpp
99
100VIEWSOURCE = \
101 UIElements/Views/View.cpp \
102 UIElements/Views/StringView.cpp \
103 UIElements/Views/MethodStringView.cpp \
104 UIElements/Views/StreamStringView.cpp
105VIEWHEADER = \
106 UIElements/Views/View.hpp \
107 UIElements/Views/StringView.hpp \
108 UIElements/Views/MethodStringView.hpp \
109 UIElements/Views/StreamStringView.hpp
110
111UISOURCE = \
112 ${COMMANDLINEUISOURCE} \
113 ${MENUSOURCE} \
114 ${TEXTMENUSOURCE} \
115 ${TEXTUISOURCE} \
116 ${VIEWSOURCE} \
117 UIElements/Query/AtomQuery.cpp \
118 UIElements/Query/AtomsQuery.cpp \
119 UIElements/Query/BooleanQuery.cpp \
120 UIElements/Query/BoxQuery.cpp \
121 UIElements/Query/DoubleQuery.cpp \
122 UIElements/Query/DoublesQuery.cpp \
123 UIElements/Query/ElementQuery.cpp \
124 UIElements/Query/ElementsQuery.cpp \
125 UIElements/Query/EmptyQuery.cpp \
126 UIElements/Query/FileQuery.cpp \
127 UIElements/Query/IntQuery.cpp \
128 UIElements/Query/IntsQuery.cpp \
129 UIElements/Query/MoleculeQuery.cpp \
130 UIElements/Query/MoleculesQuery.cpp \
131 UIElements/Query/Query.cpp \
132 UIElements/Query/RandomNumberDistribution_ParametersQuery.cpp \
133 UIElements/Query/StringQuery.cpp \
134 UIElements/Query/StringsQuery.cpp \
135 UIElements/Query/VectorQuery.cpp \
136 UIElements/Query/VectorsQuery.cpp \
137 UIElements/Dialog.cpp \
138 UIElements/MainWindow.cpp
139
140UIHEADER = \
141 ${COMMANDLINEUIHEADER} \
142 ${MENUHEADER} \
143 ${TEXTMENUHEADER} \
144 ${TEXTUIHEADER} \
145 ${VIEWHEADER} \
146 UIElements/Dialog.hpp \
147 UIElements/MainWindow.hpp
148
149QTUISOURCE = \
150 allmocs.moc.cpp \
151 UIElements/Qt4/Pipe/AtomQtQueryPipe.cpp \
152 UIElements/Qt4/Pipe/AtomsQtQueryPipe.cpp \
153 UIElements/Qt4/Pipe/BooleanQtQueryPipe.cpp \
154 UIElements/Qt4/Pipe/BoxQtQueryPipe.cpp \
155 UIElements/Qt4/Pipe/DoubleQtQueryPipe.cpp \
156 UIElements/Qt4/Pipe/ElementsQtQueryPipe.cpp \
157 UIElements/Qt4/Pipe/EmptyQtQueryPipe.cpp \
158 UIElements/Qt4/Pipe/ElementQtQueryPipe.cpp \
159 UIElements/Qt4/Pipe/FileQtQueryPipe.cpp \
160 UIElements/Qt4/Pipe/IntQtQueryPipe.cpp \
161 UIElements/Qt4/Pipe/MoleculeQtQueryPipe.cpp \
162 UIElements/Qt4/Pipe/MoleculesQtQueryPipe.cpp \
163 UIElements/Qt4/Pipe/StringQtQueryPipe.cpp \
164 UIElements/Qt4/Pipe/VectorQtQueryPipe.cpp \
165 UIElements/Qt4/Pipe/VectorsQtQueryPipe.cpp \
166 UIElements/Qt4/Pipe/RandomNumberDistribution_ParametersQtQueryPipe.cpp \
167 UIElements/Qt4/Query/AtomQtQuery.cpp \
168 UIElements/Qt4/Query/AtomsQtQuery.cpp \
169 UIElements/Qt4/Query/BooleanQtQuery.cpp \
170 UIElements/Qt4/Query/BoxQtQuery.cpp \
171 UIElements/Qt4/Query/DoubleQtQuery.cpp \
172 UIElements/Qt4/Query/DoublesQtQuery.cpp \
173 UIElements/Qt4/Query/ElementQtQuery.cpp \
174 UIElements/Qt4/Query/ElementsQtQuery.cpp \
175 UIElements/Qt4/Query/EmptyQtQuery.cpp \
176 UIElements/Qt4/Query/FileQtQuery.cpp \
177 UIElements/Qt4/Query/IntQtQuery.cpp \
178 UIElements/Qt4/Query/IntsQtQuery.cpp \
179 UIElements/Qt4/Query/MoleculeQtQuery.cpp \
180 UIElements/Qt4/Query/MoleculesQtQuery.cpp \
181 UIElements/Qt4/Query/StringQtQuery.cpp \
182 UIElements/Qt4/Query/StringsQtQuery.cpp \
183 UIElements/Qt4/Query/VectorQtQuery.cpp \
184 UIElements/Qt4/Query/VectorsQtQuery.cpp \
185 UIElements/Qt4/Query/RandomNumberDistribution_ParametersQtQuery.cpp \
186 UIElements/Qt4/QtMainWindow.cpp \
187 UIElements/Qt4/QtDialog.cpp \
188 UIElements/Qt4/QtUIFactory.cpp \
189 UIElements/Menu/Qt4/QtMenuPipe.cpp \
190 UIElements/Views/Qt4/QtWorldView.cpp \
191 UIElements/Views/Qt4/GLMoleculeView.cpp \
192 UIElements/Views/Qt4/QtMoleculeView.cpp \
193 UIElements/Views/Qt4/QtStatusBar.cpp
194
195QTUIMOC_HEADER = \
196 UIElements/Qt4/QtDialog.hpp \
197 UIElements/Qt4/QtMainWindow.hpp \
198 UIElements/Qt4/Pipe/AtomQtQueryPipe.hpp \
199 UIElements/Qt4/Pipe/AtomsQtQueryPipe.hpp \
200 UIElements/Qt4/Pipe/BooleanQtQueryPipe.hpp \
201 UIElements/Qt4/Pipe/BoxQtQueryPipe.hpp \
202 UIElements/Qt4/Pipe/DoubleQtQueryPipe.hpp \
203 UIElements/Qt4/Pipe/ElementsQtQueryPipe.hpp \
204 UIElements/Qt4/Pipe/EmptyQtQueryPipe.hpp \
205 UIElements/Qt4/Pipe/ElementQtQueryPipe.hpp \
206 UIElements/Qt4/Pipe/FileQtQueryPipe.hpp \
207 UIElements/Qt4/Pipe/IntQtQueryPipe.hpp \
208 UIElements/Qt4/Pipe/MoleculeQtQueryPipe.hpp \
209 UIElements/Qt4/Pipe/MoleculesQtQueryPipe.hpp \
210 UIElements/Qt4/Pipe/StringQtQueryPipe.hpp \
211 UIElements/Qt4/Pipe/VectorQtQueryPipe.hpp \
212 UIElements/Qt4/Pipe/VectorsQtQueryPipe.hpp \
213 UIElements/Qt4/Pipe/RandomNumberDistribution_ParametersQtQueryPipe.hpp \
214 UIElements/Menu/Qt4/QtMenuPipe.hpp \
215 UIElements/Views/Qt4/QtWorldView.hpp \
216 UIElements/Views/Qt4/GLMoleculeView.hpp \
217 UIElements/Views/Qt4/QtMoleculeView.hpp \
218 UIElements/Views/Qt4/QtStatusBar.hpp
219
220QTUIHEADER = \
221 ${QTUIMOC_HEADER} \
222 UIElements/Menu/Qt4/QtMenu.hpp \
223 UIElements/Qt4/Query/QtQuery.hpp \
224 UIElements/Qt4/QtUIFactory.hpp \
225 UIElements/Qt4/Pipe/QtQueryListPipe.hpp
226
227lib_LTLIBRARIES += libMolecuilderUI.la \
228 libMolecuilderQtUI.la
229libMolecuilderUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
230libMolecuilderQtUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
231libMolecuilderUI_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${QT_CXXFLAGS}
232libMolecuilderQtUI_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${QT_CXXFLAGS}
233# NOTE: ActionPrototypes BEFORE Actions!
234# this is to ensure that static Action prototypes are instantiated after
235# ActionRegistry is present.
236libMolecuilderUI_la_LIBADD = \
237 libMolecuilderActionPrototypes.la \
238 libMolecuilderActions.la \
239 libMolecuilderGraph.la \
240 libMolecuilder.la \
241 libMolecuilderParser.la \
242 libMolecuilderShapes.la \
243 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
244 libMolecuilderRandomNumbers.la \
245 ${CodePatterns_LIBS} \
246 $(BOOST_LIB)
247libMolecuilderQtUI_la_LIBADD = \
248 ${QT_LIB_GUI} \
249 -lQtOpenGL \
250 ${GLU_LIBS} \
251 ${QT_LDADD}
252
253
254nobase_libMolecuilderUI_la_include_HEADERS = ${UIHEADER}
255nobase_libMolecuilderQtUI_la_include_HEADERS = ${QTUIHEADER}
256
257## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
258## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
259## will therefore be treated as if it were literally part of the target name,
260## and the variable name derived from that.
261## The file extension .cc is recognized by Automake, and makes it produce
262## rules which invoke the C++ compiler to produce a libtool object file (.lo)
263## from each source file. Note that it is not necessary to list header files
264## which are already listed elsewhere in a _HEADERS variable assignment.
265libMolecuilderUI_la_SOURCES = ${UISOURCE}
266libMolecuilderQtUI_la_SOURCES = ${QTUISOURCE}
267
268## Instruct libtool to include ABI version information in the generated shared
269## library file (.so). The library ABI version is defined in configure.ac, so
270## that all version information is kept in one place.
271libMolecuilderUI_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
272#libMolecuilderQtUI_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
273
274## The generated configuration header is installed in its own subdirectory of
275## $(libdir). The reason for this is that the configuration information put
276## into this header file describes the target platform the installed library
277## has been built for. Thus the file must not be installed into a location
278## intended for architecture-independent files, as defined by the Filesystem
279## Hierarchy Standard (FHS).
280## The nodist_ prefix instructs Automake to not generate rules for including
281## the listed files in the distribution on 'make dist'. Files that are listed
282## in _HEADERS variables are normally included in the distribution, but the
283## configuration header file is generated at configure time and should not be
284## shipped with the source tarball.
285#libMolecuilderUI_libincludedir = $(libdir)/MoleCuilder/include
286#libMolecuilderQtUI_libincludedir = $(libdir)/MoleCuilder/include
287#nodist_libMolecuilderUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
288#nodist_libMolecuilderQtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
289
290## Install the generated pkg-config file (.pc) into the expected location for
291## architecture-dependent package configuration information. Occasionally,
292## pkg-config files are also used for architecture-independent data packages,
293## in which case the correct install location would be $(datadir)/pkgconfig.
294#pkgconfigdir = $(libdir)/pkgconfig
295#pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
296
297#Rules needed for Qt4
298# UI-Files are scattered throughout several subdirectories
299# Therfore `%'-rules do not seem to work
300#Quick fix to get it done otherwise
301allmocs.moc.cpp: ${QTUIMOC_HEADER}
302 echo "" > allmocs.moc.cpp;\
303 list='$(QTUIMOC_HEADER)'; for header in $$list; do \
304 echo "Making mocfile for $$header"; \
305 target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
306 $(MOC) $(srcdir)/$$header -o $$target \
307 || eval $$failcom; \
308 echo "#include \"$$target\"" >> allmocs.moc.cpp; \
309 done;
310
311
312MOSTLYCLEANFILES += allmocs.moc.cpp
Note: See TracBrowser for help on using the repository browser.