X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=previewer%2FMakefile.am;h=b6fdcb10231726959c0a75491c21fece8704e291;hb=38c1b9aab8bfb41de6dc07df26fd6743a63ea015;hp=785ffd5877b56af09621949ab0a11c5687ef862a;hpb=faace27fc6850ac153a41d47e51dfbd589dc1411;p=evince.git diff --git a/previewer/Makefile.am b/previewer/Makefile.am index 785ffd58..b6fdcb10 100644 --- a/previewer/Makefile.am +++ b/previewer/Makefile.am @@ -7,13 +7,12 @@ evince_previewer_SOURCES = \ ev-previewer-window.c evince_previewer_CPPFLAGS = \ - -DDATADIR=\"$(pkgdatadir)\" \ + -DEVINCEDATADIR=\"$(pkgdatadir)\" \ -I$(top_srcdir) \ -I$(top_builddir) \ -I$(top_srcdir)/libdocument \ -I$(top_srcdir)/libview \ -I$(top_srcdir)/libmisc \ - -DGNOMELOCALEDIR=\"$(datadir)/locale\" \ $(AM_CPPFLAGS) evince_previewer_CFLAGS = \ @@ -22,9 +21,17 @@ evince_previewer_CFLAGS = \ $(DISABLE_DEPRECATED) \ $(AM_CFLAGS) +evince_previewer_LDFLAGS = $(AM_LDFLAGS) + +if PLATFORM_WIN32 +evince_previewer_LDFLAGS += -mwindows +endif + evince_previewer_LDADD = \ - $(top_builddir)/libdocument/libevdocument.la \ - $(top_builddir)/libview/libevview.la \ + $(top_builddir)/libdocument/libevdocument3.la \ + $(top_builddir)/libview/libevview3.la \ $(top_builddir)/libmisc/libevmisc.la \ $(PREVIEWER_LIBS) + +-include $(top_srcdir)/git.mk