-I$(top_srcdir)/ltk \
-DDATADIR=\""$(datadir)"\" \
-DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
- $(EXTRA_GNOME_CFLAGS) \
+ -DGNOMEICONDIR=\""$(datadir)/pixmaps"\" \
+ $(EXTRA_GNOME_CFLAGS) \
$(libpaper_CFLAGS)
if WITH_GNOME
gui = xpdf
endif
+BUILT_SOURCES = \
+ gpdf-marshal.c \
+ gpdf-marshal.h
+
bin_PROGRAMS = $(gui)
# pdftops pdftotext
# pdfinfo pdftopbm
gpdf-control.cc \
gpdf-control.h \
gpdf-g-switch.h \
- gpdf-gnome-font.c \
- gpdf-gnome-font.h \
gpdf-persist-stream.cc \
gpdf-persist-stream.h \
+ gpdf-stock-icons.c \
+ gpdf-stock-icons.h \
gpdf-util.h \
gpdf-view.cc \
gpdf-view.h \
gtkgesture.c \
- gtkgesture.h
+ gtkgesture.h \
+ page-control.c \
+ page-control.h \
+ pdf-properties-display.c \
+ pdf-properties-display.h \
+ $(BUILT_SOURCES)
+
+# Font embedding hack for Gnome Print < 2.1.?2?
+# gpdf-gnome-font.c \
+# gpdf-gnome-font.h \
+
+# Old files
# GOutputDev.cc \
# GOutputDev.h \
# pdf-view.cc \
# gpdf-embeddable.cc \
# gpdf-embeddable.h \
# gpdf-embeddable-view.cc \
-# gpdf-embeddable-view.h \
+# gpdf-embeddable-view.h
gnome_pdf_viewer_LDADD = \
$(top_builddir)/goo/libgoo.a \
# zoomIn.xbm
# zoomOut.xbm
+gpdf-marshal.h: gpdf-marshal.list $(GLIB_GENMARSHAL)
+ $(GLIB_GENMARSHAL) $< --header --prefix=gpdf_marshal > $@
-stockdir = $(datadir)/pixmaps/gpdf
-stock_DATA = stock-zoom-fit-wide.xpm
+gpdf-marshal.c: gpdf-marshal.list $(GLIB_GENMARSHAL)
+ echo "#include \"gpdf-marshal.h\"" > $@ && \
+ $(GLIB_GENMARSHAL) $< --body --prefix=gpdf_marshal >> $@
-ltk = \
- xpdf-flip.ltk \
- xpdf-top.ltk \
- xpdf.ltk
+stockdir = $(datadir)/pixmaps/gpdf
+stock_DATA = fitwidth.png
+gladedir = $(datadir)/gpdf/glade
+glade_DATA = \
+ gpdf-properties-dialog.glade
server_in_files = GNOME_PDF.server.in.in
-
serverdir = $(libdir)/bonobo/servers
server_DATA = $(server_in_files:.server.in.in=.server)
$(server_in_files:.server.in.in=.server.in): $(server_in_files)
bonobo-application-x-pdf-ui.xml \
gpdf-control-ui.xml
+CLEANFILES = $(server_DATA) $(BUILT_SOURCES)
+DISTCLEANFILES = $(server_in_files:.server.in.in=.server.in)
-EXTRA_DIST = $(stock_DATA) $(ltk) \
+EXTRA_DIST = $(stock_DATA) \
+ gpdf-marshal.list \
$(server_in_files) config.h $(ui_DATA)