X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=backend%2Fdvi%2FMakefile.am;h=2f6c9f70a10a3376b86f937403e4de5ec7f97780;hb=f343927df4325959193353c52cff1ea4b20b2286;hp=10325e069a653e5770c5ea51d63a37cb6799d54c;hpb=d24b16f917ca749e9ffebbec8eca0ee791e1b67a;p=evince.git diff --git a/backend/dvi/Makefile.am b/backend/dvi/Makefile.am index 10325e06..2f6c9f70 100644 --- a/backend/dvi/Makefile.am +++ b/backend/dvi/Makefile.am @@ -1,23 +1,46 @@ SUBDIRS = mdvi-lib -INCLUDES = \ - -I$(top_srcdir) \ - -I$(top_srcdir)/libdocument \ - -I$(srcdir)/mdvi-lib \ - $(LIB_CFLAGS) \ +backenddir = $(libdir)/evince/backends + +INCLUDES = \ + -I$(top_srcdir) \ + -I$(top_srcdir)/libdocument \ + -I$(srcdir)/mdvi-lib \ + -DGNOMELOCALEDIR=\"$(datadir)/locale\" \ + $(BACKEND_CFLAGS) \ $(SPECTRE_CFLAGS) -noinst_LTLIBRARIES = libgtkdvi.la - -libgtkdvi_la_SOURCES = \ - dvi-document.c \ - dvi-document.h \ - cairo-device.c \ - cairo-device.h \ - fonts.c \ +backend_LTLIBRARIES = libdvidocument.la + +libdvidocument_la_SOURCES = \ + dvi-document.c \ + dvi-document.h \ + cairo-device.c \ + cairo-device.h \ + fonts.c \ fonts.h -libgtkdvi_la_LIBADD = mdvi-lib/libmdvi.la +libdvidocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS) +libdvidocument_la_LIBADD = \ + mdvi-lib/libmdvi.la \ + -lkpathsea \ + $(top_builddir)/libdocument/libevbackend.la \ + $(BACKEND_LIBS) \ + $(SPECTRE_LIBS) + +if WITH_TYPE1_FONTS +libdvidocument_la_LIBADD += -lt1 +endif + +backend_in_files = dvidocument.evince-backend.in + +%.evince-backend: %.evince-backend.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache + +backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend) + +EXTRA_DIST = $(backend_in_files) + +CLEANFILES = $(backend_DATA)