source: src/UIElements/Makefile.am@ bad589

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 bad589 was d649b7, checked in by Frederik Heber <heber@…>, 12 years ago

Added functor getLastPosition, extracted from ActionRegistry.

  • this function had been placed in ActionRegistry only for convenience because of direct access to all action tokens. However, it is more sensible to place it with the menus.
  • Property mode set to 100644
File size: 14.7 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/DoubleCommandLineQuery.cpp \
8 UIElements/CommandLineUI/Query/DoublesCommandLineQuery.cpp \
9 UIElements/CommandLineUI/Query/ElementCommandLineQuery.cpp \
10 UIElements/CommandLineUI/Query/ElementsCommandLineQuery.cpp \
11 UIElements/CommandLineUI/Query/EmptyCommandLineQuery.cpp \
12 UIElements/CommandLineUI/Query/FileCommandLineQuery.cpp \
13 UIElements/CommandLineUI/Query/FilesCommandLineQuery.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/RealSpaceMatrixCommandLineQuery.cpp \
19 UIElements/CommandLineUI/Query/StringCommandLineQuery.cpp \
20 UIElements/CommandLineUI/Query/StringsCommandLineQuery.cpp \
21 UIElements/CommandLineUI/Query/UnsignedIntCommandLineQuery.cpp \
22 UIElements/CommandLineUI/Query/UnsignedIntsCommandLineQuery.cpp \
23 UIElements/CommandLineUI/Query/VectorCommandLineQuery.cpp \
24 UIElements/CommandLineUI/Query/VectorsCommandLineQuery.cpp \
25 UIElements/CommandLineUI/Query/RandomNumberDistribution_ParametersCommandLineQuery.cpp \
26 UIElements/CommandLineUI/CommandLineDialog.cpp \
27 UIElements/CommandLineUI/CommandLineParser.cpp \
28 UIElements/CommandLineUI/CommandLineParser_validate.cpp \
29 UIElements/CommandLineUI/CommandLineStatusIndicator.cpp \
30 UIElements/CommandLineUI/CommandLineUIFactory.cpp \
31 UIElements/CommandLineUI/CommandLineWindow.cpp \
32 UIElements/CommandLineUI/TypeEnumContainer.cpp
33
34COMMANDLINEUIHEADER = \
35 UIElements/CommandLineUI/Query/CommandLineQuery.hpp \
36 UIElements/CommandLineUI/CommandLineDialog.hpp \
37 UIElements/CommandLineUI/CommandLineParser.hpp \
38 UIElements/CommandLineUI/CommandLineParser_validate.hpp \
39 UIElements/CommandLineUI/CommandLineStatusIndicator.hpp \
40 UIElements/CommandLineUI/CommandLineUIFactory.hpp \
41 UIElements/CommandLineUI/CommandLineWindow.hpp \
42 UIElements/CommandLineUI/TypeEnumContainer.hpp
43
44MENUSOURCE = \
45 UIElements/Menu/getLastPosition.cpp \
46 UIElements/Menu/Menu.cpp \
47 UIElements/Menu/MenuDescription.cpp \
48 UIElements/Menu/MenuInterface.cpp
49
50MENUHEADER = \
51 UIElements/Menu/getLastPosition.hpp \
52 UIElements/Menu/Menu.hpp \
53 UIElements/Menu/MenuDescription.hpp \
54 UIElements/Menu/MenuInterface.hpp
55
56TEXTMENUSOURCE = \
57 UIElements/Menu/TextMenu/ActionMenuItem.cpp \
58 UIElements/Menu/TextMenu/DisplayMenuItem.cpp \
59 UIElements/Menu/TextMenu/MenuItem.cpp \
60 UIElements/Menu/TextMenu/SeparatorMenuItem.cpp \
61 UIElements/Menu/TextMenu/SubMenuItem.cpp \
62 UIElements/Menu/TextMenu/TxMenu.cpp \
63 UIElements/Menu/TextMenu/TxMenuLeaveAction.cpp
64
65TEXTMENUHEADER = \
66 UIElements/Menu/TextMenu/ActionMenuItem.hpp \
67 UIElements/Menu/TextMenu/DisplayMenuItem.hpp \
68 UIElements/Menu/TextMenu/MenuItem.hpp \
69 UIElements/Menu/TextMenu/SeparatorMenuItem.hpp \
70 UIElements/Menu/TextMenu/SubMenuItem.hpp \
71 UIElements/Menu/TextMenu/TextMenu.hpp \
72 UIElements/Menu/TextMenu/TxMenu.hpp \
73 UIElements/Menu/TextMenu/TxMenuLeaveAction.hpp
74
75TEXTUISOURCE = \
76 UIElements/TextUI/Query/AtomsTextQuery.cpp \
77 UIElements/TextUI/Query/AtomTextQuery.cpp \
78 UIElements/TextUI/Query/BooleanTextQuery.cpp \
79 UIElements/TextUI/Query/DoubleTextQuery.cpp \
80 UIElements/TextUI/Query/DoublesTextQuery.cpp \
81 UIElements/TextUI/Query/ElementTextQuery.cpp \
82 UIElements/TextUI/Query/ElementsTextQuery.cpp \
83 UIElements/TextUI/Query/EmptyTextQuery.cpp \
84 UIElements/TextUI/Query/FileTextQuery.cpp \
85 UIElements/TextUI/Query/FilesTextQuery.cpp \
86 UIElements/TextUI/Query/IntTextQuery.cpp \
87 UIElements/TextUI/Query/IntsTextQuery.cpp \
88 UIElements/TextUI/Query/MoleculesTextQuery.cpp \
89 UIElements/TextUI/Query/MoleculeTextQuery.cpp \
90 UIElements/TextUI/Query/RealSpaceMatrixTextQuery.cpp \
91 UIElements/TextUI/Query/StringTextQuery.cpp \
92 UIElements/TextUI/Query/StringsTextQuery.cpp \
93 UIElements/TextUI/Query/UnsignedIntTextQuery.cpp \
94 UIElements/TextUI/Query/UnsignedIntsTextQuery.cpp \
95 UIElements/TextUI/Query/VectorTextQuery.cpp \
96 UIElements/TextUI/Query/VectorsTextQuery.cpp \
97 UIElements/TextUI/Query/RandomNumberDistribution_ParametersTextQuery.cpp \
98 UIElements/TextUI/TextDialog.cpp \
99 UIElements/TextUI/TextStatusIndicator.cpp \
100 UIElements/TextUI/TextUIFactory.cpp \
101 UIElements/TextUI/TextWindow.cpp
102TEXTUIHEADER = \
103 UIElements/TextUI/Query/TextQuery.hpp \
104 UIElements/TextUI/TextDialog.hpp \
105 UIElements/TextUI/TextStatusIndicator.hpp \
106 UIElements/TextUI/TextUIFactory.hpp \
107 UIElements/TextUI/TextWindow.hpp
108
109VIEWSOURCE = \
110 UIElements/Views/View.cpp \
111 UIElements/Views/StringView.cpp \
112 UIElements/Views/MethodStringView.cpp \
113 UIElements/Views/StreamStringView.cpp
114VIEWHEADER = \
115 UIElements/Views/View.hpp \
116 UIElements/Views/StringView.hpp \
117 UIElements/Views/MethodStringView.hpp \
118 UIElements/Views/StreamStringView.hpp
119
120UISOURCE = \
121 ${COMMANDLINEUISOURCE} \
122 ${MENUSOURCE} \
123 ${TEXTMENUSOURCE} \
124 ${TEXTUISOURCE} \
125 ${VIEWSOURCE} \
126 UIElements/Query/EmptyQuery.cpp \
127 UIElements/Query/Query.cpp \
128 UIElements/Dialog.cpp \
129 UIElements/MainWindow.cpp
130
131UIHEADER = \
132 ${COMMANDLINEUIHEADER} \
133 ${MENUHEADER} \
134 ${TEXTMENUHEADER} \
135 ${TEXTUIHEADER} \
136 ${VIEWHEADER} \
137 UIElements/Dialog.hpp \
138 UIElements/MainWindow.hpp
139
140QTUISOURCE = \
141 UIElements/Qt4/Query/AtomQtQuery.cpp \
142 UIElements/Qt4/Query/AtomsQtQuery.cpp \
143 UIElements/Qt4/Query/BooleanQtQuery.cpp \
144 UIElements/Qt4/Query/DoubleQtQuery.cpp \
145 UIElements/Qt4/Query/DoublesQtQuery.cpp \
146 UIElements/Qt4/Query/ElementQtQuery.cpp \
147 UIElements/Qt4/Query/ElementsQtQuery.cpp \
148 UIElements/Qt4/Query/EmptyQtQuery.cpp \
149 UIElements/Qt4/Query/FileQtQuery.cpp \
150 UIElements/Qt4/Query/FilesQtQuery.cpp \
151 UIElements/Qt4/Query/IntQtQuery.cpp \
152 UIElements/Qt4/Query/IntsQtQuery.cpp \
153 UIElements/Qt4/Query/MoleculeQtQuery.cpp \
154 UIElements/Qt4/Query/MoleculesQtQuery.cpp \
155 UIElements/Qt4/Query/QtQueryList.cpp \
156 UIElements/Qt4/Query/RealSpaceMatrixQtQuery.cpp \
157 UIElements/Qt4/Query/StringQtQuery.cpp \
158 UIElements/Qt4/Query/StringsQtQuery.cpp \
159 UIElements/Qt4/Query/UnsignedIntQtQuery.cpp \
160 UIElements/Qt4/Query/UnsignedIntsQtQuery.cpp \
161 UIElements/Qt4/Query/VectorQtQuery.cpp \
162 UIElements/Qt4/Query/VectorsQtQuery.cpp \
163 UIElements/Qt4/Query/RandomNumberDistribution_ParametersQtQuery.cpp \
164 UIElements/Qt4/QtMainWindow.cpp \
165 UIElements/Qt4/QtDialog.cpp \
166 UIElements/Qt4/QtUIFactory.cpp \
167 UIElements/Menu/Qt4/QtMenuPipe.cpp \
168 UIElements/Views/Qt4/QtElementList.cpp \
169 UIElements/Views/Qt4/QtHomologyList.cpp \
170 UIElements/Views/Qt4/QtInfoBox.cpp \
171 UIElements/Views/Qt4/QtMoleculeList.cpp \
172 UIElements/Views/Qt4/QtShapeController.cpp \
173 UIElements/Views/Qt4/QtShapeList.cpp \
174 UIElements/Views/Qt4/QtStatusBar.cpp \
175 UIElements/Views/Qt4/QtTimeLine.cpp \
176 UIElements/Views/Qt4/QtToolBar.cpp \
177 UIElements/Views/Qt4/Qt3D/GLWorldView.cpp \
178 UIElements/Views/Qt4/Qt3D/GLWorldScene.cpp \
179 UIElements/Views/Qt4/Qt3D/GLMoleculeObject.cpp \
180 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.cpp \
181 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.cpp \
182 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.cpp \
183 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_shape.cpp
184# UIElements/Views/Qt4/dialoglight.cpp
185
186QTUIMOC_HEADER = \
187 UIElements/Qt4/QtDialog.hpp \
188 UIElements/Qt4/QtMainWindow.hpp \
189 UIElements/Qt4/Query/QtQuery.hpp \
190 UIElements/Menu/Qt4/QtMenuPipe.hpp \
191 UIElements/Views/Qt4/QtElementList.hpp \
192 UIElements/Views/Qt4/QtHomologyList.hpp \
193 UIElements/Views/Qt4/QtInfoBox.hpp \
194 UIElements/Views/Qt4/QtMoleculeList.hpp \
195 UIElements/Views/Qt4/QtShapeController.hpp \
196 UIElements/Views/Qt4/QtShapeList.hpp \
197 UIElements/Views/Qt4/QtStatusBar.hpp \
198 UIElements/Views/Qt4/QtTimeLine.hpp \
199 UIElements/Views/Qt4/QtToolBar.hpp \
200 UIElements/Views/Qt4/Qt3D/GLWorldView.hpp \
201 UIElements/Views/Qt4/Qt3D/GLWorldScene.hpp \
202 UIElements/Views/Qt4/Qt3D/GLMoleculeObject.hpp \
203 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.hpp \
204 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.hpp \
205 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.hpp \
206 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_shape.hpp
207
208QTUIUI_UIFILES = \
209 UIElements/Views/Qt4/changeposition.ui \
210 UIElements/Views/Qt4/dialoglight.ui \
211 UIElements/Views/Qt4/dialoglight.ui.h
212
213QTUIHEADER = \
214 ${QTUIMOC_HEADER} \
215 UIElements/Menu/Qt4/QtMenu.hpp \
216 UIElements/Qt4/Query/QtQueryList.hpp \
217 UIElements/Qt4/QtUIFactory.hpp
218
219lib_LTLIBRARIES += libMolecuilderUI.la
220libMolecuilderUI_la_includedir = $(includedir)/MoleCuilder/
221libMolecuilderUI_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
222if CONDJOBMARKET
223libMolecuilderUI_la_CPPFLAGS += ${JobMarket_CFLAGS}
224endif
225libMolecuilderUI_la_LDFLAGS = \
226 $(AM_LDFLAGS) \
227 $(BOOST_FILESYSTEM_LDFLAGS) \
228 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
229 $(BOOST_RANDOM_LDFLAGS) \
230 $(BOOST_SERIALIZATION_LDFLAGS) \
231 $(BOOST_SYSTEM_LDFLAGS) \
232 $(BOOST_THREAD_LDFLAGS)
233
234if CONDJOBMARKET
235libMolecuilderUI_la_LDFLAGS += $(LEVMAR_LDFLAGS)
236endif
237
238# NOTE: ActionPrototypes BEFORE Actions!
239# this is to ensure that static Action prototypes are instantiated after
240# ActionRegistry is present.
241libMolecuilderUI_la_LIBADD =
242
243libMolecuilderUI_la_LIBADD += \
244 libMolecuilderActionPrototypes.la \
245 libMolecuilderActions.la \
246 libMolecuilderAnalysis.la \
247 libMolecuilderGraph.la \
248 libMolecuilderFilling.la \
249 libMolecuilder.la \
250 libMolecuilderFragmentationAutomation.la \
251 libMolecuilderFragmentation_getFromKeyset.la \
252 libMolecuilderFragmentation.la
253if CONDJOBMARKET
254libMolecuilderUI_la_LIBADD += \
255 libMolecuilderJobs.la \
256 ${JobMarket_Controller_LIBS}
257endif
258libMolecuilderUI_la_LIBADD += \
259 libMolecuilderFragmentationSummation.la \
260 libMolecuilderFragmentation_KeysetsContainer.la \
261 libMolecuilderParser.la \
262 libMolecuilderParameters.la \
263 libMolecuilderShapes.la \
264 libMolecuilderLinkedCell.la \
265 libMolecuilderAtom.la \
266 libMolecuilderHelpers.la \
267 libMolecuilderElement.la \
268 libMolecuilderRandomNumbers.la \
269 libMolecuilderPotentials.la \
270 libMolecuilderFunctionApproximation.la \
271 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
272 ${CodePatterns_LIBS} \
273 $(BOOST_SERIALIZATION_LIBS) \
274 $(BOOST_PROGRAM_OPTIONS_LIBS) \
275 $(BOOST_FILESYSTEM_LIBS) \
276 $(BOOST_SYSTEM_LIBS) \
277 $(BOOST_THREAD_LIBS)
278
279if CONDLEVMAR
280libMolecuilderUI_la_LIBADD += \
281 $(LEVMAR_LIBS) \
282 $(LAPACK_LIBS) $(BLAS_LIBS) $(LIBS) $(FLIBS)
283endif
284
285
286nobase_libMolecuilderUI_la_include_HEADERS = ${UIHEADER}
287
288## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
289## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
290## will therefore be treated as if it were literally part of the target name,
291## and the variable name derived from that.
292## The file extension .cc is recognized by Automake, and makes it produce
293## rules which invoke the C++ compiler to produce a libtool object file (.lo)
294## from each source file. Note that it is not necessary to list header files
295## which are already listed elsewhere in a _HEADERS variable assignment.
296libMolecuilderUI_la_SOURCES = \
297 ${UISOURCE} \
298 cleanUp.cpp \
299 cleanUp.hpp
300
301## Instruct libtool to include ABI version information in the generated shared
302## library file (.so). The library ABI version is defined in configure.ac, so
303## that all version information is kept in one place.
304libMolecuilderUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
305
306## The generated configuration header is installed in its own subdirectory of
307## $(libdir). The reason for this is that the configuration information put
308## into this header file describes the target platform the installed library
309## has been built for. Thus the file must not be installed into a location
310## intended for architecture-independent files, as defined by the Filesystem
311## Hierarchy Standard (FHS).
312## The nodist_ prefix instructs Automake to not generate rules for including
313## the listed files in the distribution on 'make dist'. Files that are listed
314## in _HEADERS variables are normally included in the distribution, but the
315## configuration header file is generated at configure time and should not be
316## shipped with the source tarball.
317#libMolecuilderUI_libincludedir = $(libdir)/MoleCuilder/include
318#nodist_libMolecuilderUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
319
320## Install the generated pkg-config file (.pc) into the expected location for
321## architecture-dependent package configuration information. Occasionally,
322## pkg-config files are also used for architecture-independent data packages,
323## in which case the correct install location would be $(datadir)/pkgconfig.
324#pkgconfigdir = $(libdir)/pkgconfig
325#pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
326
327if CONDQTGUI
328lib_LTLIBRARIES += libMolecuilderQtUI.la
329
330libMolecuilderQtUI_la_includedir = $(includedir)/MoleCuilder/
331libMolecuilderQtUI_la_CPPFLAGS = ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS}
332libMolecuilderQtUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
333
334libMolecuilderQtUI_la_LIBADD = \
335 ../data/icons/libicons.la \
336 ${QT_LIBS} \
337 -lQtOpenGL \
338 ${GLU_LIBS}
339
340##libMolecuilderQtUI_la_LDADD = \
341## ../data/icons/libicons.a
342
343nobase_libMolecuilderQtUI_la_include_HEADERS = ${QTUIHEADER} $(QTUIUI_UIFILES)
344libMolecuilderQtUI_la_SOURCES = ${QTUISOURCE}
345nodist_libMolecuilderQtUI_la_SOURCES =
346libMolecuilderQtUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
347#libMolecuilderQtUI_libincludedir = $(libdir)/MoleCuilder/include
348#nodist_libMolecuilderQtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
349
350BUILT_SOURCES += ui_dialoglight.h ui_changeposition.h
351
352nodist_libMolecuilderQtUI_la_SOURCES += moc_dialoglight.cpp moc_changeposition.cpp
353
354MOSTLYCLEANFILES += \
355 *.moc.cpp \
356 moc_*.cpp \
357 ui_*.h
358
359ui_dialoglight.h: UIElements/Views/Qt4/dialoglight.ui
360 $(QT_UIC) -o $@ $<
361
362ui_changeposition.h: UIElements/Views/Qt4/changeposition.ui
363 $(QT_UIC) -o $@ $<
364
365moc_dialoglight.cpp: ui_dialoglight.h
366 $(QT_MOC) -o $@ $<
367
368moc_changeposition.cpp: ui_changeposition.h
369 $(QT_MOC) -o $@ $<
370
371nodist_libMolecuilderQtUI_la_SOURCES += allmocs.moc.cpp
372
373#Rules needed for Qt4
374# UI-Files are scattered throughout several subdirectories
375# Therfore `%'-rules do not seem to work
376#Quick fix to get it done otherwise
377allmocs.moc.cpp: ${QTUIMOC_HEADER}
378 echo "" > allmocs.moc.cpp;\
379 list='$(QTUIMOC_HEADER)'; for header in $$list; do \
380 echo "Making mocfile for $$header"; \
381 target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
382 $(QT_MOC) $(srcdir)/$$header -o $$target \
383 || eval $$failcom; \
384 echo "#include \"$$target\"" >> allmocs.moc.cpp; \
385 done;
386
387endif
Note: See TracBrowser for help on using the repository browser.