[poppler] evas support for poppler
Vincent Torri
vtorri at univ-evry.fr
Sun Jan 22 16:51:26 PST 2006
indeed. Here is the new Makefile.am.
Vincent
> Looking at the Makefile.am it seems you need to add some more guards so that
> the test programs are only built if the respective option is enabled. Can you
> fix that?
>
> Albert
-------------- next part --------------
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/poppler \
$(POPPLER_EVAS_CFLAGS) \
$(POPPLER_ECORE_CFLAGS) \
$(POPPLER_EWL_CFLAGS) \
$(POPPLER_ETK_CFLAGS) \
$(SPLASH_CFLAGS) \
$(FREETYPE_CFLAGS)
POPPLER_EVAS_SOURCES = \
poppler.cc \
poppler-document.cc \
poppler-fontinfo.cc \
poppler-index.cc \
poppler-page.cc \
poppler-page-transition.cc
POPPLER_EVAS_HEADER = \
poppler.h \
poppler-document.h \
poppler-enum.h \
poppler-evas.h \
poppler-fontinfo.h \
poppler-forward.h \
poppler-index.h \
poppler-page.h \
poppler-page-transition.h
if BUILD_POPPLER_EWL
POPPLER_EWL_SOURCE = ewl_pdf.c
POPPLER_EWL_HEADER = ewl_pdf.h
endif
if BUILD_POPPLER_ETK
POPPLER_ETK_SOURCE = etk_pdf.c
POPPLER_ETK_HEADER = etk_pdf.h
endif
poppler_includedir = $(includedir)/poppler/evas
poppler_include_HEADERS = $(POPPLER_EVAS_HEADER) $(POPPLER_EWL_HEADER) $(POPPLER_ETK_HEADER)
lib_LTLIBRARIES=libpoppler-evas.la
libpoppler_evas_la_SOURCES = $(POPPLER_EVAS_SOURCES) $(POPPLER_EWL_SOURCE) $(POPPLER_ETK_SOURCE)
libpoppler_evas_la_LIBADD= \
$(top_builddir)/poppler/libpoppler.la \
$(POPPLER_EVAS_LIBS) \
$(POPPLER_ECORE_LIBS) \
$(POPPLER_EWL_LIBS) \
$(POPPLER_ETK_LIBS) \
$(FREETYPE_LIBS)
if BUILD_SPLASH_OUTPUT
if BUILD_POPPLER_EWL
TEST_POPPLER_EWL = test-poppler-ewl
endif
if BUILD_POPPLER_ETK
TEST_POPPLER_ETK = test-poppler-etk
endif
noinst_PROGRAMS = test-poppler-evas $(TEST_POPPLER_EWL) $(TEST_POPPLER_ETK)
endif
test_poppler_evas_SOURCES = \
test-poppler-evas.c
test_poppler_evas_LDADD = \
$(top_builddir)/poppler/libpoppler.la \
libpoppler-evas.la \
$(POPPLER_EVAS_LIBS) \
$(POPPLER_ECORE_LIBS) \
$(FREETYPE_LIBS)
test_poppler_ewl_SOURCES = \
test-poppler-ewl.c
test_poppler_ewl_LDADD = \
$(top_builddir)/poppler/libpoppler.la \
libpoppler-evas.la \
$(POPPLER_EVAS_LIBS) \
$(POPPLER_ECORE_LIBS) \
$(POPPLER_EWL_LIBS) \
$(FREETYPE_LIBS)
test_poppler_etk_SOURCES = \
test-poppler-etk.c
test_poppler_etk_LDADD = \
$(top_builddir)/poppler/libpoppler.la \
libpoppler-evas.la \
$(POPPLER_EVAS_LIBS) \
$(POPPLER_ECORE_LIBS) \
$(POPPLER_ETK_LIBS) \
$(FREETYPE_LIBS)
More information about the poppler
mailing list