X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2FMakefile.am;h=0175b5a22805ca791b34ce0a354ce1369b98b0fd;hb=41d20da33041ddfb49fdb567e65d64a62d41c8c8;hp=737fccf5b5e1d4aa845af295f60c23b8577bcb85;hpb=a01fab9d01d6bd9fe2b479cbcbc7ee5fe7d69515;p=evince.git diff --git a/shell/Makefile.am b/shell/Makefile.am index 737fccf5..0175b5a2 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -85,6 +85,12 @@ evince_SOURCES= \ ev-sidebar-thumbnails.h \ main.c +evince_LDFLAGS = $(AM_LDFLAGS) + +if PLATFORM_WIN32 +evince_LDFLAGS += -mwindows +endif + evince_LDADD= \ $(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la \ $(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la \ @@ -110,19 +116,14 @@ EXTRA_DIST = ev-marshal.list \ ev-marshal.h: $(srcdir)/ev-marshal.list - $(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --header > ev-marshal.h + $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --header > ev-marshal.h ev-marshal.c: $(srcdir)/ev-marshal.list echo '#include "ev-marshal.h"' > ev-marshal.c - $(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --body >> ev-marshal.c + $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --body >> ev-marshal.c DISTCLEANFILES= \ ev-application-service.h -if DBUS_TOOL_NO_PREFIX ev-application-service.h: $(srcdir)/ev-application-service.xml - dbus-binding-tool --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml -else -ev-application-service.h: $(srcdir)/ev-application-service.xml - dbus-binding-tool --prefix=ev_application --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml -endif + $(AM_V_GEN)dbus-binding-tool --prefix=ev_application --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml