source: src/UIElements/Makefile.am@ ff4fff9

CombiningParticlePotentialParsing
Last change on this file since ff4fff9 was b4bd0e, checked in by Frederik Heber <heber@…>, 9 years ago

Added QtObservedBond, managed by QtObservedInstanceBoard.

  • QtObservedBond is special because it observes not only a bond, but also two atoms and a molecule in total.
  • but the general idea is to rather have information duplicate, i.e. the left atom's position is also available via the QtObservedAtom. But in this way QtObservedBond does not depend on the QtObservedAtom being still or already present.
  • Property mode set to 100644
File size: 18.4 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/Qt4/InstanceBoard/ObservedValue_types.hpp \
147 UIElements/Qt4/InstanceBoard/ObservedValuesContainer.hpp \
148 UIElements/Qt4/InstanceBoard/ObservedValuesContainer_impl.hpp \
149 UIElements/Qt4/InstanceBoard/ObservedValue_wCallback.hpp
150
151QTUISOURCE = \
152 UIElements/Qt4/InstanceBoard/QtObservedAtom.cpp \
153 UIElements/Qt4/InstanceBoard/QtObservedBond.cpp \
154 UIElements/Qt4/InstanceBoard/QtObservedInstanceBoard.cpp \
155 UIElements/Qt4/InstanceBoard/QtObservedMolecule.cpp \
156 UIElements/Qt4/Query/AtomQtQuery.cpp \
157 UIElements/Qt4/Query/AtomsQtQuery.cpp \
158 UIElements/Qt4/Query/BooleanQtQuery.cpp \
159 UIElements/Qt4/Query/DoubleQtQuery.cpp \
160 UIElements/Qt4/Query/DoublesQtQuery.cpp \
161 UIElements/Qt4/Query/ElementQtQuery.cpp \
162 UIElements/Qt4/Query/ElementsQtQuery.cpp \
163 UIElements/Qt4/Query/EmptyQtQuery.cpp \
164 UIElements/Qt4/Query/FileQtQuery.cpp \
165 UIElements/Qt4/Query/FilesQtQuery.cpp \
166 UIElements/Qt4/Query/IntQtQuery.cpp \
167 UIElements/Qt4/Query/IntsQtQuery.cpp \
168 UIElements/Qt4/Query/MoleculeQtQuery.cpp \
169 UIElements/Qt4/Query/MoleculesQtQuery.cpp \
170 UIElements/Qt4/Query/QtQueryList.cpp \
171 UIElements/Qt4/Query/KeyValuePairQtQuery.cpp \
172 UIElements/Qt4/Query/KeyValuePairsQtQuery.cpp \
173 UIElements/Qt4/Query/RealSpaceMatrixQtQuery.cpp \
174 UIElements/Qt4/Query/StringQtQuery.cpp \
175 UIElements/Qt4/Query/StringsQtQuery.cpp \
176 UIElements/Qt4/Query/UnsignedIntQtQuery.cpp \
177 UIElements/Qt4/Query/UnsignedIntsQtQuery.cpp \
178 UIElements/Qt4/Query/VectorQtQuery.cpp \
179 UIElements/Qt4/Query/VectorsQtQuery.cpp \
180 UIElements/Qt4/QtMainWindow.cpp \
181 UIElements/Qt4/QtDialog.cpp \
182 UIElements/Qt4/QtUIFactory.cpp \
183 UIElements/Views/Qt4/ElementList/QtObservedAtomObserver.cpp \
184 UIElements/Views/Qt4/ElementList/QtElementList.cpp \
185 UIElements/Views/Qt4/MoleculeList/QtMoleculeItem.cpp \
186 UIElements/Views/Qt4/MoleculeList/QtMoleculeItemFactory.cpp \
187 UIElements/Views/Qt4/MoleculeList/QtMoleculeList.cpp \
188 UIElements/Views/Qt4/MoleculeList/QtMoleculeListView.cpp \
189 UIElements/Views/Qt4/MoleculeList/QtObservedMoleculeObserver.cpp \
190 UIElements/Menu/Qt4/QtMenuPipe.cpp \
191 UIElements/Views/Qt4/QtFragmentList.cpp \
192 UIElements/Views/Qt4/QtHomologyList.cpp \
193 UIElements/Views/Qt4/QtInfoBox.cpp \
194 UIElements/Views/Qt4/QtLogBox.cpp \
195 UIElements/Views/Qt4/QtShapeController.cpp \
196 UIElements/Views/Qt4/QtShapeList.cpp \
197 UIElements/Views/Qt4/QtStatusBar.cpp \
198 UIElements/Views/Qt4/QtTimeLine.cpp \
199 UIElements/Views/Qt4/QtToolBar.cpp \
200 UIElements/Views/Qt4/QtToolBar_QtFavoriteActions.cpp \
201 UIElements/Views/Qt4/Qt3D/GLWorldView.cpp \
202 UIElements/Views/Qt4/Qt3D/GLWorldScene.cpp \
203 UIElements/Views/Qt4/Qt3D/GLMoleculeObject.cpp \
204 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.cpp \
205 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.cpp \
206 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.cpp \
207 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_shape.cpp
208# UIElements/Views/Qt4/dialoglight.cpp
209
210QTUIMOC_HEADER = \
211 UIElements/Qt4/InstanceBoard/QtObservedAtom.hpp \
212 UIElements/Qt4/InstanceBoard/QtObservedBond.hpp \
213 UIElements/Qt4/InstanceBoard/QtObservedInstanceBoard.hpp \
214 UIElements/Qt4/InstanceBoard/QtObservedMolecule.hpp \
215 UIElements/Qt4/QtDialog.hpp \
216 UIElements/Qt4/QtMainWindow.hpp \
217 UIElements/Qt4/Query/QtQuery.hpp \
218 UIElements/Menu/Qt4/QMenu_tooltip.hpp \
219 UIElements/Menu/Qt4/QtMenuPipe.hpp \
220 UIElements/Views/Qt4/ElementList/QtObservedAtomObserver.hpp \
221 UIElements/Views/Qt4/ElementList/QtElementList.hpp \
222 UIElements/Views/Qt4/MoleculeList/QtMoleculeList.hpp \
223 UIElements/Views/Qt4/MoleculeList/QtMoleculeListView.hpp \
224 UIElements/Views/Qt4/MoleculeList/QtObservedMoleculeObserver.hpp \
225 UIElements/Views/Qt4/QtFragmentList.hpp \
226 UIElements/Views/Qt4/QtHomologyList.hpp \
227 UIElements/Views/Qt4/QtInfoBox.hpp \
228 UIElements/Views/Qt4/QtLogBox.hpp \
229 UIElements/Views/Qt4/QtShapeController.hpp \
230 UIElements/Views/Qt4/QtShapeList.hpp \
231 UIElements/Views/Qt4/QtStatusBar.hpp \
232 UIElements/Views/Qt4/QtTimeLine.hpp \
233 UIElements/Views/Qt4/QtToolBar.hpp \
234 UIElements/Views/Qt4/Qt3D/GLWorldView.hpp \
235 UIElements/Views/Qt4/Qt3D/GLWorldScene.hpp \
236 UIElements/Views/Qt4/Qt3D/GLMoleculeObject.hpp \
237 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.hpp \
238 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.hpp \
239 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.hpp \
240 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_shape.hpp \
241 UIElements/Views/Qt4/QDebugStream.hpp
242
243QTUIUI_UIFILES = \
244 UIElements/Views/Qt4/changeposition.ui \
245 UIElements/Views/Qt4/dialoglight.ui \
246 UIElements/Views/Qt4/dialoglight.ui.h
247
248QTUIHEADER = \
249 ${QTUIMOC_HEADER} \
250 UIElements/Menu/Qt4/QtMenu.hpp \
251 UIElements/Qt4/Query/QtQueryList.hpp \
252 UIElements/Qt4/QtUIFactory.hpp \
253 UIElements/Views/Qt4/MoleculeList/QtMoleculeItem.hpp \
254 UIElements/Views/Qt4/MoleculeList/QtMoleculeItemFactory.hpp \
255 UIElements/Views/Qt4/MoleculeList/SpecificItems/QtMoleculeItem_atomcount.hpp \
256 UIElements/Views/Qt4/MoleculeList/SpecificItems/QtMoleculeItem_formula.hpp \
257 UIElements/Views/Qt4/MoleculeList/SpecificItems/QtMoleculeItem_name.hpp \
258 UIElements/Views/Qt4/MoleculeList/SpecificItems/QtMoleculeItem_occurrence.hpp \
259 UIElements/Views/Qt4/MoleculeList/SpecificItems/QtMoleculeItem_visibility.hpp
260
261lib_LTLIBRARIES += libMolecuilderUI.la
262libMolecuilderUI_la_includedir = $(includedir)/MoleCuilder/
263libMolecuilderUI_la_CPPFLAGS = $(AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
264if CONDJOBMARKET
265libMolecuilderUI_la_CPPFLAGS += ${JobMarket_CFLAGS}
266endif
267libMolecuilderUI_la_LDFLAGS = \
268 $(AM_LDFLAGS) \
269 $(BOOST_FILESYSTEM_LDFLAGS) \
270 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
271 $(BOOST_RANDOM_LDFLAGS) \
272 $(BOOST_SERIALIZATION_LDFLAGS) \
273 $(BOOST_SYSTEM_LDFLAGS) \
274 $(BOOST_THREAD_LDFLAGS)
275
276if CONDJOBMARKET
277libMolecuilderUI_la_LDFLAGS += $(LEVMAR_LDFLAGS)
278endif
279
280# NOTE: ActionPrototypes BEFORE Actions!
281# this is to ensure that static Action prototypes are instantiated after
282# ActionRegistry is present.
283libMolecuilderUI_la_LIBADD =
284
285libMolecuilderUI_la_LIBADD += \
286 libMolecuilderActionPrototypes.la \
287 libMolecuilderActions.la \
288 libMolecuilderAnalysis.la \
289 libMolecuilderGraph.la \
290 libMolecuilderFilling.la \
291 libMolecuilder.la \
292 libMolecuilderFragmentationAutomation.la \
293 libMolecuilderFragmentation_getFromKeyset.la \
294 libMolecuilderFragmentation.la \
295 libMolecuilderJobs.la
296
297if CONDJOBMARKET
298libMolecuilderUI_la_LIBADD += \
299 ${JobMarket_Controller_LIBS}
300endif
301
302libMolecuilderUI_la_LIBADD += \
303 libMolecuilderFragmentationSummation.la \
304 libMolecuilderFragmentation_KeysetsContainer.la \
305 libMolecuilderParser.la \
306 libMolecuilderParameters.la \
307 libMolecuilderShapes.la \
308 libMolecuilderLinkedCell.la \
309 libMolecuilderAtom.la \
310 libMolecuilderHelpers.la \
311 libMolecuilderElement.la \
312 libMolecuilderRandomNumbers.la \
313 libMolecuilderPotentials.la \
314 libMolecuilderFunctionApproximation.la
315
316if CONDPYTHON
317libMolecuilderUI_la_LIBADD += \
318 libMolecuilderPython.la
319endif
320
321libMolecuilderUI_la_LIBADD += \
322 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
323 ${CodePatterns_LIBS} \
324 $(BOOST_SERIALIZATION_LIBS) \
325 $(BOOST_PROGRAM_OPTIONS_LIBS) \
326 $(BOOST_FILESYSTEM_LIBS) \
327 $(BOOST_SYSTEM_LIBS) \
328 $(BOOST_THREAD_LIBS)
329
330
331if CONDLEVMAR
332libMolecuilderUI_la_LIBADD += \
333 $(LEVMAR_LIBS) \
334 $(LAPACK_LIBS) $(BLAS_LIBS) $(LIBS) $(FLIBS)
335endif
336
337
338nobase_libMolecuilderUI_la_include_HEADERS = ${UIHEADER}
339
340## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
341## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
342## will therefore be treated as if it were literally part of the target name,
343## and the variable name derived from that.
344## The file extension .cc is recognized by Automake, and makes it produce
345## rules which invoke the C++ compiler to produce a libtool object file (.lo)
346## from each source file. Note that it is not necessary to list header files
347## which are already listed elsewhere in a _HEADERS variable assignment.
348libMolecuilderUI_la_SOURCES = \
349 ${UISOURCE} \
350 cleanUp.cpp \
351 cleanUp.hpp
352
353## Instruct libtool to include ABI version information in the generated shared
354## library file (.so). The library ABI version is defined in configure.ac, so
355## that all version information is kept in one place.
356libMolecuilderUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
357
358## The generated configuration header is installed in its own subdirectory of
359## $(libdir). The reason for this is that the configuration information put
360## into this header file describes the target platform the installed library
361## has been built for. Thus the file must not be installed into a location
362## intended for architecture-independent files, as defined by the Filesystem
363## Hierarchy Standard (FHS).
364## The nodist_ prefix instructs Automake to not generate rules for including
365## the listed files in the distribution on 'make dist'. Files that are listed
366## in _HEADERS variables are normally included in the distribution, but the
367## configuration header file is generated at configure time and should not be
368## shipped with the source tarball.
369libMolecuilderUI_libincludedir = $(libdir)/MoleCuilder/include
370nodist_libMolecuilderUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
371
372if CONDQTGUI
373lib_LTLIBRARIES += libMolecuilderQtUI.la
374
375libMolecuilderQtUI_la_includedir = $(includedir)/MoleCuilder/
376libMolecuilderQtUI_la_CPPFLAGS = $(AM_CPPFLAGS) ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} $(mol_ac_qwt_cxxflags)
377libMolecuilderQtUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(mol_ac_qwt_ldflags)
378
379libMolecuilderQtUI_la_LIBADD =
380if CONDQWT
381libMolecuilderQtUI_la_LIBADD += \
382 libMolecuilderQwtUI.la
383endif
384
385libMolecuilderQtUI_la_LIBADD += \
386 ../data/icons/libicons.la \
387 ${QT_LIBS} \
388 -lQtOpenGL \
389 ${GLU_LIBS}
390
391##libMolecuilderQtUI_la_LDADD = \
392## ../data/icons/libicons.a
393
394nobase_libMolecuilderQtUI_la_include_HEADERS = ${QTUIHEADER} $(QTUIUI_UIFILES)
395
396## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
397## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
398## will therefore be treated as if it were literally part of the target name,
399## and the variable name derived from that.
400## The file extension .cc is recognized by Automake, and makes it produce
401## rules which invoke the C++ compiler to produce a libtool object file (.lo)
402## from each source file. Note that it is not necessary to list header files
403## which are already listed elsewhere in a _HEADERS variable assignment.
404libMolecuilderQtUI_la_SOURCES = ${QTUISOURCE}
405nodist_libMolecuilderQtUI_la_SOURCES =
406
407## Instruct libtool to include ABI version information in the generated shared
408## library file (.so). The library ABI version is defined in configure.ac, so
409## that all version information is kept in one place.
410libMolecuilderQtUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
411
412## The generated configuration header is installed in its own subdirectory of
413## $(libdir). The reason for this is that the configuration information put
414## into this header file describes the target platform the installed library
415## has been built for. Thus the file must not be installed into a location
416## intended for architecture-independent files, as defined by the Filesystem
417## Hierarchy Standard (FHS).
418## The nodist_ prefix instructs Automake to not generate rules for including
419## the listed files in the distribution on 'make dist'. Files that are listed
420## in _HEADERS variables are normally included in the distribution, but the
421## configuration header file is generated at configure time and should not be
422## shipped with the source tarball.
423libMolecuilderQtUI_libincludedir = $(libdir)/MoleCuilder/include
424nodist_libMolecuilderQtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
425
426BUILT_SOURCES += ui_dialoglight.h ui_changeposition.h
427
428nodist_libMolecuilderQtUI_la_SOURCES += moc_dialoglight.cpp moc_changeposition.cpp
429
430MOSTLYCLEANFILES += \
431 *.moc.cpp \
432 moc_*.cpp \
433 ui_*.h
434
435ui_dialoglight.h: UIElements/Views/Qt4/dialoglight.ui
436 $(QT_UIC) -o $@ $<
437
438ui_changeposition.h: UIElements/Views/Qt4/changeposition.ui
439 $(QT_UIC) -o $@ $<
440
441moc_dialoglight.cpp: ui_dialoglight.h
442 $(QT_MOC) -o $@ $<
443
444moc_changeposition.cpp: ui_changeposition.h
445 $(QT_MOC) -o $@ $<
446
447nodist_libMolecuilderQtUI_la_SOURCES += allmocs.moc.cpp
448
449#Rules needed for Qt4
450# UI-Files are scattered throughout several subdirectories
451# Therfore `%'-rules do not seem to work
452#Quick fix to get it done otherwise
453allmocs.moc.cpp: ${QTUIMOC_HEADER}
454 echo "" > allmocs.moc.cpp;\
455 list='${QTUIMOC_HEADER}'; for header in $$list; do \
456 echo "Making mocfile for $$header"; \
457 target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
458 $(QT_MOC) $(srcdir)/$$header -o $$target \
459 || eval $$failcom; \
460 echo "#include \"$$target\"" >> allmocs.moc.cpp; \
461 done;
462
463endif
Note: See TracBrowser for help on using the repository browser.