X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=backend%2Fps%2FMakefile.am;h=b6c21f65c59806f54bc7d2ab09c2d5d782c97318;hb=3d3c4a5a08f1b8b536542735110c1376fb3e30bf;hp=921e3977b3bb34cd5783b0f67ec52f99173d9778;hpb=945efc9392d4c4b5d6a211ed4ccac376bf8c3066;p=evince.git diff --git a/backend/ps/Makefile.am b/backend/ps/Makefile.am index 921e3977..b6c21f65 100644 --- a/backend/ps/Makefile.am +++ b/backend/ps/Makefile.am @@ -1,31 +1,31 @@ -INCLUDES = \ - -I$(top_srcdir) \ - -I$(top_srcdir)/libdocument \ - $(BACKEND_CFLAGS) \ - $(WARN_CFLAGS) \ +INCLUDES = \ + -I$(top_srcdir) \ + -I$(top_srcdir)/libdocument \ + -DGNOMELOCALEDIR=\"$(datadir)/locale\" \ + -DEVINCE_COMPILATION \ + $(BACKEND_CFLAGS) \ + $(SPECTRE_CFLAGS) \ + $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED) -if HAVE_SPECTRE -INCLUDES += $(SPECTRE_CFLAGS) -endif +backend_LTLIBRARIES = libpsdocument.la -noinst_LTLIBRARIES = libpsdocument.la - -if HAVE_SPECTRE libpsdocument_la_SOURCES = \ ev-spectre.c \ ev-spectre.h -else -libpsdocument_la_SOURCES = \ - gsio.c \ - gsio.h \ - gstypes.h \ - ps.c \ - ps.h \ - ps-document.c \ - ps-document.h \ - ps-interpreter.c \ - ps-interpreter.h \ - gsdefaults.c \ - gsdefaults.h -endif + +libpsdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS) +libpsdocument_la_LIBADD = \ + $(top_builddir)/libdocument/libevdocument.la \ + $(BACKEND_LIBS) \ + $(SPECTRE_LIBS) + +backend_in_files = psdocument.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)