X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fautomake.mk;h=52bd049b9ac620425de485d1177c4c36ac6a2119;hb=a6aad395f291b161ebed2f0d783919f108438c90;hp=651f5905ee818bfbc50b5f4f97b130b7eb27658d;hpb=fd3d64301598af490d54df88fb485853521e283f;p=pspp-builds.git diff --git a/src/ui/gui/automake.mk b/src/ui/gui/automake.mk index 651f5905..52bd049b 100644 --- a/src/ui/gui/automake.mk +++ b/src/ui/gui/automake.mk @@ -1,16 +1,17 @@ ## Process this file with automake to produce Makefile.in -*- makefile -*- +include $(top_srcdir)/src/ui/gui/sheet/automake.mk + bin_PROGRAMS += src/ui/gui/psppire src_ui_gui_psppire_CFLAGS = $(GTK_CFLAGS) $(GLADE_CFLAGS) -Wall \ - -DINSTALLDIR=\"$(bindir)\" + -DINSTALLDIR=\"$(bindir)\" -DGDK_MULTIHEAD_SAFE=1 src_ui_gui_psppire_LDFLAGS = \ $(PG_LDFLAGS) - if RELOCATABLE_VIA_LD src_ui_gui_psppire_LDFLAGS += `$(RELOCATABLE_LDFLAGS) $(bindir)` else @@ -52,22 +53,14 @@ src_ui_gui_libpsppire_la_SOURCES = \ src_ui_gui_psppire_LDADD = \ -dlopen src/ui/gui/libpsppire.la \ src/ui/gui/libpsppwidgets.la \ - lib/gtksheet/libgtksheet.a \ - src/language/liblanguage.a \ - src/ui/libuicommon.a \ - src/output/charts/libcharts.a \ - src/output/liboutput.a \ - src/math/libpspp_math.a \ - src/math/linreg/libpspp_linreg.a \ - lib/linreg/liblinreg.a \ - lib/gsl-extras/libgsl-extras.a \ - src/data/libdata.a \ - src/libpspp/libpspp.a \ + src/ui/gui/sheet/libsheet.la \ + lib/gtk-contrib/libgtksheet.a \ + src/ui/libuicommon.la \ + src/libpspp.la \ + src/libpspp-core.la \ $(GTK_LIBS) \ $(GLADE_LIBS) \ - $(PG_LIBS) \ - gl/libgl.la \ - @LIBINTL@ @LIBREADLINE@ + @LIBINTL@ src_ui_gui_psppiredir = $(pkgdatadir) @@ -145,14 +138,11 @@ src_ui_gui_psppire_SOURCES = \ src/ui/gui/missing-val-dialog.h \ src/ui/gui/oneway-anova-dialog.c \ src/ui/gui/oneway-anova-dialog.h \ - src/ui/gui/output-viewer.c \ src/ui/gui/output-viewer.h \ src/ui/gui/psppire-acr.h \ src/ui/gui/psppire-buttonbox.h \ src/ui/gui/psppire-hbuttonbox.h \ src/ui/gui/psppire-vbuttonbox.h \ - src/ui/gui/psppire-case-file.c \ - src/ui/gui/psppire-case-file.h \ src/ui/gui/psppire-data-editor.c \ src/ui/gui/psppire-data-editor.h \ src/ui/gui/psppire-data-store.c \ @@ -180,8 +170,6 @@ src_ui_gui_psppire_SOURCES = \ src/ui/gui/sort-cases-dialog.h \ src/ui/gui/split-file-dialog.c \ src/ui/gui/split-file-dialog.h \ - src/ui/gui/syntax-editor.c \ - src/ui/gui/syntax-editor.h \ src/ui/gui/syntax-editor-source.c \ src/ui/gui/syntax-editor-source.h \ src/ui/gui/text-data-import-dialog.c \ @@ -208,9 +196,22 @@ src_ui_gui_psppire_SOURCES = \ src/ui/gui/weight-cases-dialog.h \ src/ui/gui/widget-io.c \ src/ui/gui/widget-io.h \ + src/ui/gui/psppire-output-window.c \ + src/ui/gui/psppire-output-window.h \ + src/ui/gui/psppire-window.c \ + src/ui/gui/psppire-window.h \ + src/ui/gui/psppire-syntax-window.c \ + src/ui/gui/psppire-syntax-window.h \ src/ui/gui/window-manager.c \ src/ui/gui/window-manager.h +nodist_src_ui_gui_psppire_SOURCES = \ + src/ui/gui/psppire-marshal.c \ + src/ui/gui/psppire-marshal.h + + + + yelp-check: @if ! yelp --version > /dev/null 2>&1 ; then \ echo ; \ @@ -220,4 +221,18 @@ yelp-check: echo ' Yelp is available from the GNOME project. ftp://ftp.gnome.org/pub/gnome/sources/yelp' ; \ echo ; \ fi -.PHONY: yelp-check +PHONY += yelp-check + +AM_CPPFLAGS += -Isrc + +src/ui/gui/psppire-marshal.c: src/ui/gui/marshaller-list + glib-genmarshal --body --prefix=psppire_marshal $< > $@ + +src/ui/gui/psppire-marshal.h: src/ui/gui/marshaller-list + glib-genmarshal --header --prefix=psppire_marshal $< > $@ + +EXTRA_DIST += src/ui/gui/OChangeLog\ + src/ui/gui/marshaller-list + +BUILT_SOURCES += src/ui/gui/psppire-marshal.c src/ui/gui/psppire-marshal.h +CLEANFILES += src/ui/gui/psppire-marshal.c src/ui/gui/psppire-marshal.h