X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2FMakefile.am;h=0175b5a22805ca791b34ce0a354ce1369b98b0fd;hb=e62fbd4433b5039abab3986590c900d661ffe67a;hp=0262c37b31e566b4a1857096dadf3fe908675922;hpb=796028ef614e6cfbdfba67927fe9696efaac1269;p=evince.git diff --git a/shell/Makefile.am b/shell/Makefile.am index 0262c37b..0175b5a2 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -1,5 +1,3 @@ -QUIET_GEN = $(Q:@=@echo ' GEN '$@;) - INCLUDES= \ -DDATADIR=\"$(pkgdatadir)\" \ -DGNOMEDATADIR=\"$(datadir)\" \ @@ -87,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 \ @@ -112,19 +116,14 @@ EXTRA_DIST = ev-marshal.list \ ev-marshal.h: $(srcdir)/ev-marshal.list - $(QUIET_GEN)$(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 - $(QUIET_GEN)echo '#include "ev-marshal.h"' > ev-marshal.c - $(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --body >> ev-marshal.c + echo '#include "ev-marshal.h"' > 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 - $(QUIET_GEN)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 - $(QUIET_GEN)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