source: src/UIElements/Makefile.am@ 99e8ea

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 99e8ea was 2aafe8, checked in by Michael Ankele <ankele@…>, 13 years ago

Fix: StringsQtQuery works

  • created StringsQtQueryPipe as its own class so moc can operate without template'ized classes
  • Property mode set to 100644
File size: 16.1 KB
RevLine 
[5079a0]1# Below is all for the User Interface
2
[455573]3COMMANDLINEUISOURCE = \
[4cf35ac]4 UIElements/CommandLineUI/Query/AtomCommandLineQuery.cpp \
5 UIElements/CommandLineUI/Query/AtomsCommandLineQuery.cpp \
[455573]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 \
[2c5765]13 UIElements/CommandLineUI/Query/FilesCommandLineQuery.cpp \
[455573]14 UIElements/CommandLineUI/Query/IntCommandLineQuery.cpp \
15 UIElements/CommandLineUI/Query/IntsCommandLineQuery.cpp \
16 UIElements/CommandLineUI/Query/MoleculeCommandLineQuery.cpp \
17 UIElements/CommandLineUI/Query/MoleculesCommandLineQuery.cpp \
[7d9416]18 UIElements/CommandLineUI/Query/RealSpaceMatrixCommandLineQuery.cpp \
[455573]19 UIElements/CommandLineUI/Query/StringCommandLineQuery.cpp \
20 UIElements/CommandLineUI/Query/StringsCommandLineQuery.cpp \
[838cd0]21 UIElements/CommandLineUI/Query/UnsignedIntCommandLineQuery.cpp \
[12948c]22 UIElements/CommandLineUI/Query/UnsignedIntsCommandLineQuery.cpp \
[455573]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
[5079a0]43
44MENUSOURCE = \
[455573]45 UIElements/Menu/Menu.cpp \
46 UIElements/Menu/MenuDescription.cpp \
47 UIElements/Menu/MenuInterface.cpp
[b59da6]48
[5079a0]49MENUHEADER = \
[455573]50 UIElements/Menu/Menu.hpp \
51 UIElements/Menu/MenuDescription.hpp \
52 UIElements/Menu/MenuInterface.hpp
[b59da6]53
54TEXTMENUSOURCE = \
[455573]55 UIElements/Menu/TextMenu/ActionMenuItem.cpp \
[4cf35ac]56 UIElements/Menu/TextMenu/DisplayMenuItem.cpp \
57 UIElements/Menu/TextMenu/MenuItem.cpp \
[455573]58 UIElements/Menu/TextMenu/SeparatorMenuItem.cpp \
[4cf35ac]59 UIElements/Menu/TextMenu/SubMenuItem.cpp \
60 UIElements/Menu/TextMenu/TxMenu.cpp \
61 UIElements/Menu/TextMenu/TxMenuLeaveAction.cpp
[b59da6]62
63TEXTMENUHEADER = \
[455573]64 UIElements/Menu/TextMenu/ActionMenuItem.hpp \
[4cf35ac]65 UIElements/Menu/TextMenu/DisplayMenuItem.hpp \
66 UIElements/Menu/TextMenu/MenuItem.hpp \
[455573]67 UIElements/Menu/TextMenu/SeparatorMenuItem.hpp \
[4cf35ac]68 UIElements/Menu/TextMenu/SubMenuItem.hpp \
69 UIElements/Menu/TextMenu/TextMenu.hpp \
70 UIElements/Menu/TextMenu/TxMenu.hpp \
71 UIElements/Menu/TextMenu/TxMenuLeaveAction.hpp
[455573]72
73TEXTUISOURCE = \
74 UIElements/TextUI/Query/AtomsTextQuery.cpp \
75 UIElements/TextUI/Query/AtomTextQuery.cpp \
76 UIElements/TextUI/Query/BooleanTextQuery.cpp \
77 UIElements/TextUI/Query/DoubleTextQuery.cpp \
78 UIElements/TextUI/Query/DoublesTextQuery.cpp \
79 UIElements/TextUI/Query/ElementTextQuery.cpp \
80 UIElements/TextUI/Query/ElementsTextQuery.cpp \
81 UIElements/TextUI/Query/EmptyTextQuery.cpp \
82 UIElements/TextUI/Query/FileTextQuery.cpp \
[2c5765]83 UIElements/TextUI/Query/FilesTextQuery.cpp \
[455573]84 UIElements/TextUI/Query/IntTextQuery.cpp \
85 UIElements/TextUI/Query/IntsTextQuery.cpp \
86 UIElements/TextUI/Query/MoleculesTextQuery.cpp \
87 UIElements/TextUI/Query/MoleculeTextQuery.cpp \
[7d9416]88 UIElements/TextUI/Query/RealSpaceMatrixTextQuery.cpp \
[455573]89 UIElements/TextUI/Query/StringTextQuery.cpp \
90 UIElements/TextUI/Query/StringsTextQuery.cpp \
[838cd0]91 UIElements/TextUI/Query/UnsignedIntTextQuery.cpp \
[12948c]92 UIElements/TextUI/Query/UnsignedIntsTextQuery.cpp \
[455573]93 UIElements/TextUI/Query/VectorTextQuery.cpp \
94 UIElements/TextUI/Query/VectorsTextQuery.cpp \
95 UIElements/TextUI/Query/RandomNumberDistribution_ParametersTextQuery.cpp \
96 UIElements/TextUI/TextDialog.cpp \
97 UIElements/TextUI/TextStatusIndicator.cpp \
98 UIElements/TextUI/TextUIFactory.cpp \
99 UIElements/TextUI/TextWindow.cpp
100TEXTUIHEADER = \
101 UIElements/TextUI/Query/TextQuery.hpp \
102 UIElements/TextUI/TextDialog.hpp \
103 UIElements/TextUI/TextStatusIndicator.hpp \
104 UIElements/TextUI/TextUIFactory.hpp \
105 UIElements/TextUI/TextWindow.hpp
106
107VIEWSOURCE = \
108 UIElements/Views/View.cpp \
109 UIElements/Views/StringView.cpp \
110 UIElements/Views/MethodStringView.cpp \
111 UIElements/Views/StreamStringView.cpp
112VIEWHEADER = \
113 UIElements/Views/View.hpp \
114 UIElements/Views/StringView.hpp \
115 UIElements/Views/MethodStringView.hpp \
116 UIElements/Views/StreamStringView.hpp
[5079a0]117
118UISOURCE = \
119 ${COMMANDLINEUISOURCE} \
120 ${MENUSOURCE} \
[b59da6]121 ${TEXTMENUSOURCE} \
[5079a0]122 ${TEXTUISOURCE} \
123 ${VIEWSOURCE} \
[455573]124 UIElements/Query/AtomQuery.cpp \
125 UIElements/Query/AtomsQuery.cpp \
126 UIElements/Query/BooleanQuery.cpp \
127 UIElements/Query/DoubleQuery.cpp \
128 UIElements/Query/DoublesQuery.cpp \
129 UIElements/Query/ElementQuery.cpp \
130 UIElements/Query/ElementsQuery.cpp \
131 UIElements/Query/EmptyQuery.cpp \
132 UIElements/Query/FileQuery.cpp \
[2c5765]133 UIElements/Query/FilesQuery.cpp \
[455573]134 UIElements/Query/IntQuery.cpp \
135 UIElements/Query/IntsQuery.cpp \
136 UIElements/Query/MoleculeQuery.cpp \
137 UIElements/Query/MoleculesQuery.cpp \
138 UIElements/Query/Query.cpp \
139 UIElements/Query/RandomNumberDistribution_ParametersQuery.cpp \
[7d9416]140 UIElements/Query/RealSpaceMatrixQuery.cpp \
[455573]141 UIElements/Query/StringQuery.cpp \
142 UIElements/Query/StringsQuery.cpp \
[838cd0]143 UIElements/Query/UnsignedIntQuery.cpp \
[12948c]144 UIElements/Query/UnsignedIntsQuery.cpp \
[455573]145 UIElements/Query/VectorQuery.cpp \
146 UIElements/Query/VectorsQuery.cpp \
147 UIElements/Dialog.cpp \
148 UIElements/MainWindow.cpp
[5079a0]149
150UIHEADER = \
151 ${COMMANDLINEUIHEADER} \
152 ${MENUHEADER} \
[b59da6]153 ${TEXTMENUHEADER} \
[5079a0]154 ${TEXTUIHEADER} \
155 ${VIEWHEADER} \
[455573]156 UIElements/Dialog.hpp \
157 UIElements/MainWindow.hpp
[5079a0]158
[455573]159QTUISOURCE = \
160 UIElements/Qt4/Pipe/AtomQtQueryPipe.cpp \
161 UIElements/Qt4/Pipe/AtomsQtQueryPipe.cpp \
162 UIElements/Qt4/Pipe/BooleanQtQueryPipe.cpp \
163 UIElements/Qt4/Pipe/DoubleQtQueryPipe.cpp \
164 UIElements/Qt4/Pipe/ElementsQtQueryPipe.cpp \
165 UIElements/Qt4/Pipe/EmptyQtQueryPipe.cpp \
166 UIElements/Qt4/Pipe/ElementQtQueryPipe.cpp \
167 UIElements/Qt4/Pipe/FileQtQueryPipe.cpp \
168 UIElements/Qt4/Pipe/IntQtQueryPipe.cpp \
169 UIElements/Qt4/Pipe/MoleculeQtQueryPipe.cpp \
170 UIElements/Qt4/Pipe/MoleculesQtQueryPipe.cpp \
171 UIElements/Qt4/Pipe/StringQtQueryPipe.cpp \
[838cd0]172 UIElements/Qt4/Pipe/UnsignedIntQtQueryPipe.cpp \
[455573]173 UIElements/Qt4/Pipe/VectorQtQueryPipe.cpp \
174 UIElements/Qt4/Pipe/VectorsQtQueryPipe.cpp \
[4cf35ac]175 UIElements/Qt4/Pipe/RandomNumberDistribution_ParametersQtQueryPipe.cpp \
[7d9416]176 UIElements/Qt4/Pipe/RealSpaceMatrixQtQueryPipe.cpp \
[455573]177 UIElements/Qt4/Query/AtomQtQuery.cpp \
178 UIElements/Qt4/Query/AtomsQtQuery.cpp \
179 UIElements/Qt4/Query/BooleanQtQuery.cpp \
180 UIElements/Qt4/Query/DoubleQtQuery.cpp \
181 UIElements/Qt4/Query/DoublesQtQuery.cpp \
182 UIElements/Qt4/Query/ElementQtQuery.cpp \
183 UIElements/Qt4/Query/ElementsQtQuery.cpp \
184 UIElements/Qt4/Query/EmptyQtQuery.cpp \
185 UIElements/Qt4/Query/FileQtQuery.cpp \
[2c5765]186 UIElements/Qt4/Query/FilesQtQuery.cpp \
[455573]187 UIElements/Qt4/Query/IntQtQuery.cpp \
188 UIElements/Qt4/Query/IntsQtQuery.cpp \
189 UIElements/Qt4/Query/MoleculeQtQuery.cpp \
190 UIElements/Qt4/Query/MoleculesQtQuery.cpp \
[7d9416]191 UIElements/Qt4/Query/RealSpaceMatrixQtQuery.cpp \
[455573]192 UIElements/Qt4/Query/StringQtQuery.cpp \
193 UIElements/Qt4/Query/StringsQtQuery.cpp \
[838cd0]194 UIElements/Qt4/Query/UnsignedIntQtQuery.cpp \
[12948c]195 UIElements/Qt4/Query/UnsignedIntsQtQuery.cpp \
[455573]196 UIElements/Qt4/Query/VectorQtQuery.cpp \
197 UIElements/Qt4/Query/VectorsQtQuery.cpp \
[4cf35ac]198 UIElements/Qt4/Query/RandomNumberDistribution_ParametersQtQuery.cpp \
199 UIElements/Qt4/QtMainWindow.cpp \
200 UIElements/Qt4/QtDialog.cpp \
201 UIElements/Qt4/QtUIFactory.cpp \
202 UIElements/Menu/Qt4/QtMenuPipe.cpp \
203 UIElements/Views/Qt4/QtWorldView.cpp \
204 UIElements/Views/Qt4/QtMoleculeView.cpp \
[0e6156]205 UIElements/Views/Qt4/QtElementList.cpp \
[d238e7]206 UIElements/Views/Qt4/QtStatusBar.cpp \
[7641d4]207 UIElements/Views/Qt4/QtToolBar.cpp \
[907636]208 UIElements/Views/Qt4/Qt3D/GLWorldView.cpp \
209 UIElements/Views/Qt4/Qt3D/GLWorldScene.cpp \
210 UIElements/Views/Qt4/Qt3D/GLMoleculeObject.cpp \
211 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.cpp \
[c67518]212 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.cpp \
213 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.cpp
[29daad]214# UIElements/Views/Qt4/dialoglight.cpp
[455573]215
[1e0861]216QTUIMOC_HEADER = \
[4cf35ac]217 UIElements/Qt4/QtDialog.hpp \
218 UIElements/Qt4/QtMainWindow.hpp \
[455573]219 UIElements/Qt4/Pipe/AtomQtQueryPipe.hpp \
220 UIElements/Qt4/Pipe/AtomsQtQueryPipe.hpp \
221 UIElements/Qt4/Pipe/BooleanQtQueryPipe.hpp \
222 UIElements/Qt4/Pipe/DoubleQtQueryPipe.hpp \
[4cf35ac]223 UIElements/Qt4/Pipe/ElementQtQueryPipe.hpp \
[455573]224 UIElements/Qt4/Pipe/ElementsQtQueryPipe.hpp \
225 UIElements/Qt4/Pipe/EmptyQtQueryPipe.hpp \
226 UIElements/Qt4/Pipe/FileQtQueryPipe.hpp \
227 UIElements/Qt4/Pipe/IntQtQueryPipe.hpp \
228 UIElements/Qt4/Pipe/MoleculeQtQueryPipe.hpp \
229 UIElements/Qt4/Pipe/MoleculesQtQueryPipe.hpp \
[2aafe8]230 UIElements/Qt4/Pipe/QtQueryListPipe.hpp \
[4cf35ac]231 UIElements/Qt4/Pipe/RandomNumberDistribution_ParametersQtQueryPipe.hpp \
[7d9416]232 UIElements/Qt4/Pipe/RealSpaceMatrixQtQueryPipe.hpp \
[455573]233 UIElements/Qt4/Pipe/StringQtQueryPipe.hpp \
[838cd0]234 UIElements/Qt4/Pipe/UnsignedIntQtQueryPipe.hpp \
[455573]235 UIElements/Qt4/Pipe/VectorQtQueryPipe.hpp \
236 UIElements/Qt4/Pipe/VectorsQtQueryPipe.hpp \
[4cf35ac]237 UIElements/Menu/Qt4/QtMenuPipe.hpp \
238 UIElements/Views/Qt4/QtWorldView.hpp \
239 UIElements/Views/Qt4/QtMoleculeView.hpp \
[0e6156]240 UIElements/Views/Qt4/QtElementList.hpp \
[d238e7]241 UIElements/Views/Qt4/QtStatusBar.hpp \
[7641d4]242 UIElements/Views/Qt4/QtToolBar.hpp \
[907636]243 UIElements/Views/Qt4/Qt3D/GLWorldView.hpp \
244 UIElements/Views/Qt4/Qt3D/GLWorldScene.hpp \
[a08d3c0]245 UIElements/Views/Qt4/Qt3D/GLMoleculeObject.hpp \
[907636]246 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.hpp \
[c67518]247 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.hpp \
248 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.hpp
[29daad]249
[bcedf7]250QTUIUI_UIFILES = \
251 UIElements/Views/Qt4/changeposition.ui \
252 UIElements/Views/Qt4/dialoglight.ui \
253 UIElements/Views/Qt4/dialoglight.ui.h
[29daad]254
[1e0861]255QTUIHEADER = \
256 ${QTUIMOC_HEADER} \
[4cf35ac]257 UIElements/Menu/Qt4/QtMenu.hpp \
258 UIElements/Qt4/Query/QtQuery.hpp \
[455573]259 UIElements/Qt4/QtUIFactory.hpp \
[4cf35ac]260 UIElements/Qt4/Pipe/QtQueryPipe.hpp \
[455573]261 UIElements/Qt4/Pipe/QtQueryListPipe.hpp
[1e0861]262
[c015b3]263lib_LTLIBRARIES += libMolecuilderUI.la
[e5bf2b]264libMolecuilderUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
[004d5c]265libMolecuilderUI_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
266if CONDJOBMARKET
267libMolecuilderUI_la_CPPFLAGS += ${JobMarket_CFLAGS}
268endif
269libMolecuilderUI_la_LDFLAGS = \
270 $(AM_LDFLAGS) \
271 $(BOOST_FILESYSTEM_LDFLAGS) \
272 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
273 $(BOOST_RANDOM_LDFLAGS) \
[8a4b88]274 $(BOOST_SERIALIZATION_LDFLAGS) \
[004d5c]275 $(BOOST_SYSTEM_LDFLAGS) \
276 $(BOOST_THREAD_LDFLAGS)
[c015b3]277
[455573]278# NOTE: ActionPrototypes BEFORE Actions!
279# this is to ensure that static Action prototypes are instantiated after
280# ActionRegistry is present.
[8a4b88]281libMolecuilderUI_la_LIBADD =
282
283if CONDJOBMARKET
284libMolecuilderUI_la_LIBADD += \
285 libMolecuilderJobs.la \
286 ${JobMarket_Controller_LIBS}
287endif
288libMolecuilderUI_la_LIBADD += \
[455573]289 libMolecuilderActionPrototypes.la \
290 libMolecuilderActions.la \
[9b5a2c]291 libMolecuilderAnalysis.la \
[455573]292 libMolecuilderGraph.la \
[a88452]293 libMolecuilderFilling.la \
[455573]294 libMolecuilder.la \
[a9b86d]295 libMolecuilderFragmentation.la \
[455573]296 libMolecuilderParser.la \
[8453b3]297 libMolecuilderParameters.la \
[455573]298 libMolecuilderShapes.la \
[91f592]299 libMolecuilderLinkedCell.la \
[6f0841]300 libMolecuilderAtom.la \
[2fadb6f]301 libMolecuilderHelpers.la \
[3bdb6d]302 libMolecuilderElement.la \
[004d5c]303 libMolecuilderRandomNumbers.la
304libMolecuilderUI_la_LIBADD += \
[8a4b88]305 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[f08ae7]306 ${CodePatterns_LIBS} \
[785218]307 $(BOOST_SERIALIZATION_LIBS) \
308 $(BOOST_PROGRAM_OPTIONS_LIBS) \
309 $(BOOST_FILESYSTEM_LIBS) \
310 $(BOOST_SYSTEM_LIBS) \
311 $(BOOST_THREAD_LIBS)
[79de12]312
[e5bf2b]313nobase_libMolecuilderUI_la_include_HEADERS = ${UIHEADER}
[b37436]314
315## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
316## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
317## will therefore be treated as if it were literally part of the target name,
318## and the variable name derived from that.
319## The file extension .cc is recognized by Automake, and makes it produce
320## rules which invoke the C++ compiler to produce a libtool object file (.lo)
321## from each source file. Note that it is not necessary to list header files
322## which are already listed elsewhere in a _HEADERS variable assignment.
[acbe1b]323libMolecuilderUI_la_SOURCES = ${UISOURCE}
[b37436]324
325## Instruct libtool to include ABI version information in the generated shared
326## library file (.so). The library ABI version is defined in configure.ac, so
327## that all version information is kept in one place.
[79de12]328libMolecuilderUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
[b37436]329
330## The generated configuration header is installed in its own subdirectory of
331## $(libdir). The reason for this is that the configuration information put
332## into this header file describes the target platform the installed library
333## has been built for. Thus the file must not be installed into a location
334## intended for architecture-independent files, as defined by the Filesystem
335## Hierarchy Standard (FHS).
336## The nodist_ prefix instructs Automake to not generate rules for including
337## the listed files in the distribution on 'make dist'. Files that are listed
338## in _HEADERS variables are normally included in the distribution, but the
339## configuration header file is generated at configure time and should not be
340## shipped with the source tarball.
[acbe1b]341#libMolecuilderUI_libincludedir = $(libdir)/MoleCuilder/include
342#nodist_libMolecuilderUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
[b37436]343
344## Install the generated pkg-config file (.pc) into the expected location for
345## architecture-dependent package configuration information. Occasionally,
346## pkg-config files are also used for architecture-independent data packages,
347## in which case the correct install location would be $(datadir)/pkgconfig.
[acbe1b]348#pkgconfigdir = $(libdir)/pkgconfig
349#pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
[5079a0]350
[c015b3]351if CONDQTGUI
352lib_LTLIBRARIES += libMolecuilderQtUI.la
[29daad]353
[c015b3]354libMolecuilderQtUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
[004d5c]355libMolecuilderQtUI_la_CPPFLAGS = ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS}
[c015b3]356libMolecuilderQtUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
357
358libMolecuilderQtUI_la_LIBADD = \
359 ${QT_LIBS} \
360 -lQtOpenGL \
361 ${GLU_LIBS}
[29daad]362
[c015b3]363nobase_libMolecuilderQtUI_la_include_HEADERS = ${QTUIHEADER} $(QTUIUI_UIFILES)
364libMolecuilderQtUI_la_SOURCES = ${QTUISOURCE}
365nodist_libMolecuilderQtUI_la_SOURCES =
366libMolecuilderQtUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
367#libMolecuilderQtUI_libincludedir = $(libdir)/MoleCuilder/include
368#nodist_libMolecuilderQtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
369
370BUILT_SOURCES += ui_dialoglight.h ui_changeposition.h
[29daad]371
372nodist_libMolecuilderQtUI_la_SOURCES += moc_dialoglight.cpp moc_changeposition.cpp
373
[c015b3]374MOSTLYCLEANFILES += \
375 *.moc.cpp \
376 moc_*.cpp \
377 ui_*.h
[29daad]378
379ui_dialoglight.h: UIElements/Views/Qt4/dialoglight.ui
[060ba4]380 $(QT_UIC) -o $@ $<
[29daad]381
382ui_changeposition.h: UIElements/Views/Qt4/changeposition.ui
[060ba4]383 $(QT_UIC) -o $@ $<
[29daad]384
385moc_dialoglight.cpp: ui_dialoglight.h
[060ba4]386 $(QT_MOC) -o $@ $<
[29daad]387
388moc_changeposition.cpp: ui_changeposition.h
[060ba4]389 $(QT_MOC) -o $@ $<
390
391nodist_libMolecuilderQtUI_la_SOURCES += allmocs.moc.cpp
[29daad]392
[1e0861]393#Rules needed for Qt4
394# UI-Files are scattered throughout several subdirectories
395# Therfore `%'-rules do not seem to work
396#Quick fix to get it done otherwise
397allmocs.moc.cpp: ${QTUIMOC_HEADER}
398 echo "" > allmocs.moc.cpp;\
399 list='$(QTUIMOC_HEADER)'; for header in $$list; do \
400 echo "Making mocfile for $$header"; \
401 target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
[060ba4]402 $(QT_MOC) $(srcdir)/$$header -o $$target \
[1e0861]403 || eval $$failcom; \
404 echo "#include \"$$target\"" >> allmocs.moc.cpp; \
405 done;
406
[c015b3]407endif
Note: See TracBrowser for help on using the repository browser.