Makefile.am 791 Bytes
Newer Older
Kristian Høgsberg's avatar
Kristian Høgsberg committed
1 2
if BUILD_SPLASH_OUTPUT
splash_subdir = splash
3 4 5 6 7
splash_pc_file = poppler-splash.pc
endif

if BUILD_CAIRO_OUTPUT
cairo_pc_file = poppler-cairo.pc
Kristian Høgsberg's avatar
Kristian Høgsberg committed
8 9
endif

10 11 12 13 14
if BUILD_POPPLER_GLIB
glib_subdir = glib
glib_pc_file = poppler-glib.pc
endif

15 16 17 18 19
if BUILD_POPPLER_QT
qt_subdir = qt
qt_pc_file = poppler-qt.pc
endif

20 21 22 23 24 25
if BUILD_POPPLER_QT4
qt4_subdir = qt4
qt4_pc_file = poppler-qt4.pc
endif

SUBDIRS = goo fofi $(splash_subdir) poppler $(glib_subdir) $(qt_subdir) test $(qt4_subdir)
Kristian Høgsberg's avatar
Kristian Høgsberg committed
26 27 28 29 30

EXTRA_DIST =					\
	README-XPDF				\
	poppler.pc.in				\
	poppler-cairo.pc.in			\
31 32
	poppler-splash.pc.in			\
	poppler-qt.pc.in
Kristian Høgsberg's avatar
Kristian Høgsberg committed
33 34 35 36 37

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA =				\
	poppler.pc				\
	$(cairo_pc_file)			\
38
	$(splash_pc_file)			\
39
	$(glib_pc_file)				\
40 41
	$(qt_pc_file)                           \
	$(qt4_pc_file)