1 | # Below is all for the User Interface
|
---|
2 |
|
---|
3 | COMMANDLINEUISOURCE = \
|
---|
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 |
|
---|
34 | COMMANDLINEUIHEADER = \
|
---|
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 |
|
---|
44 | MENUSOURCE = \
|
---|
45 | UIElements/Menu/Menu.cpp \
|
---|
46 | UIElements/Menu/MenuDescription.cpp \
|
---|
47 | UIElements/Menu/MenuInterface.cpp
|
---|
48 |
|
---|
49 | MENUHEADER = \
|
---|
50 | UIElements/Menu/Menu.hpp \
|
---|
51 | UIElements/Menu/MenuDescription.hpp \
|
---|
52 | UIElements/Menu/MenuInterface.hpp
|
---|
53 |
|
---|
54 | TEXTMENUSOURCE = \
|
---|
55 | UIElements/Menu/TextMenu/ActionMenuItem.cpp \
|
---|
56 | UIElements/Menu/TextMenu/DisplayMenuItem.cpp \
|
---|
57 | UIElements/Menu/TextMenu/MenuItem.cpp \
|
---|
58 | UIElements/Menu/TextMenu/SeparatorMenuItem.cpp \
|
---|
59 | UIElements/Menu/TextMenu/SubMenuItem.cpp \
|
---|
60 | UIElements/Menu/TextMenu/TxMenu.cpp \
|
---|
61 | UIElements/Menu/TextMenu/TxMenuLeaveAction.cpp
|
---|
62 |
|
---|
63 | TEXTMENUHEADER = \
|
---|
64 | UIElements/Menu/TextMenu/ActionMenuItem.hpp \
|
---|
65 | UIElements/Menu/TextMenu/DisplayMenuItem.hpp \
|
---|
66 | UIElements/Menu/TextMenu/MenuItem.hpp \
|
---|
67 | UIElements/Menu/TextMenu/SeparatorMenuItem.hpp \
|
---|
68 | UIElements/Menu/TextMenu/SubMenuItem.hpp \
|
---|
69 | UIElements/Menu/TextMenu/TextMenu.hpp \
|
---|
70 | UIElements/Menu/TextMenu/TxMenu.hpp \
|
---|
71 | UIElements/Menu/TextMenu/TxMenuLeaveAction.hpp
|
---|
72 |
|
---|
73 | TEXTUISOURCE = \
|
---|
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 \
|
---|
83 | UIElements/TextUI/Query/FilesTextQuery.cpp \
|
---|
84 | UIElements/TextUI/Query/IntTextQuery.cpp \
|
---|
85 | UIElements/TextUI/Query/IntsTextQuery.cpp \
|
---|
86 | UIElements/TextUI/Query/MoleculesTextQuery.cpp \
|
---|
87 | UIElements/TextUI/Query/MoleculeTextQuery.cpp \
|
---|
88 | UIElements/TextUI/Query/RealSpaceMatrixTextQuery.cpp \
|
---|
89 | UIElements/TextUI/Query/StringTextQuery.cpp \
|
---|
90 | UIElements/TextUI/Query/StringsTextQuery.cpp \
|
---|
91 | UIElements/TextUI/Query/UnsignedIntTextQuery.cpp \
|
---|
92 | UIElements/TextUI/Query/UnsignedIntsTextQuery.cpp \
|
---|
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
|
---|
100 | TEXTUIHEADER = \
|
---|
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 |
|
---|
107 | VIEWSOURCE = \
|
---|
108 | UIElements/Views/View.cpp \
|
---|
109 | UIElements/Views/StringView.cpp \
|
---|
110 | UIElements/Views/MethodStringView.cpp \
|
---|
111 | UIElements/Views/StreamStringView.cpp
|
---|
112 | VIEWHEADER = \
|
---|
113 | UIElements/Views/View.hpp \
|
---|
114 | UIElements/Views/StringView.hpp \
|
---|
115 | UIElements/Views/MethodStringView.hpp \
|
---|
116 | UIElements/Views/StreamStringView.hpp
|
---|
117 |
|
---|
118 | UISOURCE = \
|
---|
119 | ${COMMANDLINEUISOURCE} \
|
---|
120 | ${MENUSOURCE} \
|
---|
121 | ${TEXTMENUSOURCE} \
|
---|
122 | ${TEXTUISOURCE} \
|
---|
123 | ${VIEWSOURCE} \
|
---|
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 \
|
---|
133 | UIElements/Query/FilesQuery.cpp \
|
---|
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 \
|
---|
140 | UIElements/Query/RealSpaceMatrixQuery.cpp \
|
---|
141 | UIElements/Query/StringQuery.cpp \
|
---|
142 | UIElements/Query/StringsQuery.cpp \
|
---|
143 | UIElements/Query/UnsignedIntQuery.cpp \
|
---|
144 | UIElements/Query/UnsignedIntsQuery.cpp \
|
---|
145 | UIElements/Query/VectorQuery.cpp \
|
---|
146 | UIElements/Query/VectorsQuery.cpp \
|
---|
147 | UIElements/Dialog.cpp \
|
---|
148 | UIElements/MainWindow.cpp
|
---|
149 |
|
---|
150 | UIHEADER = \
|
---|
151 | ${COMMANDLINEUIHEADER} \
|
---|
152 | ${MENUHEADER} \
|
---|
153 | ${TEXTMENUHEADER} \
|
---|
154 | ${TEXTUIHEADER} \
|
---|
155 | ${VIEWHEADER} \
|
---|
156 | UIElements/Dialog.hpp \
|
---|
157 | UIElements/MainWindow.hpp
|
---|
158 |
|
---|
159 | QTUISOURCE = \
|
---|
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 \
|
---|
172 | UIElements/Qt4/Pipe/UnsignedIntQtQueryPipe.cpp \
|
---|
173 | UIElements/Qt4/Pipe/VectorQtQueryPipe.cpp \
|
---|
174 | UIElements/Qt4/Pipe/VectorsQtQueryPipe.cpp \
|
---|
175 | UIElements/Qt4/Pipe/RandomNumberDistribution_ParametersQtQueryPipe.cpp \
|
---|
176 | UIElements/Qt4/Pipe/RealSpaceMatrixQtQueryPipe.cpp \
|
---|
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 \
|
---|
186 | UIElements/Qt4/Query/FilesQtQuery.cpp \
|
---|
187 | UIElements/Qt4/Query/IntQtQuery.cpp \
|
---|
188 | UIElements/Qt4/Query/IntsQtQuery.cpp \
|
---|
189 | UIElements/Qt4/Query/MoleculeQtQuery.cpp \
|
---|
190 | UIElements/Qt4/Query/MoleculesQtQuery.cpp \
|
---|
191 | UIElements/Qt4/Query/RealSpaceMatrixQtQuery.cpp \
|
---|
192 | UIElements/Qt4/Query/StringQtQuery.cpp \
|
---|
193 | UIElements/Qt4/Query/StringsQtQuery.cpp \
|
---|
194 | UIElements/Qt4/Query/UnsignedIntQtQuery.cpp \
|
---|
195 | UIElements/Qt4/Query/UnsignedIntsQtQuery.cpp \
|
---|
196 | UIElements/Qt4/Query/VectorQtQuery.cpp \
|
---|
197 | UIElements/Qt4/Query/VectorsQtQuery.cpp \
|
---|
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 \
|
---|
205 | UIElements/Views/Qt4/QtElementList.cpp \
|
---|
206 | UIElements/Views/Qt4/QtStatusBar.cpp \
|
---|
207 | UIElements/Views/Qt4/Qt3D/GLWorldView.cpp \
|
---|
208 | UIElements/Views/Qt4/Qt3D/GLWorldScene.cpp \
|
---|
209 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject.cpp \
|
---|
210 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.cpp \
|
---|
211 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.cpp \
|
---|
212 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.cpp
|
---|
213 | # UIElements/Views/Qt4/dialoglight.cpp
|
---|
214 |
|
---|
215 | QTUIMOC_HEADER = \
|
---|
216 | UIElements/Qt4/QtDialog.hpp \
|
---|
217 | UIElements/Qt4/QtMainWindow.hpp \
|
---|
218 | UIElements/Qt4/Pipe/AtomQtQueryPipe.hpp \
|
---|
219 | UIElements/Qt4/Pipe/AtomsQtQueryPipe.hpp \
|
---|
220 | UIElements/Qt4/Pipe/BooleanQtQueryPipe.hpp \
|
---|
221 | UIElements/Qt4/Pipe/DoubleQtQueryPipe.hpp \
|
---|
222 | UIElements/Qt4/Pipe/ElementQtQueryPipe.hpp \
|
---|
223 | UIElements/Qt4/Pipe/ElementsQtQueryPipe.hpp \
|
---|
224 | UIElements/Qt4/Pipe/EmptyQtQueryPipe.hpp \
|
---|
225 | UIElements/Qt4/Pipe/FileQtQueryPipe.hpp \
|
---|
226 | UIElements/Qt4/Pipe/IntQtQueryPipe.hpp \
|
---|
227 | UIElements/Qt4/Pipe/MoleculeQtQueryPipe.hpp \
|
---|
228 | UIElements/Qt4/Pipe/MoleculesQtQueryPipe.hpp \
|
---|
229 | UIElements/Qt4/Pipe/RandomNumberDistribution_ParametersQtQueryPipe.hpp \
|
---|
230 | UIElements/Qt4/Pipe/RealSpaceMatrixQtQueryPipe.hpp \
|
---|
231 | UIElements/Qt4/Pipe/StringQtQueryPipe.hpp \
|
---|
232 | UIElements/Qt4/Pipe/UnsignedIntQtQueryPipe.hpp \
|
---|
233 | UIElements/Qt4/Pipe/VectorQtQueryPipe.hpp \
|
---|
234 | UIElements/Qt4/Pipe/VectorsQtQueryPipe.hpp \
|
---|
235 | UIElements/Menu/Qt4/QtMenuPipe.hpp \
|
---|
236 | UIElements/Views/Qt4/QtWorldView.hpp \
|
---|
237 | UIElements/Views/Qt4/QtMoleculeView.hpp \
|
---|
238 | UIElements/Views/Qt4/QtElementList.hpp \
|
---|
239 | UIElements/Views/Qt4/QtStatusBar.hpp \
|
---|
240 | UIElements/Views/Qt4/Qt3D/GLWorldView.hpp \
|
---|
241 | UIElements/Views/Qt4/Qt3D/GLWorldScene.hpp \
|
---|
242 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject.hpp \
|
---|
243 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.hpp \
|
---|
244 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.hpp \
|
---|
245 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.hpp
|
---|
246 |
|
---|
247 | QTUIUI_UIFILES = \
|
---|
248 | UIElements/Views/Qt4/changeposition.ui \
|
---|
249 | UIElements/Views/Qt4/dialoglight.ui \
|
---|
250 | UIElements/Views/Qt4/dialoglight.ui.h
|
---|
251 |
|
---|
252 | QTUIHEADER = \
|
---|
253 | ${QTUIMOC_HEADER} \
|
---|
254 | UIElements/Menu/Qt4/QtMenu.hpp \
|
---|
255 | UIElements/Qt4/Query/QtQuery.hpp \
|
---|
256 | UIElements/Qt4/QtUIFactory.hpp \
|
---|
257 | UIElements/Qt4/Pipe/QtQueryPipe.hpp \
|
---|
258 | UIElements/Qt4/Pipe/QtQueryListPipe.hpp
|
---|
259 |
|
---|
260 | lib_LTLIBRARIES += libMolecuilderUI.la
|
---|
261 | libMolecuilderUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
|
---|
262 | libMolecuilderUI_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
263 | if CONDJOBMARKET
|
---|
264 | libMolecuilderUI_la_CPPFLAGS += ${JobMarket_CFLAGS}
|
---|
265 | endif
|
---|
266 | libMolecuilderUI_la_LDFLAGS = \
|
---|
267 | $(AM_LDFLAGS) \
|
---|
268 | $(BOOST_FILESYSTEM_LDFLAGS) \
|
---|
269 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
|
---|
270 | $(BOOST_RANDOM_LDFLAGS) \
|
---|
271 | $(BOOST_SERIALIZATION_LDFLAGS)
|
---|
272 | $(BOOST_SYSTEM_LDFLAGS) \
|
---|
273 | $(BOOST_THREAD_LDFLAGS)
|
---|
274 |
|
---|
275 | # NOTE: ActionPrototypes BEFORE Actions!
|
---|
276 | # this is to ensure that static Action prototypes are instantiated after
|
---|
277 | # ActionRegistry is present.
|
---|
278 | libMolecuilderUI_la_LIBADD = \
|
---|
279 | libMolecuilderActionPrototypes.la \
|
---|
280 | libMolecuilderActions.la \
|
---|
281 | libMolecuilderAnalysis.la \
|
---|
282 | libMolecuilderGraph.la \
|
---|
283 | libMolecuilderFilling.la \
|
---|
284 | libMolecuilder.la \
|
---|
285 | libMolecuilderFragmentation.la \
|
---|
286 | libMolecuilderParser.la \
|
---|
287 | libMolecuilderParameters.la \
|
---|
288 | libMolecuilderShapes.la \
|
---|
289 | libMolecuilderLinkedCell.la \
|
---|
290 | libMolecuilderAtom.la \
|
---|
291 | libMolecuilderHelpers.la \
|
---|
292 | libMolecuilderElement.la \
|
---|
293 | libMolecuilderJobs.la \
|
---|
294 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
295 | libMolecuilderRandomNumbers.la
|
---|
296 | if CONDJOBMARKET
|
---|
297 | libMolecuilderUI_la_LIBADD += ${JobMarket_Controller_LIBS}
|
---|
298 | endif
|
---|
299 | libMolecuilderUI_la_LIBADD += \
|
---|
300 | ${CodePatterns_LIBS} \
|
---|
301 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
302 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
303 | $(BOOST_FILESYSTEM_LIBS) \
|
---|
304 | $(BOOST_SYSTEM_LIBS) \
|
---|
305 | $(BOOST_THREAD_LIBS)
|
---|
306 |
|
---|
307 | nobase_libMolecuilderUI_la_include_HEADERS = ${UIHEADER}
|
---|
308 |
|
---|
309 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
310 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
311 | ## will therefore be treated as if it were literally part of the target name,
|
---|
312 | ## and the variable name derived from that.
|
---|
313 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
314 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
315 | ## from each source file. Note that it is not necessary to list header files
|
---|
316 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
317 | libMolecuilderUI_la_SOURCES = ${UISOURCE}
|
---|
318 |
|
---|
319 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
320 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
321 | ## that all version information is kept in one place.
|
---|
322 | libMolecuilderUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
|
---|
323 |
|
---|
324 | ## The generated configuration header is installed in its own subdirectory of
|
---|
325 | ## $(libdir). The reason for this is that the configuration information put
|
---|
326 | ## into this header file describes the target platform the installed library
|
---|
327 | ## has been built for. Thus the file must not be installed into a location
|
---|
328 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
329 | ## Hierarchy Standard (FHS).
|
---|
330 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
331 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
332 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
333 | ## configuration header file is generated at configure time and should not be
|
---|
334 | ## shipped with the source tarball.
|
---|
335 | #libMolecuilderUI_libincludedir = $(libdir)/MoleCuilder/include
|
---|
336 | #nodist_libMolecuilderUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
337 |
|
---|
338 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
339 | ## architecture-dependent package configuration information. Occasionally,
|
---|
340 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
341 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
342 | #pkgconfigdir = $(libdir)/pkgconfig
|
---|
343 | #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
|
---|
344 |
|
---|
345 | if CONDQTGUI
|
---|
346 | lib_LTLIBRARIES += libMolecuilderQtUI.la
|
---|
347 |
|
---|
348 | libMolecuilderQtUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
|
---|
349 | libMolecuilderQtUI_la_CPPFLAGS = ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS}
|
---|
350 | libMolecuilderQtUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
---|
351 |
|
---|
352 | libMolecuilderQtUI_la_LIBADD = \
|
---|
353 | ${QT_LIBS} \
|
---|
354 | -lQtOpenGL \
|
---|
355 | ${GLU_LIBS}
|
---|
356 |
|
---|
357 | nobase_libMolecuilderQtUI_la_include_HEADERS = ${QTUIHEADER} $(QTUIUI_UIFILES)
|
---|
358 | libMolecuilderQtUI_la_SOURCES = ${QTUISOURCE}
|
---|
359 | nodist_libMolecuilderQtUI_la_SOURCES =
|
---|
360 | libMolecuilderQtUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
|
---|
361 | #libMolecuilderQtUI_libincludedir = $(libdir)/MoleCuilder/include
|
---|
362 | #nodist_libMolecuilderQtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
363 |
|
---|
364 | BUILT_SOURCES += ui_dialoglight.h ui_changeposition.h
|
---|
365 |
|
---|
366 | nodist_libMolecuilderQtUI_la_SOURCES += moc_dialoglight.cpp moc_changeposition.cpp
|
---|
367 |
|
---|
368 | MOSTLYCLEANFILES += \
|
---|
369 | *.moc.cpp \
|
---|
370 | moc_*.cpp \
|
---|
371 | ui_*.h
|
---|
372 |
|
---|
373 | ui_dialoglight.h: UIElements/Views/Qt4/dialoglight.ui
|
---|
374 | $(QT_UIC) -o $@ $<
|
---|
375 |
|
---|
376 | ui_changeposition.h: UIElements/Views/Qt4/changeposition.ui
|
---|
377 | $(QT_UIC) -o $@ $<
|
---|
378 |
|
---|
379 | moc_dialoglight.cpp: ui_dialoglight.h
|
---|
380 | $(QT_MOC) -o $@ $<
|
---|
381 |
|
---|
382 | moc_changeposition.cpp: ui_changeposition.h
|
---|
383 | $(QT_MOC) -o $@ $<
|
---|
384 |
|
---|
385 | nodist_libMolecuilderQtUI_la_SOURCES += allmocs.moc.cpp
|
---|
386 |
|
---|
387 | #Rules needed for Qt4
|
---|
388 | # UI-Files are scattered throughout several subdirectories
|
---|
389 | # Therfore `%'-rules do not seem to work
|
---|
390 | #Quick fix to get it done otherwise
|
---|
391 | allmocs.moc.cpp: ${QTUIMOC_HEADER}
|
---|
392 | echo "" > allmocs.moc.cpp;\
|
---|
393 | list='$(QTUIMOC_HEADER)'; for header in $$list; do \
|
---|
394 | echo "Making mocfile for $$header"; \
|
---|
395 | target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
|
---|
396 | $(QT_MOC) $(srcdir)/$$header -o $$target \
|
---|
397 | || eval $$failcom; \
|
---|
398 | echo "#include \"$$target\"" >> allmocs.moc.cpp; \
|
---|
399 | done;
|
---|
400 |
|
---|
401 | endif
|
---|