1 ## Process this file with automake to produce Makefile.in -*- makefile -*-
4 src/ui/gui/aggregate.ui \
5 src/ui/gui/autorecode.ui \
6 src/ui/gui/binomial.ui \
7 src/ui/gui/compute.ui \
8 src/ui/gui/barchart.ui \
9 src/ui/gui/correlation.ui \
11 src/ui/gui/comments.ui \
12 src/ui/gui/crosstabs.ui \
13 src/ui/gui/chi-square.ui \
14 src/ui/gui/descriptives.ui \
15 src/ui/gui/entry-dialog.ui \
16 src/ui/gui/examine.ui \
17 src/ui/gui/goto-case.ui \
18 src/ui/gui/factor.ui \
20 src/ui/gui/frequencies.ui \
21 src/ui/gui/histogram.ui \
22 src/ui/gui/indep-samples.ui \
23 src/ui/gui/k-means.ui \
24 src/ui/gui/k-related.ui \
25 src/ui/gui/ks-one-sample.ui \
26 src/ui/gui/logistic.ui \
28 src/ui/gui/missing-val-dialog.ui \
29 src/ui/gui/oneway.ui \
30 src/ui/gui/options.ui \
31 src/ui/gui/paired-samples.ui \
35 src/ui/gui/split-file.ui \
36 src/ui/gui/recode.ui \
37 src/ui/gui/regression.ui \
38 src/ui/gui/reliability.ui \
40 src/ui/gui/scatterplot.ui \
41 src/ui/gui/select-cases.ui \
42 src/ui/gui/t-test.ui \
43 src/ui/gui/text-data-import.ui \
44 src/ui/gui/transpose.ui \
45 src/ui/gui/univariate.ui \
46 src/ui/gui/val-labs-dialog.ui \
47 src/ui/gui/variable-info.ui \
48 src/ui/gui/data-editor.ui \
49 src/ui/gui/output-window.ui \
50 src/ui/gui/syntax-editor.ui \
51 src/ui/gui/var-type-dialog.ui \
55 $(top_srcdir)/doc/help-pages-list: $(UI_FILES)
56 $(AM_V_GEN)cat $^ | grep '"help[-_]page"' | \
57 $(SED) -e 's% *<property name="help[-_]page">\([^<]*\)</property>%//*[@id='"'"'\1'"'"']%' \
58 -e 's%#%'"'"']/*[@id='"'"'%g' > $@,tmp
62 EXTRA_DIST += doc/help-pages-list
66 src/ui/gui/memorandum.txt \
67 src/ui/gui/gen-dot-desktop.sh \
68 src/ui/gui/marshaller-list \
69 src/ui/gui/pspplogo.svg
71 src_ui_gui_psppire_CPPFLAGS=
74 bin_PROGRAMS += src/ui/gui/psppire
75 noinst_PROGRAMS += src/ui/gui/spreadsheet-test
77 src_ui_gui_psppire_CFLAGS = $(GTK_CFLAGS) $(GTKSOURCEVIEW_CFLAGS) -Wall -DGDK_MULTIHEAD_SAFE=1
78 src_ui_gui_spreadsheet_test_CFLAGS = $(GTK_CFLAGS) -Wall -DGDK_MULTIHEAD_SAFE=1
81 src_ui_gui_psppire_LDFLAGS = \
87 src_ui_gui_psppire_LDFLAGS += `$(RELOCATABLE_LDFLAGS) $(bindir)`
89 src_ui_gui_psppire_LDFLAGS += -rpath $(pkglibdir)
93 src_ui_gui_psppire_LDADD = \
94 lib/gtk-contrib/libxpaned.a \
95 src/ui/libuicommon.la \
100 $(GTKSOURCEVIEW_LIBS) \
106 src_ui_gui_spreadsheet_test_LDADD = \
107 src/libpspp-core.la \
112 src_ui_gui_spreadsheet_test_SOURCES = src/ui/gui/spreadsheet-test.c src/ui/gui/psppire-spreadsheet-model.c
114 src_ui_gui_psppiredir = $(pkgdatadir)
118 $(INSTALL_DATA) $(top_srcdir)/src/ui/gui/pspp.lang $(DESTDIR)$(pkgdatadir)
120 INSTALL_DATA_HOOKS += install-lang
122 dist_src_ui_gui_psppire_DATA = \
124 $(top_srcdir)/src/ui/gui/pspp.lang \
125 $(top_srcdir)/src/ui/gui/psppire.gtkrc
127 src_ui_gui_psppire_SOURCES = \
128 src/ui/gui/psppire-dialog.c \
129 src/ui/gui/psppire-keypad.c \
130 src/ui/gui/psppire-selector.c \
131 src/ui/gui/psppire-buttonbox.c \
132 src/ui/gui/psppire-buttonbox.h \
133 src/ui/gui/psppire-scanf.c \
134 src/ui/gui/psppire-scanf.h \
135 src/ui/gui/psppire-acr.c \
136 src/ui/gui/psppire-import-assistant.c \
137 src/ui/gui/psppire-import-assistant.h \
138 src/ui/gui/builder-wrapper.c \
139 src/ui/gui/builder-wrapper.h \
140 src/ui/gui/dialog-common.c \
141 src/ui/gui/dialog-common.h \
142 src/ui/gui/dict-display.h \
143 src/ui/gui/dict-display.c \
144 src/ui/gui/entry-dialog.c \
145 src/ui/gui/entry-dialog.h \
146 src/ui/gui/executor.c \
147 src/ui/gui/executor.h \
148 src/ui/gui/find-dialog.c \
149 src/ui/gui/find-dialog.h \
150 src/ui/gui/goto-case-dialog.c \
151 src/ui/gui/goto-case-dialog.h \
152 src/ui/gui/helper.c \
153 src/ui/gui/help-menu.c \
154 src/ui/gui/help-menu.h \
155 src/ui/gui/helper.h \
157 src/ui/gui/missing-val-dialog.c \
158 src/ui/gui/missing-val-dialog.h \
159 src/ui/gui/options-dialog.c \
160 src/ui/gui/options-dialog.h \
161 src/ui/gui/psppire.c \
162 src/ui/gui/psppire.h \
163 src/ui/gui/psppire-acr.h \
164 src/ui/gui/psppire-checkbox-treeview.c \
165 src/ui/gui/psppire-checkbox-treeview.h \
166 src/ui/gui/psppire-conf.c \
167 src/ui/gui/psppire-conf.h \
168 src/ui/gui/psppire-data-editor.c \
169 src/ui/gui/psppire-data-editor.h \
170 src/ui/gui/psppire-data-store.c \
171 src/ui/gui/psppire-data-store.h \
172 src/ui/gui/psppire-data-window.c \
173 src/ui/gui/psppire-data-window.h \
174 src/ui/gui/psppire-dialog.h \
175 src/ui/gui/psppire-dialog-action.c \
176 src/ui/gui/psppire-dialog-action.h \
177 src/ui/gui/psppire-dialog-action-aggregate.c \
178 src/ui/gui/psppire-dialog-action-aggregate.h \
179 src/ui/gui/psppire-dialog-action-autorecode.c \
180 src/ui/gui/psppire-dialog-action-autorecode.h \
181 src/ui/gui/psppire-dialog-action-1sks.c \
182 src/ui/gui/psppire-dialog-action-1sks.h \
183 src/ui/gui/psppire-dialog-action-barchart.c \
184 src/ui/gui/psppire-dialog-action-barchart.h \
185 src/ui/gui/psppire-dialog-action-binomial.c \
186 src/ui/gui/psppire-dialog-action-binomial.h \
187 src/ui/gui/psppire-dialog-action-chisquare.c \
188 src/ui/gui/psppire-dialog-action-chisquare.h \
189 src/ui/gui/psppire-dialog-action-compute.c \
190 src/ui/gui/psppire-dialog-action-compute.h \
191 src/ui/gui/psppire-dialog-action-comments.c \
192 src/ui/gui/psppire-dialog-action-comments.h \
193 src/ui/gui/psppire-dialog-action-count.c \
194 src/ui/gui/psppire-dialog-action-count.h \
195 src/ui/gui/psppire-dialog-action-correlation.c \
196 src/ui/gui/psppire-dialog-action-correlation.h \
197 src/ui/gui/psppire-dialog-action-crosstabs.c \
198 src/ui/gui/psppire-dialog-action-crosstabs.h \
199 src/ui/gui/psppire-dialog-action-descriptives.c \
200 src/ui/gui/psppire-dialog-action-descriptives.h \
201 src/ui/gui/psppire-dialog-action-examine.c \
202 src/ui/gui/psppire-dialog-action-examine.h \
203 src/ui/gui/psppire-dialog-action-factor.c \
204 src/ui/gui/psppire-dialog-action-factor.h \
205 src/ui/gui/psppire-dialog-action-flip.c \
206 src/ui/gui/psppire-dialog-action-flip.h \
207 src/ui/gui/psppire-dialog-action-frequencies.c \
208 src/ui/gui/psppire-dialog-action-frequencies.h \
209 src/ui/gui/psppire-dialog-action-histogram.c \
210 src/ui/gui/psppire-dialog-action-histogram.h \
211 src/ui/gui/psppire-dialog-action-indep-samps.c \
212 src/ui/gui/psppire-dialog-action-indep-samps.h \
213 src/ui/gui/psppire-dialog-action-kmeans.c \
214 src/ui/gui/psppire-dialog-action-kmeans.h \
215 src/ui/gui/psppire-dialog-action-logistic.c \
216 src/ui/gui/psppire-dialog-action-logistic.h \
217 src/ui/gui/psppire-dialog-action-k-related.c \
218 src/ui/gui/psppire-dialog-action-k-related.h \
219 src/ui/gui/psppire-dialog-action-means.c \
220 src/ui/gui/psppire-dialog-action-means.h \
221 src/ui/gui/psppire-dialog-action-oneway.c \
222 src/ui/gui/psppire-dialog-action-oneway.h \
223 src/ui/gui/psppire-dialog-action-paired.c \
224 src/ui/gui/psppire-dialog-action-paired.h \
225 src/ui/gui/psppire-dialog-action-rank.c \
226 src/ui/gui/psppire-dialog-action-rank.h \
227 src/ui/gui/psppire-dialog-action-recode.c \
228 src/ui/gui/psppire-dialog-action-recode.h \
229 src/ui/gui/psppire-dialog-action-recode-same.c \
230 src/ui/gui/psppire-dialog-action-recode-same.h \
231 src/ui/gui/psppire-dialog-action-recode-different.c \
232 src/ui/gui/psppire-dialog-action-recode-different.h \
233 src/ui/gui/psppire-dialog-action-regression.c \
234 src/ui/gui/psppire-dialog-action-regression.h \
235 src/ui/gui/psppire-dialog-action-reliability.c \
236 src/ui/gui/psppire-dialog-action-reliability.h \
237 src/ui/gui/psppire-dialog-action-roc.c \
238 src/ui/gui/psppire-dialog-action-roc.h \
239 src/ui/gui/psppire-dialog-action-runs.c \
240 src/ui/gui/psppire-dialog-action-runs.h \
241 src/ui/gui/psppire-dialog-action-scatterplot.c \
242 src/ui/gui/psppire-dialog-action-scatterplot.h \
243 src/ui/gui/psppire-dialog-action-sort.c \
244 src/ui/gui/psppire-dialog-action-sort.h \
245 src/ui/gui/psppire-dialog-action-select.c \
246 src/ui/gui/psppire-dialog-action-select.h \
247 src/ui/gui/psppire-dialog-action-split.c \
248 src/ui/gui/psppire-dialog-action-split.h \
249 src/ui/gui/psppire-dialog-action-tt1s.c \
250 src/ui/gui/psppire-dialog-action-tt1s.h \
251 src/ui/gui/psppire-dialog-action-two-sample.c \
252 src/ui/gui/psppire-dialog-action-two-sample.h \
253 src/ui/gui/psppire-dialog-action-univariate.c \
254 src/ui/gui/psppire-dialog-action-univariate.h \
255 src/ui/gui/psppire-dialog-action-var-info.c \
256 src/ui/gui/psppire-dialog-action-var-info.h \
257 src/ui/gui/psppire-dialog-action-weight.c \
258 src/ui/gui/psppire-dialog-action-weight.h \
259 src/ui/gui/psppire-dict.c \
260 src/ui/gui/psppire-dict.h \
261 src/ui/gui/psppire-dictview.c \
262 src/ui/gui/psppire-dictview.h \
263 src/ui/gui/psppire-empty-list-store.c \
264 src/ui/gui/psppire-empty-list-store.h \
265 src/ui/gui/psppire-encoding-selector.c \
266 src/ui/gui/psppire-encoding-selector.h \
267 src/ui/gui/psppire-format.c \
268 src/ui/gui/psppire-format.h \
269 src/ui/gui/psppire-keypad.h \
270 src/ui/gui/psppire-lex-reader.c \
271 src/ui/gui/psppire-lex-reader.h \
272 src/ui/gui/psppire-means-layer.c \
273 src/ui/gui/psppire-means-layer.h \
274 src/ui/gui/psppire-output-view.c \
275 src/ui/gui/psppire-output-view.h \
276 src/ui/gui/psppire-output-window.c \
277 src/ui/gui/psppire-output-window.h \
278 src/ui/gui/psppire-var-view.c \
279 src/ui/gui/psppire-var-view.h \
280 src/ui/gui/psppire-spreadsheet-model.c \
281 src/ui/gui/psppire-spreadsheet-model.h \
282 src/ui/gui/psppire-selector.h \
283 src/ui/gui/psppire-select-dest.c \
284 src/ui/gui/psppire-select-dest.h \
285 src/ui/gui/psppire-syntax-window.c \
286 src/ui/gui/psppire-syntax-window.h \
287 src/ui/gui/psppire-val-chooser.c \
288 src/ui/gui/psppire-val-chooser.h \
289 src/ui/gui/psppire-value-entry.c \
290 src/ui/gui/psppire-value-entry.h \
291 src/ui/gui/psppire-var-ptr.c \
292 src/ui/gui/psppire-var-ptr.h \
293 src/ui/gui/psppire-var-sheet-header.h \
294 src/ui/gui/psppire-var-sheet-header.c \
295 src/ui/gui/psppire-window.c \
296 src/ui/gui/psppire-window.h \
297 src/ui/gui/psppire-window-base.c \
298 src/ui/gui/psppire-window-base.h \
299 src/ui/gui/psppire-window-register.c \
300 src/ui/gui/psppire-window-register.h \
301 src/ui/gui/t-test-options.c \
302 src/ui/gui/t-test-options.h \
303 src/ui/gui/val-labs-dialog.c \
304 src/ui/gui/val-labs-dialog.h \
305 src/ui/gui/var-display.c \
306 src/ui/gui/var-display.h \
307 src/ui/gui/var-type-dialog.c \
308 src/ui/gui/var-type-dialog.h \
309 src/ui/gui/value-variant.c \
310 src/ui/gui/value-variant.h \
311 src/ui/gui/widget-io.c \
312 src/ui/gui/widget-io.h \
313 src/ui/gui/widgets.c \
314 src/ui/gui/widgets.h \
315 src/ui/gui/windows-menu.c \
316 src/ui/gui/windows-menu.h
320 src/ui/gui/page-assistant.c \
321 src/ui/gui/page-intro.c \
322 src/ui/gui/page-intro.h \
323 src/ui/gui/page-file.c \
324 src/ui/gui/page-first-line.c \
325 src/ui/gui/page-first-line.h \
326 src/ui/gui/page-formats.c \
327 src/ui/gui/page-formats.h \
328 src/ui/gui/page-separators.c \
329 src/ui/gui/page-separators.h \
330 src/ui/gui/page-sheet-spec.c \
331 src/ui/gui/page-sheet-spec.h \
332 src/ui/gui/text-data-import-dialog.c \
333 src/ui/gui/text-data-import-dialog.h
336 nodist_src_ui_gui_psppire_SOURCES = \
337 src/ui/gui/psppire-marshal.c \
338 src/ui/gui/psppire-marshal.h \
339 src/ui/gui/resources.c
342 @if ! yelp --version > /dev/null 2>&1 ; then \
344 echo ' The Yelp document viewer does not seem to be installed on the system.' ; \
345 echo ' If Yelp is not available at run time, then the PSPPIRE online reference' ; \
346 echo ' manual will not be available.' ; \
347 echo ' Yelp is available from the GNOME project. ftp://ftp.gnome.org/pub/gnome/sources/yelp' ; \
355 src/ui/gui/pspp.desktop: src/ui/gui/gen-dot-desktop.sh $(POFILES)
356 $(AM_V_GEN)POFILES="$(POFILES)" top_builddir="$(top_builddir)" $(SHELL) $< > $@
358 CLEANFILES+=src/ui/gui/pspp.desktop
360 src/ui/gui/resources.c: src/ui/gui/resources.xml
361 $(AM_V_at)$(GLIB_COMPILE_RESOURCES) --sourcedir=$(top_srcdir)/src/ui/gui --generate-source $< --target=$@,out
362 $(AM_V_GEN)echo '#include <config.h>' > $@,tmp
367 src/ui/gui/psppire-marshal.c: src/ui/gui/marshaller-list
368 $(AM_V_GEN)echo '#include <config.h>' > $@
369 $(AM_V_at)$(GLIB_GENMARSHAL) --body --prefix=psppire_marshal $? >> $@
371 src/ui/gui/psppire-marshal.h: src/ui/gui/marshaller-list
372 $(AM_V_GEN)$(GLIB_GENMARSHAL) --header --prefix=psppire_marshal $? > $@
374 desktopdir = $(datadir)/applications
375 desktop_DATA = src/ui/gui/pspp.desktop
377 appdatadir = $(datadir)/appdata
378 dist_appdata_DATA = src/ui/gui/pspp.appdata.xml
380 BUILT_SOURCES += src/ui/gui/psppire-marshal.c src/ui/gui/psppire-marshal.h src/ui/gui/resources.c
382 CLEANFILES += src/ui/gui/psppire-marshal.c src/ui/gui/psppire-marshal.h \
383 src/ui/gui/resources.c $(nodist_src_ui_gui_psppire_DATA)
385 include $(top_srcdir)/src/ui/gui/efficient-sheet.mk
388 #ensure the installcheck passes even if there is no X server available
390 DISPLAY=/invalid/port $(MAKE) $(AM_MAKEFLAGS) installcheck-binPROGRAMS
392 # <gtk/gtk.h> wrapper
393 src_ui_gui_psppire_CPPFLAGS += $(AM_CPPFLAGS) -Isrc/ui/gui/include
394 BUILT_SOURCES += src/ui/gui/include/gtk/gtk.h
395 src/ui/gui/include/gtk/gtk.h: src/ui/gui/include/gtk/gtk.in.h
396 @$(MKDIR_P) src/ui/gui/include/gtk
397 $(AM_V_GEN)rm -f $@-t $@ && \
398 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
399 $(SED) -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
400 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
401 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
402 -e 's|@''NEXT_GTK_GTK_H''@|$(NEXT_GTK_GTK_H)|g' \
403 < $(srcdir)/src/ui/gui/include/gtk/gtk.in.h; \
406 CLEANFILES += src/ui/gui/include/gtk/gtk.h
407 EXTRA_DIST += src/ui/gui/include/gtk/gtk.in.h src/ui/gui/resources.xml
409 include $(top_srcdir)/src/ui/gui/icons/automake.mk
411 UNINSTALL_DATA_HOOKS += update-icon-cache
412 INSTALL_DATA_HOOKS += update-icon-cache