source: src/UIElements/Makefile.am@ 36053c

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 36053c was cb32aa, checked in by Frederik Heber <heber@…>, 11 years ago

DISTFIX: libMolecuilderFragmentationAutomation.la was included without CONDJOBMARKET.

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