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/BoxCommandLineQuery.cpp \
|
---|
8 | UIElements/CommandLineUI/Query/DoubleCommandLineQuery.cpp \
|
---|
9 | UIElements/CommandLineUI/Query/DoublesCommandLineQuery.cpp \
|
---|
10 | UIElements/CommandLineUI/Query/ElementCommandLineQuery.cpp \
|
---|
11 | UIElements/CommandLineUI/Query/ElementsCommandLineQuery.cpp \
|
---|
12 | UIElements/CommandLineUI/Query/EmptyCommandLineQuery.cpp \
|
---|
13 | UIElements/CommandLineUI/Query/FileCommandLineQuery.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/StringCommandLineQuery.cpp \
|
---|
19 | UIElements/CommandLineUI/Query/StringsCommandLineQuery.cpp \
|
---|
20 | UIElements/CommandLineUI/Query/VectorCommandLineQuery.cpp \
|
---|
21 | UIElements/CommandLineUI/Query/VectorsCommandLineQuery.cpp \
|
---|
22 | UIElements/CommandLineUI/Query/RandomNumberDistribution_ParametersCommandLineQuery.cpp \
|
---|
23 | UIElements/CommandLineUI/CommandLineDialog.cpp \
|
---|
24 | UIElements/CommandLineUI/CommandLineParser.cpp \
|
---|
25 | UIElements/CommandLineUI/CommandLineParser_validate.cpp \
|
---|
26 | UIElements/CommandLineUI/CommandLineStatusIndicator.cpp \
|
---|
27 | UIElements/CommandLineUI/CommandLineUIFactory.cpp \
|
---|
28 | UIElements/CommandLineUI/CommandLineWindow.cpp \
|
---|
29 | UIElements/CommandLineUI/TypeEnumContainer.cpp
|
---|
30 |
|
---|
31 | COMMANDLINEUIHEADER = \
|
---|
32 | UIElements/CommandLineUI/Query/CommandLineQuery.hpp \
|
---|
33 | UIElements/CommandLineUI/CommandLineDialog.hpp \
|
---|
34 | UIElements/CommandLineUI/CommandLineParser.hpp \
|
---|
35 | UIElements/CommandLineUI/CommandLineParser_validate.hpp \
|
---|
36 | UIElements/CommandLineUI/CommandLineStatusIndicator.hpp \
|
---|
37 | UIElements/CommandLineUI/CommandLineUIFactory.hpp \
|
---|
38 | UIElements/CommandLineUI/CommandLineWindow.hpp \
|
---|
39 | UIElements/CommandLineUI/TypeEnumContainer.hpp
|
---|
40 |
|
---|
41 | MENUSOURCE = \
|
---|
42 | UIElements/Menu/Menu.cpp \
|
---|
43 | UIElements/Menu/MenuDescription.cpp \
|
---|
44 | UIElements/Menu/MenuInterface.cpp
|
---|
45 |
|
---|
46 | MENUHEADER = \
|
---|
47 | UIElements/Menu/Menu.hpp \
|
---|
48 | UIElements/Menu/MenuDescription.hpp \
|
---|
49 | UIElements/Menu/MenuInterface.hpp
|
---|
50 |
|
---|
51 | TEXTMENUSOURCE = \
|
---|
52 | UIElements/Menu/TextMenu/ActionMenuItem.cpp \
|
---|
53 | UIElements/Menu/TextMenu/DisplayMenuItem.cpp \
|
---|
54 | UIElements/Menu/TextMenu/MenuItem.cpp \
|
---|
55 | UIElements/Menu/TextMenu/SeparatorMenuItem.cpp \
|
---|
56 | UIElements/Menu/TextMenu/SubMenuItem.cpp \
|
---|
57 | UIElements/Menu/TextMenu/TxMenu.cpp \
|
---|
58 | UIElements/Menu/TextMenu/TxMenuLeaveAction.cpp
|
---|
59 |
|
---|
60 | TEXTMENUHEADER = \
|
---|
61 | UIElements/Menu/TextMenu/ActionMenuItem.hpp \
|
---|
62 | UIElements/Menu/TextMenu/DisplayMenuItem.hpp \
|
---|
63 | UIElements/Menu/TextMenu/MenuItem.hpp \
|
---|
64 | UIElements/Menu/TextMenu/SeparatorMenuItem.hpp \
|
---|
65 | UIElements/Menu/TextMenu/SubMenuItem.hpp \
|
---|
66 | UIElements/Menu/TextMenu/TextMenu.hpp \
|
---|
67 | UIElements/Menu/TextMenu/TxMenu.hpp \
|
---|
68 | UIElements/Menu/TextMenu/TxMenuLeaveAction.hpp
|
---|
69 |
|
---|
70 | TEXTUISOURCE = \
|
---|
71 | UIElements/TextUI/Query/AtomsTextQuery.cpp \
|
---|
72 | UIElements/TextUI/Query/AtomTextQuery.cpp \
|
---|
73 | UIElements/TextUI/Query/BooleanTextQuery.cpp \
|
---|
74 | UIElements/TextUI/Query/BoxTextQuery.cpp \
|
---|
75 | UIElements/TextUI/Query/DoubleTextQuery.cpp \
|
---|
76 | UIElements/TextUI/Query/DoublesTextQuery.cpp \
|
---|
77 | UIElements/TextUI/Query/ElementTextQuery.cpp \
|
---|
78 | UIElements/TextUI/Query/ElementsTextQuery.cpp \
|
---|
79 | UIElements/TextUI/Query/EmptyTextQuery.cpp \
|
---|
80 | UIElements/TextUI/Query/FileTextQuery.cpp \
|
---|
81 | UIElements/TextUI/Query/IntTextQuery.cpp \
|
---|
82 | UIElements/TextUI/Query/IntsTextQuery.cpp \
|
---|
83 | UIElements/TextUI/Query/MoleculesTextQuery.cpp \
|
---|
84 | UIElements/TextUI/Query/MoleculeTextQuery.cpp \
|
---|
85 | UIElements/TextUI/Query/StringTextQuery.cpp \
|
---|
86 | UIElements/TextUI/Query/StringsTextQuery.cpp \
|
---|
87 | UIElements/TextUI/Query/VectorTextQuery.cpp \
|
---|
88 | UIElements/TextUI/Query/VectorsTextQuery.cpp \
|
---|
89 | UIElements/TextUI/Query/RandomNumberDistribution_ParametersTextQuery.cpp \
|
---|
90 | UIElements/TextUI/TextDialog.cpp \
|
---|
91 | UIElements/TextUI/TextStatusIndicator.cpp \
|
---|
92 | UIElements/TextUI/TextUIFactory.cpp \
|
---|
93 | UIElements/TextUI/TextWindow.cpp
|
---|
94 | TEXTUIHEADER = \
|
---|
95 | UIElements/TextUI/Query/TextQuery.hpp \
|
---|
96 | UIElements/TextUI/TextDialog.hpp \
|
---|
97 | UIElements/TextUI/TextStatusIndicator.hpp \
|
---|
98 | UIElements/TextUI/TextUIFactory.hpp \
|
---|
99 | UIElements/TextUI/TextWindow.hpp
|
---|
100 |
|
---|
101 | VIEWSOURCE = \
|
---|
102 | UIElements/Views/View.cpp \
|
---|
103 | UIElements/Views/StringView.cpp \
|
---|
104 | UIElements/Views/MethodStringView.cpp \
|
---|
105 | UIElements/Views/StreamStringView.cpp
|
---|
106 | VIEWHEADER = \
|
---|
107 | UIElements/Views/View.hpp \
|
---|
108 | UIElements/Views/StringView.hpp \
|
---|
109 | UIElements/Views/MethodStringView.hpp \
|
---|
110 | UIElements/Views/StreamStringView.hpp
|
---|
111 |
|
---|
112 | UISOURCE = \
|
---|
113 | ${COMMANDLINEUISOURCE} \
|
---|
114 | ${MENUSOURCE} \
|
---|
115 | ${TEXTMENUSOURCE} \
|
---|
116 | ${TEXTUISOURCE} \
|
---|
117 | ${VIEWSOURCE} \
|
---|
118 | UIElements/Query/AtomQuery.cpp \
|
---|
119 | UIElements/Query/AtomsQuery.cpp \
|
---|
120 | UIElements/Query/BooleanQuery.cpp \
|
---|
121 | UIElements/Query/BoxQuery.cpp \
|
---|
122 | UIElements/Query/DoubleQuery.cpp \
|
---|
123 | UIElements/Query/DoublesQuery.cpp \
|
---|
124 | UIElements/Query/ElementQuery.cpp \
|
---|
125 | UIElements/Query/ElementsQuery.cpp \
|
---|
126 | UIElements/Query/EmptyQuery.cpp \
|
---|
127 | UIElements/Query/FileQuery.cpp \
|
---|
128 | UIElements/Query/IntQuery.cpp \
|
---|
129 | UIElements/Query/IntsQuery.cpp \
|
---|
130 | UIElements/Query/MoleculeQuery.cpp \
|
---|
131 | UIElements/Query/MoleculesQuery.cpp \
|
---|
132 | UIElements/Query/Query.cpp \
|
---|
133 | UIElements/Query/RandomNumberDistribution_ParametersQuery.cpp \
|
---|
134 | UIElements/Query/StringQuery.cpp \
|
---|
135 | UIElements/Query/StringsQuery.cpp \
|
---|
136 | UIElements/Query/VectorQuery.cpp \
|
---|
137 | UIElements/Query/VectorsQuery.cpp \
|
---|
138 | UIElements/Dialog.cpp \
|
---|
139 | UIElements/MainWindow.cpp
|
---|
140 |
|
---|
141 | UIHEADER = \
|
---|
142 | ${COMMANDLINEUIHEADER} \
|
---|
143 | ${MENUHEADER} \
|
---|
144 | ${TEXTMENUHEADER} \
|
---|
145 | ${TEXTUIHEADER} \
|
---|
146 | ${VIEWHEADER} \
|
---|
147 | UIElements/Dialog.hpp \
|
---|
148 | UIElements/MainWindow.hpp
|
---|
149 |
|
---|
150 | QTUISOURCE = \
|
---|
151 | UIElements/Qt4/Pipe/AtomQtQueryPipe.cpp \
|
---|
152 | UIElements/Qt4/Pipe/AtomsQtQueryPipe.cpp \
|
---|
153 | UIElements/Qt4/Pipe/BooleanQtQueryPipe.cpp \
|
---|
154 | UIElements/Qt4/Pipe/BoxQtQueryPipe.cpp \
|
---|
155 | UIElements/Qt4/Pipe/DoubleQtQueryPipe.cpp \
|
---|
156 | UIElements/Qt4/Pipe/ElementsQtQueryPipe.cpp \
|
---|
157 | UIElements/Qt4/Pipe/EmptyQtQueryPipe.cpp \
|
---|
158 | UIElements/Qt4/Pipe/ElementQtQueryPipe.cpp \
|
---|
159 | UIElements/Qt4/Pipe/FileQtQueryPipe.cpp \
|
---|
160 | UIElements/Qt4/Pipe/IntQtQueryPipe.cpp \
|
---|
161 | UIElements/Qt4/Pipe/MoleculeQtQueryPipe.cpp \
|
---|
162 | UIElements/Qt4/Pipe/MoleculesQtQueryPipe.cpp \
|
---|
163 | UIElements/Qt4/Pipe/StringQtQueryPipe.cpp \
|
---|
164 | UIElements/Qt4/Pipe/VectorQtQueryPipe.cpp \
|
---|
165 | UIElements/Qt4/Pipe/VectorsQtQueryPipe.cpp \
|
---|
166 | UIElements/Qt4/Pipe/RandomNumberDistribution_ParametersQtQueryPipe.cpp \
|
---|
167 | UIElements/Qt4/Query/AtomQtQuery.cpp \
|
---|
168 | UIElements/Qt4/Query/AtomsQtQuery.cpp \
|
---|
169 | UIElements/Qt4/Query/BooleanQtQuery.cpp \
|
---|
170 | UIElements/Qt4/Query/BoxQtQuery.cpp \
|
---|
171 | UIElements/Qt4/Query/DoubleQtQuery.cpp \
|
---|
172 | UIElements/Qt4/Query/DoublesQtQuery.cpp \
|
---|
173 | UIElements/Qt4/Query/ElementQtQuery.cpp \
|
---|
174 | UIElements/Qt4/Query/ElementsQtQuery.cpp \
|
---|
175 | UIElements/Qt4/Query/EmptyQtQuery.cpp \
|
---|
176 | UIElements/Qt4/Query/FileQtQuery.cpp \
|
---|
177 | UIElements/Qt4/Query/IntQtQuery.cpp \
|
---|
178 | UIElements/Qt4/Query/IntsQtQuery.cpp \
|
---|
179 | UIElements/Qt4/Query/MoleculeQtQuery.cpp \
|
---|
180 | UIElements/Qt4/Query/MoleculesQtQuery.cpp \
|
---|
181 | UIElements/Qt4/Query/StringQtQuery.cpp \
|
---|
182 | UIElements/Qt4/Query/StringsQtQuery.cpp \
|
---|
183 | UIElements/Qt4/Query/VectorQtQuery.cpp \
|
---|
184 | UIElements/Qt4/Query/VectorsQtQuery.cpp \
|
---|
185 | UIElements/Qt4/Query/RandomNumberDistribution_ParametersQtQuery.cpp \
|
---|
186 | UIElements/Qt4/QtMainWindow.cpp \
|
---|
187 | UIElements/Qt4/QtDialog.cpp \
|
---|
188 | UIElements/Qt4/QtUIFactory.cpp \
|
---|
189 | UIElements/Menu/Qt4/QtMenuPipe.cpp \
|
---|
190 | UIElements/Views/Qt4/QtWorldView.cpp \
|
---|
191 | UIElements/Views/Qt4/QtMoleculeView.cpp \
|
---|
192 | UIElements/Views/Qt4/QtStatusBar.cpp \
|
---|
193 | UIElements/Views/Qt4/Qt3D/GLWorldView.cpp
|
---|
194 |
|
---|
195 | # UIElements/Views/Qt4/Qt3D/GLWorldScene.cpp \
|
---|
196 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject.cpp \
|
---|
197 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.cpp \
|
---|
198 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.cpp \
|
---|
199 | UIElements/Views/Qt4/Qt3D/GLMoleculeScene.cpp
|
---|
200 | # UIElements/Views/Qt4/dialoglight.cpp
|
---|
201 |
|
---|
202 | QTUIMOC_HEADER = \
|
---|
203 | UIElements/Qt4/QtDialog.hpp \
|
---|
204 | UIElements/Qt4/QtMainWindow.hpp \
|
---|
205 | UIElements/Qt4/Pipe/AtomQtQueryPipe.hpp \
|
---|
206 | UIElements/Qt4/Pipe/AtomsQtQueryPipe.hpp \
|
---|
207 | UIElements/Qt4/Pipe/BooleanQtQueryPipe.hpp \
|
---|
208 | UIElements/Qt4/Pipe/BoxQtQueryPipe.hpp \
|
---|
209 | UIElements/Qt4/Pipe/DoubleQtQueryPipe.hpp \
|
---|
210 | UIElements/Qt4/Pipe/ElementQtQueryPipe.hpp \
|
---|
211 | UIElements/Qt4/Pipe/ElementsQtQueryPipe.hpp \
|
---|
212 | UIElements/Qt4/Pipe/EmptyQtQueryPipe.hpp \
|
---|
213 | UIElements/Qt4/Pipe/FileQtQueryPipe.hpp \
|
---|
214 | UIElements/Qt4/Pipe/IntQtQueryPipe.hpp \
|
---|
215 | UIElements/Qt4/Pipe/MoleculeQtQueryPipe.hpp \
|
---|
216 | UIElements/Qt4/Pipe/MoleculesQtQueryPipe.hpp \
|
---|
217 | UIElements/Qt4/Pipe/RandomNumberDistribution_ParametersQtQueryPipe.hpp \
|
---|
218 | UIElements/Qt4/Pipe/StringQtQueryPipe.hpp \
|
---|
219 | UIElements/Qt4/Pipe/VectorQtQueryPipe.hpp \
|
---|
220 | UIElements/Qt4/Pipe/VectorsQtQueryPipe.hpp \
|
---|
221 | UIElements/Menu/Qt4/QtMenuPipe.hpp \
|
---|
222 | UIElements/Views/Qt4/QtWorldView.hpp \
|
---|
223 | UIElements/Views/Qt4/QtMoleculeView.hpp \
|
---|
224 | UIElements/Views/Qt4/QtStatusBar.hpp \
|
---|
225 | UIElements/Views/Qt4/Qt3D/GLWorldView.hpp
|
---|
226 |
|
---|
227 | # UIElements/Views/Qt4/Qt3D/GLWorldScene.hpp \
|
---|
228 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject.hpp \
|
---|
229 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.hpp \
|
---|
230 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.hpp \
|
---|
231 | UIElements/Views/Qt4/Qt3D/GLMoleculeScene.hpp
|
---|
232 |
|
---|
233 | #QTUIUI_HEADER = \
|
---|
234 | # UIElements/Views/Qt4/dialoglight.ui.h
|
---|
235 |
|
---|
236 | #QTUIUI_SOURCE = \
|
---|
237 | # UIElements/Views/Qt4/dialoglight.ui
|
---|
238 |
|
---|
239 | QTUIHEADER = \
|
---|
240 | ${QTUIMOC_HEADER} \
|
---|
241 | UIElements/Menu/Qt4/QtMenu.hpp \
|
---|
242 | UIElements/Qt4/Query/QtQuery.hpp \
|
---|
243 | UIElements/Qt4/QtUIFactory.hpp \
|
---|
244 | UIElements/Qt4/Pipe/QtQueryPipe.hpp \
|
---|
245 | UIElements/Qt4/Pipe/QtQueryListPipe.hpp
|
---|
246 |
|
---|
247 | lib_LTLIBRARIES += libMolecuilderUI.la \
|
---|
248 | libMolecuilderQtUI.la
|
---|
249 | libMolecuilderUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
|
---|
250 | libMolecuilderQtUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
|
---|
251 | libMolecuilderUI_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
252 | libMolecuilderQtUI_la_CPPFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
253 | libMolecuilderUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
---|
254 | libMolecuilderQtUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
---|
255 | # NOTE: ActionPrototypes BEFORE Actions!
|
---|
256 | # this is to ensure that static Action prototypes are instantiated after
|
---|
257 | # ActionRegistry is present.
|
---|
258 | libMolecuilderUI_la_LIBADD = \
|
---|
259 | libMolecuilderActionPrototypes.la \
|
---|
260 | libMolecuilderActions.la \
|
---|
261 | libMolecuilderGraph.la \
|
---|
262 | libMolecuilder.la \
|
---|
263 | libMolecuilderParser.la \
|
---|
264 | libMolecuilderShapes.la \
|
---|
265 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
266 | libMolecuilderRandomNumbers.la \
|
---|
267 | $(CodePatterns_LIBS) \
|
---|
268 | $(BOOST_FILESYSTEM_LIBS) \
|
---|
269 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
270 | $(BOOST_SYSTEM_LIBS)
|
---|
271 |
|
---|
272 | libMolecuilderQtUI_la_LIBADD = \
|
---|
273 | ${QT_LIBS} \
|
---|
274 | -lQtOpenGL \
|
---|
275 | ${GLU_LIBS}
|
---|
276 |
|
---|
277 |
|
---|
278 | nobase_libMolecuilderUI_la_include_HEADERS = ${UIHEADER}
|
---|
279 | nobase_libMolecuilderQtUI_la_include_HEADERS = ${QTUIHEADER}
|
---|
280 |
|
---|
281 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
282 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
283 | ## will therefore be treated as if it were literally part of the target name,
|
---|
284 | ## and the variable name derived from that.
|
---|
285 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
286 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
287 | ## from each source file. Note that it is not necessary to list header files
|
---|
288 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
289 | libMolecuilderUI_la_SOURCES = ${UISOURCE}
|
---|
290 | libMolecuilderQtUI_la_SOURCES = ${QTUISOURCE}
|
---|
291 | nodist_libMolecuilderQtUI_la_SOURCES =
|
---|
292 |
|
---|
293 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
294 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
295 | ## that all version information is kept in one place.
|
---|
296 | libMolecuilderUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
|
---|
297 | libMolecuilderQtUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
|
---|
298 |
|
---|
299 | ## The generated configuration header is installed in its own subdirectory of
|
---|
300 | ## $(libdir). The reason for this is that the configuration information put
|
---|
301 | ## into this header file describes the target platform the installed library
|
---|
302 | ## has been built for. Thus the file must not be installed into a location
|
---|
303 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
304 | ## Hierarchy Standard (FHS).
|
---|
305 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
306 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
307 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
308 | ## configuration header file is generated at configure time and should not be
|
---|
309 | ## shipped with the source tarball.
|
---|
310 | #libMolecuilderUI_libincludedir = $(libdir)/MoleCuilder/include
|
---|
311 | #libMolecuilderQtUI_libincludedir = $(libdir)/MoleCuilder/include
|
---|
312 | #nodist_libMolecuilderUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
313 | #nodist_libMolecuilderQtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
314 |
|
---|
315 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
316 | ## architecture-dependent package configuration information. Occasionally,
|
---|
317 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
318 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
319 | #pkgconfigdir = $(libdir)/pkgconfig
|
---|
320 | #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
|
---|
321 |
|
---|
322 | # This is the old stuff from branch molecuilderGUI which does not work
|
---|
323 | #%.h: %.ui
|
---|
324 | # $(UIC) -o $@ $<
|
---|
325 | #
|
---|
326 | #%.cpp: %.ui
|
---|
327 | # $(UIC) -o $@ -impl $*.h $<
|
---|
328 |
|
---|
329 | BUILT_SOURCES = ui_dialoglight.h ui_changeposition.h
|
---|
330 |
|
---|
331 | #noinst_HEADERS = dialoglight.h changeposition.h
|
---|
332 |
|
---|
333 | nodist_libMolecuilderQtUI_la_SOURCES += moc_dialoglight.cpp moc_changeposition.cpp
|
---|
334 |
|
---|
335 | #libMolecuilderQtUI_la_SOURCES += dialoglight.cpp changeposition.cpp
|
---|
336 |
|
---|
337 | ui_dialoglight.h: UIElements/Views/Qt4/dialoglight.ui
|
---|
338 | $(QT_UIC) -o $@ $<
|
---|
339 |
|
---|
340 | ui_changeposition.h: UIElements/Views/Qt4/changeposition.ui
|
---|
341 | $(QT_UIC) -o $@ $<
|
---|
342 |
|
---|
343 | moc_dialoglight.cpp: ui_dialoglight.h
|
---|
344 | $(QT_MOC) -o $@ $<
|
---|
345 |
|
---|
346 | moc_changeposition.cpp: ui_changeposition.h
|
---|
347 | $(QT_MOC) -o $@ $<
|
---|
348 |
|
---|
349 | nodist_libMolecuilderQtUI_la_SOURCES += allmocs.moc.cpp
|
---|
350 |
|
---|
351 | #Rules needed for Qt4
|
---|
352 | # UI-Files are scattered throughout several subdirectories
|
---|
353 | # Therfore `%'-rules do not seem to work
|
---|
354 | #Quick fix to get it done otherwise
|
---|
355 | allmocs.moc.cpp: ${QTUIMOC_HEADER}
|
---|
356 | echo "" > allmocs.moc.cpp;\
|
---|
357 | list='$(QTUIMOC_HEADER)'; for header in $$list; do \
|
---|
358 | echo "Making mocfile for $$header"; \
|
---|
359 | target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
|
---|
360 | $(QT_MOC) $(srcdir)/$$header -o $$target \
|
---|
361 | || eval $$failcom; \
|
---|
362 | echo "#include \"$$target\"" >> allmocs.moc.cpp; \
|
---|
363 | done;
|
---|
364 |
|
---|
365 | MOSTLYCLEANFILES += *.moc.cpp
|
---|