source: src/UIElements/Makefile.am@ 8d5fbf1

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 8d5fbf1 was 15c8a9, checked in by Frederik Heber <heber@…>, 9 years ago

Added QtInstanceInformationBoard that handles ObservedValues through the QtGui interface.

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