1 ## Process this file with automake to produce Makefile.in -*- makefile -*-
3 include $(top_srcdir)/src/ui/gui/sheet/automake.mk
6 src/ui/gui/aggregate.ui \
7 src/ui/gui/binomial.ui \
8 src/ui/gui/compute.ui \
9 src/ui/gui/correlation.ui \
10 src/ui/gui/crosstabs.ui \
11 src/ui/gui/chi-square.ui \
12 src/ui/gui/descriptives.ui \
13 src/ui/gui/examine.ui \
14 src/ui/gui/goto-case.ui \
15 src/ui/gui/factor.ui \
17 src/ui/gui/frequencies.ui \
18 src/ui/gui/k-related.ui \
19 src/ui/gui/oneway.ui \
20 src/ui/gui/psppire.ui \
23 src/ui/gui/split-file.ui \
24 src/ui/gui/recode.ui \
25 src/ui/gui/regression.ui \
26 src/ui/gui/reliability.ui \
28 src/ui/gui/select-cases.ui \
29 src/ui/gui/t-test.ui \
30 src/ui/gui/text-data-import.ui \
31 src/ui/gui/var-sheet-dialogs.ui \
32 src/ui/gui/variable-info.ui \
33 src/ui/gui/data-editor.ui \
34 src/ui/gui/output-viewer.ui \
35 src/ui/gui/syntax-editor.ui
38 src/ui/gui/OChangeLog \
39 src/ui/gui/psppicon.png \
40 src/ui/gui/marshaller-list \
41 src/ui/gui/pspp.desktop
44 bin_PROGRAMS += src/ui/gui/psppire
46 src_ui_gui_psppire_CFLAGS = $(GTK_CFLAGS) -Wall -DGDK_MULTIHEAD_SAFE=1
49 src_ui_gui_psppire_LDFLAGS = \
55 src_ui_gui_psppire_LDFLAGS += `$(RELOCATABLE_LDFLAGS) $(bindir)`
57 src_ui_gui_psppire_LDFLAGS += -rpath $(pkglibdir)
61 src_ui_gui_psppire_LDADD = \
62 src/ui/gui/sheet/libsheet.la \
63 lib/gtk-contrib/libgtksheet.a \
64 src/ui/libuicommon.la \
71 src_ui_gui_psppiredir = $(pkgdatadir)
74 themedir = $(DESTDIR)$(datadir)/icons/hicolor
79 for size in 16x16 ; do \
80 $(MKDIR_P) $(themedir)/$$size/$(context) ; \
81 $(INSTALL) $(top_srcdir)/src/ui/gui/psppicon.png $(themedir)/$$size/$(context) ; \
83 gtk-update-icon-cache --ignore-theme-index $(themedir)
85 INSTALL_DATA_HOOKS += install-icons
88 for size in 16x16 ; do \
89 rm -f $(themedir)/$$size/$(context)/psppicon.png ; \
91 gtk-update-icon-cache --ignore-theme-index $(themedir)
93 UNINSTALL_DATA_HOOKS += uninstall-icons
95 dist_src_ui_gui_psppire_DATA = \
97 $(top_srcdir)/src/ui/gui/pspplogo.png \
98 $(top_srcdir)/src/ui/gui/icons/value-labels.png \
99 $(top_srcdir)/src/ui/gui/icons/goto-variable.png\
100 $(top_srcdir)/src/ui/gui/icons/insert-case.png \
101 $(top_srcdir)/src/ui/gui/icons/insert-variable.png \
102 $(top_srcdir)/src/ui/gui/icons/recent-dialogs.png \
103 $(top_srcdir)/src/ui/gui/icons/split-file.png \
104 $(top_srcdir)/src/ui/gui/icons/select-cases.png \
105 $(top_srcdir)/src/ui/gui/icons/weight-cases.png \
106 $(top_srcdir)/src/ui/gui/icons/16x16/nominal.png \
107 $(top_srcdir)/src/ui/gui/icons/16x16/ordinal.png \
108 $(top_srcdir)/src/ui/gui/icons/16x16/scale.png \
109 $(top_srcdir)/src/ui/gui/icons/16x16/string.png \
110 $(top_srcdir)/src/ui/gui/icons/16x16/date-scale.png \
111 $(top_srcdir)/src/ui/gui/icons/splash.png
114 src_ui_gui_psppire_SOURCES = \
115 src/ui/gui/psppire-dialog.c \
116 src/ui/gui/psppire-keypad.c \
117 src/ui/gui/psppire-selector.c \
118 src/ui/gui/psppire-buttonbox.c \
119 src/ui/gui/psppire-hbuttonbox.c \
120 src/ui/gui/psppire-vbuttonbox.c \
121 src/ui/gui/psppire-acr.c \
122 src/ui/gui/aggregate-dialog.c \
123 src/ui/gui/aggregate-dialog.h \
124 src/ui/gui/binomial-dialog.c \
125 src/ui/gui/binomial-dialog.h \
126 src/ui/gui/checkbox-treeview.c \
127 src/ui/gui/checkbox-treeview.h \
128 src/ui/gui/comments-dialog.c \
129 src/ui/gui/comments-dialog.h \
130 src/ui/gui/compute-dialog.c \
131 src/ui/gui/compute-dialog.h \
132 src/ui/gui/chi-square-dialog.c \
133 src/ui/gui/chi-square-dialog.h \
134 src/ui/gui/correlation-dialog.c \
135 src/ui/gui/correlation-dialog.h \
136 src/ui/gui/crosstabs-dialog.c \
137 src/ui/gui/crosstabs-dialog.h \
138 src/ui/gui/customentry.c \
139 src/ui/gui/customentry.h \
140 src/ui/gui/descriptives-dialog.c \
141 src/ui/gui/descriptives-dialog.h \
142 src/ui/gui/dialog-common.c \
143 src/ui/gui/dialog-common.h \
144 src/ui/gui/dict-display.h \
145 src/ui/gui/dict-display.c \
146 src/ui/gui/examine-dialog.c \
147 src/ui/gui/examine-dialog.h \
148 src/ui/gui/executor.c \
149 src/ui/gui/executor.h \
150 src/ui/gui/find-dialog.c \
151 src/ui/gui/find-dialog.h \
152 src/ui/gui/factor-dialog.c \
153 src/ui/gui/factor-dialog.h \
154 src/ui/gui/frequencies-dialog.c \
155 src/ui/gui/frequencies-dialog.h \
156 src/ui/gui/goto-case-dialog.c \
157 src/ui/gui/goto-case-dialog.h \
158 src/ui/gui/helper.c \
159 src/ui/gui/help-menu.c \
160 src/ui/gui/help-menu.h \
161 src/ui/gui/helper.h \
162 src/ui/gui/k-related-dialog.c \
163 src/ui/gui/k-related-dialog.h \
165 src/ui/gui/missing-val-dialog.c \
166 src/ui/gui/missing-val-dialog.h \
167 src/ui/gui/oneway-anova-dialog.c \
168 src/ui/gui/oneway-anova-dialog.h \
169 src/ui/gui/psppire.c \
170 src/ui/gui/psppire.h \
171 src/ui/gui/psppire-acr.h \
172 src/ui/gui/psppire-buttonbox.h \
173 src/ui/gui/psppire-conf.c \
174 src/ui/gui/psppire-conf.h \
175 src/ui/gui/psppire-data-editor.c \
176 src/ui/gui/psppire-data-editor.h \
177 src/ui/gui/psppire-data-store.c \
178 src/ui/gui/psppire-data-store.h \
179 src/ui/gui/psppire-data-window.c \
180 src/ui/gui/psppire-data-window.h \
181 src/ui/gui/psppire-dialog.h \
182 src/ui/gui/psppire-dict.c \
183 src/ui/gui/psppire-dict.h \
184 src/ui/gui/psppire-dictview.c \
185 src/ui/gui/psppire-dictview.h \
186 src/ui/gui/psppire-hbuttonbox.h \
187 src/ui/gui/psppire-keypad.h \
188 src/ui/gui/psppire-output-window.c \
189 src/ui/gui/psppire-output-window.h \
190 src/ui/gui/psppire-var-view.c \
191 src/ui/gui/psppire-var-view.h \
192 src/ui/gui/psppire-selector.h \
193 src/ui/gui/psppire-select-dest.c \
194 src/ui/gui/psppire-select-dest.h \
195 src/ui/gui/psppire-syntax-window.c \
196 src/ui/gui/psppire-syntax-window.h \
197 src/ui/gui/psppire-var-ptr.c \
198 src/ui/gui/psppire-var-ptr.h \
199 src/ui/gui/psppire-var-sheet.c \
200 src/ui/gui/psppire-var-sheet.h \
201 src/ui/gui/psppire-var-store.c \
202 src/ui/gui/psppire-var-store.h \
203 src/ui/gui/psppire-vbuttonbox.h \
204 src/ui/gui/psppire-window.c \
205 src/ui/gui/psppire-window.h \
206 src/ui/gui/psppire-window-register.c \
207 src/ui/gui/psppire-window-register.h \
208 src/ui/gui/rank-dialog.c \
209 src/ui/gui/rank-dialog.h \
210 src/ui/gui/recode-dialog.c \
211 src/ui/gui/recode-dialog.h \
212 src/ui/gui/regression-dialog.c \
213 src/ui/gui/regression-dialog.h \
214 src/ui/gui/reliability-dialog.c \
215 src/ui/gui/reliability-dialog.h \
216 src/ui/gui/roc-dialog.c \
217 src/ui/gui/roc-dialog.h \
218 src/ui/gui/select-cases-dialog.c \
219 src/ui/gui/select-cases-dialog.h \
220 src/ui/gui/sort-cases-dialog.c \
221 src/ui/gui/sort-cases-dialog.h \
222 src/ui/gui/split-file-dialog.c \
223 src/ui/gui/split-file-dialog.h \
224 src/ui/gui/syntax-editor-source.c \
225 src/ui/gui/syntax-editor-source.h \
226 src/ui/gui/text-data-import-dialog.c \
227 src/ui/gui/text-data-import-dialog.h \
228 src/ui/gui/transpose-dialog.c \
229 src/ui/gui/transpose-dialog.h \
230 src/ui/gui/t-test-independent-samples-dialog.c \
231 src/ui/gui/t-test-independent-samples-dialog.h \
232 src/ui/gui/t-test-one-sample.c \
233 src/ui/gui/t-test-one-sample.h \
234 src/ui/gui/t-test-options.c \
235 src/ui/gui/t-test-options.h \
236 src/ui/gui/t-test-paired-samples.c \
237 src/ui/gui/t-test-paired-samples.h \
238 src/ui/gui/val-labs-dialog.c \
239 src/ui/gui/val-labs-dialog.h \
240 src/ui/gui/var-display.c \
241 src/ui/gui/var-display.h \
242 src/ui/gui/variable-info-dialog.c \
243 src/ui/gui/variable-info-dialog.h \
244 src/ui/gui/var-type-dialog.c \
245 src/ui/gui/var-type-dialog.h \
246 src/ui/gui/weight-cases-dialog.c \
247 src/ui/gui/weight-cases-dialog.h \
248 src/ui/gui/widget-io.c \
249 src/ui/gui/widget-io.h \
250 src/ui/gui/widgets.c \
253 nodist_src_ui_gui_psppire_SOURCES = \
254 src/ui/gui/psppire-marshal.c \
255 src/ui/gui/psppire-marshal.h
259 @if ! yelp --version > /dev/null 2>&1 ; then \
261 echo ' The Yelp document viewer does not seem to be installed on the system.' ; \
262 echo ' If Yelp is not available at run time, then the PSPPIRE online reference' ; \
263 echo ' manual will not be available.' ; \
264 echo ' Yelp is available from the GNOME project. ftp://ftp.gnome.org/pub/gnome/sources/yelp' ; \
272 src/ui/gui/psppire-marshal.c: src/ui/gui/marshaller-list
273 echo '#include <config.h>' > $@
274 $(GLIB_GENMARSHAL) --body --prefix=psppire_marshal $? >> $@
276 src/ui/gui/psppire-marshal.h: src/ui/gui/marshaller-list
277 $(GLIB_GENMARSHAL) --header --prefix=psppire_marshal $? > $@
279 desktopdir = $(datadir)/applications
280 desktop_DATA = src/ui/gui/pspp.desktop
282 BUILT_SOURCES += src/ui/gui/psppire-marshal.c src/ui/gui/psppire-marshal.h
283 CLEANFILES += src/ui/gui/psppire-marshal.c src/ui/gui/psppire-marshal.h \
284 $(nodist_src_ui_gui_psppire_DATA)
287 #ensure the installcheck passes even if there is no X server available
289 DISPLAY=/invalid/port $(MAKE) $(AM_MAKEFLAGS) installcheck-binPROGRAMS