1 ## Process this file with automake to produce Makefile.in -*- makefile -*-
3 include $(top_srcdir)/src/ui/gui/sheet/automake.mk
5 bin_PROGRAMS += src/ui/gui/psppire
7 src_ui_gui_psppire_CFLAGS = $(GTK_CFLAGS) -Wall -DGDK_MULTIHEAD_SAFE=1
10 src_ui_gui_psppire_LDFLAGS = \
16 src_ui_gui_psppire_LDFLAGS += `$(RELOCATABLE_LDFLAGS) $(bindir)`
18 src_ui_gui_psppire_LDFLAGS += -rpath $(pkglibdir)
22 src_ui_gui_psppire_LDADD = \
23 src/ui/gui/sheet/libsheet.la \
24 lib/gtk-contrib/libgtksheet.a \
25 src/ui/libuicommon.la \
32 src_ui_gui_psppiredir = $(pkgdatadir)
35 themedir = $(DESTDIR)$(datadir)/icons/hicolor
40 for size in 16x16 ; do \
41 $(MKDIR_P) $(themedir)/$$size/$(context) ; \
42 $(INSTALL) $(top_srcdir)/src/ui/gui/psppicon.png $(themedir)/$$size/$(context) ; \
44 gtk-update-icon-cache --ignore-theme-index $(themedir)
46 INSTALL_DATA_HOOKS += install-icons
49 for size in 16x16 ; do \
50 rm -f $(themedir)/$$size/$(context)/psppicon.png ; \
52 gtk-update-icon-cache --ignore-theme-index $(themedir)
54 UNINSTALL_DATA_HOOKS += uninstall-icons
58 src/ui/gui/correlation.ui \
59 src/ui/gui/crosstabs.ui \
60 src/ui/gui/descriptives.ui \
61 src/ui/gui/examine.ui \
63 src/ui/gui/frequencies.ui \
64 src/ui/gui/message-dialog.ui \
65 src/ui/gui/oneway.ui \
66 src/ui/gui/psppire.ui \
69 src/ui/gui/recode.ui \
70 src/ui/gui/regression.ui \
71 src/ui/gui/reliability.ui \
73 src/ui/gui/t-test.ui \
74 src/ui/gui/text-data-import.ui \
75 src/ui/gui/var-sheet-dialogs.ui \
76 src/ui/gui/variable-info.ui
78 nodist_src_ui_gui_psppire_DATA = \
79 $(top_builddir)/src/ui/gui/data-editor.ui \
80 $(top_builddir)/src/ui/gui/output-viewer.ui \
81 $(top_builddir)/src/ui/gui/syntax-editor.ui
84 dist_src_ui_gui_psppire_DATA = \
86 $(top_srcdir)/src/ui/gui/pspplogo.png \
87 $(top_srcdir)/src/ui/gui/icons/value-labels.png \
88 $(top_srcdir)/src/ui/gui/icons/goto-variable.png\
89 $(top_srcdir)/src/ui/gui/icons/insert-case.png \
90 $(top_srcdir)/src/ui/gui/icons/insert-variable.png \
91 $(top_srcdir)/src/ui/gui/icons/recent-dialogs.png \
92 $(top_srcdir)/src/ui/gui/icons/split-file.png \
93 $(top_srcdir)/src/ui/gui/icons/select-cases.png \
94 $(top_srcdir)/src/ui/gui/icons/weight-cases.png \
95 $(top_srcdir)/src/ui/gui/icons/16x16/nominal.png \
96 $(top_srcdir)/src/ui/gui/icons/16x16/ordinal.png \
97 $(top_srcdir)/src/ui/gui/icons/16x16/scale.png \
98 $(top_srcdir)/src/ui/gui/icons/16x16/string.png \
99 $(top_srcdir)/src/ui/gui/icons/16x16/date-scale.png \
100 $(top_srcdir)/src/ui/gui/icons/splash.png
103 src_ui_gui_psppire_SOURCES = \
104 src/ui/gui/psppire-dialog.c \
105 src/ui/gui/psppire-keypad.c \
106 src/ui/gui/psppire-selector.c \
107 src/ui/gui/psppire-buttonbox.c \
108 src/ui/gui/psppire-hbuttonbox.c \
109 src/ui/gui/psppire-vbuttonbox.c \
110 src/ui/gui/psppire-acr.c \
113 src/ui/gui/checkbox-treeview.c \
114 src/ui/gui/checkbox-treeview.h \
115 src/ui/gui/comments-dialog.c \
116 src/ui/gui/comments-dialog.h \
117 src/ui/gui/compute-dialog.c \
118 src/ui/gui/compute-dialog.h \
119 src/ui/gui/correlation-dialog.c \
120 src/ui/gui/correlation-dialog.h \
121 src/ui/gui/crosstabs-dialog.c \
122 src/ui/gui/crosstabs-dialog.h \
123 src/ui/gui/customentry.c \
124 src/ui/gui/customentry.h \
125 src/ui/gui/descriptives-dialog.c \
126 src/ui/gui/descriptives-dialog.h \
127 src/ui/gui/dialog-common.c \
128 src/ui/gui/dialog-common.h \
129 src/ui/gui/dict-display.h \
130 src/ui/gui/dict-display.c \
131 src/ui/gui/examine-dialog.c \
132 src/ui/gui/examine-dialog.h \
133 src/ui/gui/executor.c \
134 src/ui/gui/executor.h \
135 src/ui/gui/find-dialog.c \
136 src/ui/gui/find-dialog.h \
137 src/ui/gui/frequencies-dialog.c \
138 src/ui/gui/frequencies-dialog.h \
139 src/ui/gui/goto-case-dialog.c \
140 src/ui/gui/goto-case-dialog.h \
141 src/ui/gui/helper.c \
142 src/ui/gui/helper.h \
144 src/ui/gui/message-dialog.c \
145 src/ui/gui/message-dialog.h \
146 src/ui/gui/missing-val-dialog.c \
147 src/ui/gui/missing-val-dialog.h \
148 src/ui/gui/oneway-anova-dialog.c \
149 src/ui/gui/oneway-anova-dialog.h \
150 src/ui/gui/psppire.c \
151 src/ui/gui/psppire.h \
152 src/ui/gui/psppire-acr.h \
153 src/ui/gui/psppire-buttonbox.h \
154 src/ui/gui/psppire-conf.c \
155 src/ui/gui/psppire-conf.h \
156 src/ui/gui/psppire-data-editor.c \
157 src/ui/gui/psppire-data-editor.h \
158 src/ui/gui/psppire-data-store.c \
159 src/ui/gui/psppire-data-store.h \
160 src/ui/gui/psppire-data-window.c \
161 src/ui/gui/psppire-data-window.h \
162 src/ui/gui/psppire-dialog.h \
163 src/ui/gui/psppire-dict.c \
164 src/ui/gui/psppire-dict.h \
165 src/ui/gui/psppire-dictview.c \
166 src/ui/gui/psppire-dictview.h \
167 src/ui/gui/psppire-hbuttonbox.h \
168 src/ui/gui/psppire-keypad.h \
169 src/ui/gui/psppire-output-window.c \
170 src/ui/gui/psppire-output-window.h \
171 src/ui/gui/psppire-var-view.c \
172 src/ui/gui/psppire-var-view.h \
173 src/ui/gui/psppire-selector.h \
174 src/ui/gui/psppire-select-dest.c \
175 src/ui/gui/psppire-select-dest.h \
176 src/ui/gui/psppire-syntax-window.c \
177 src/ui/gui/psppire-syntax-window.h \
178 src/ui/gui/psppire-var-ptr.c \
179 src/ui/gui/psppire-var-ptr.h \
180 src/ui/gui/psppire-var-sheet.c \
181 src/ui/gui/psppire-var-sheet.h \
182 src/ui/gui/psppire-var-store.c \
183 src/ui/gui/psppire-var-store.h \
184 src/ui/gui/psppire-vbuttonbox.h \
185 src/ui/gui/psppire-window.c \
186 src/ui/gui/psppire-window.h \
187 src/ui/gui/psppire-window-register.c \
188 src/ui/gui/psppire-window-register.h \
189 src/ui/gui/rank-dialog.c \
190 src/ui/gui/rank-dialog.h \
191 src/ui/gui/recode-dialog.c \
192 src/ui/gui/recode-dialog.h \
193 src/ui/gui/regression-dialog.c \
194 src/ui/gui/regression-dialog.h \
195 src/ui/gui/reliability-dialog.c \
196 src/ui/gui/reliability-dialog.h \
197 src/ui/gui/roc-dialog.c \
198 src/ui/gui/roc-dialog.h \
199 src/ui/gui/select-cases-dialog.c \
200 src/ui/gui/select-cases-dialog.h \
201 src/ui/gui/sort-cases-dialog.c \
202 src/ui/gui/sort-cases-dialog.h \
203 src/ui/gui/split-file-dialog.c \
204 src/ui/gui/split-file-dialog.h \
205 src/ui/gui/syntax-editor-source.c \
206 src/ui/gui/syntax-editor-source.h \
207 src/ui/gui/text-data-import-dialog.c \
208 src/ui/gui/text-data-import-dialog.h \
209 src/ui/gui/transpose-dialog.c \
210 src/ui/gui/transpose-dialog.h \
211 src/ui/gui/t-test-independent-samples-dialog.c \
212 src/ui/gui/t-test-independent-samples-dialog.h \
213 src/ui/gui/t-test-one-sample.c \
214 src/ui/gui/t-test-one-sample.h \
215 src/ui/gui/t-test-options.c \
216 src/ui/gui/t-test-options.h \
217 src/ui/gui/t-test-paired-samples.c \
218 src/ui/gui/t-test-paired-samples.h \
219 src/ui/gui/val-labs-dialog.c \
220 src/ui/gui/val-labs-dialog.h \
221 src/ui/gui/var-display.c \
222 src/ui/gui/var-display.h \
223 src/ui/gui/variable-info-dialog.c \
224 src/ui/gui/variable-info-dialog.h \
225 src/ui/gui/var-type-dialog.c \
226 src/ui/gui/var-type-dialog.h \
227 src/ui/gui/weight-cases-dialog.c \
228 src/ui/gui/weight-cases-dialog.h \
229 src/ui/gui/widget-io.c \
230 src/ui/gui/widget-io.h \
231 src/ui/gui/widgets.c \
232 src/ui/gui/widgets.h \
233 src/ui/gui/data-editor.glade \
234 src/ui/gui/output-viewer.glade \
235 src/ui/gui/syntax-editor.glade
238 nodist_src_ui_gui_psppire_SOURCES = \
239 src/ui/gui/psppire-marshal.c \
240 src/ui/gui/psppire-marshal.h
244 @if ! yelp --version > /dev/null 2>&1 ; then \
246 echo ' The Yelp document viewer does not seem to be installed on the system.' ; \
247 echo ' If Yelp is not available at run time, then the PSPPIRE online reference' ; \
248 echo ' manual will not be available.' ; \
249 echo ' Yelp is available from the GNOME project. ftp://ftp.gnome.org/pub/gnome/sources/yelp' ; \
257 src/ui/gui/psppire-marshal.c: src/ui/gui/marshaller-list
258 echo '#include <config.h>' > $@
259 glib-genmarshal --body --prefix=psppire_marshal $? >> $@
261 src/ui/gui/psppire-marshal.h: src/ui/gui/marshaller-list
262 glib-genmarshal --header --prefix=psppire_marshal $? > $@
264 SUFFIXES += .glade .ui
266 $(top_srcdir)/lib/gtk-contrib/gtk-builder-convert $< $@
268 desktopdir = $(datadir)/applications
269 desktop_DATA = src/ui/gui/pspp.desktop
271 EXTRA_DIST += src/ui/gui/OChangeLog\
272 src/ui/gui/psppicon.png \
273 src/ui/gui/marshaller-list \
276 BUILT_SOURCES += src/ui/gui/psppire-marshal.c src/ui/gui/psppire-marshal.h
277 CLEANFILES += src/ui/gui/psppire-marshal.c src/ui/gui/psppire-marshal.h \
278 $(nodist_src_ui_gui_psppire_DATA)