1if BUILD_SPLASH_OUTPUT
2
3pdftoppm_SOURCES =				\
4	pdftoppm.cc				\
5	$(common)
6
7pdftoppm_binary = pdftoppm
8
9pdftoppm_manpage = pdftoppm.1
10
11endif
12
13INCLUDES =					\
14	-I$(top_srcdir)				\
15	-I$(top_srcdir)/goo			\
16	-I$(top_srcdir)/utils			\
17	-I$(top_srcdir)/poppler			\
18	$(UTILS_CFLAGS)				\
19	$(FONTCONFIG_CFLAGS)			\
20	$(ABIWORD_CFLAGS)
21
22LDADD =						\
23	$(top_builddir)/poppler/libpoppler.la	\
24	$(UTILS_LIBS)				\
25	$(FONTCONFIG_LIBS)
26
27if BUILD_ABIWORD_OUTPUT
28
29pdftoabw_SOURCES =				\
30	pdftoabw.cc				\
31	$(common)
32
33pdftoabw_LDADD = $(LDADD) $(ABIWORD_LIBS)
34
35pdftoabw_binary = pdftoabw
36
37endif
38
39AM_LDFLAGS = @auto_import_flags@
40
41bin_PROGRAMS =					\
42	pdffonts				\
43	pdfimages				\
44	pdfinfo					\
45	pdftops					\
46	pdftotext				\
47	pdftohtml				\
48	$(pdftoppm_binary)			\
49	$(pdftoabw_binary)
50
51dist_man1_MANS =				\
52	pdffonts.1				\
53	pdfimages.1				\
54	pdfinfo.1				\
55	pdftops.1				\
56	pdftotext.1				\
57	pdftohtml.1				\
58	$(pdftoppm_manpage)
59
60common = parseargs.cc parseargs.h
61
62pdffonts_SOURCES =				\
63	pdffonts.cc				\
64	$(common)
65
66pdfimages_SOURCES =				\
67	pdfimages.cc				\
68	ImageOutputDev.cc			\
69	ImageOutputDev.h			\
70	$(common)
71
72pdfinfo_SOURCES =				\
73	pdfinfo.cc				\
74	printencodings.cc			\
75	printencodings.h			\
76	$(common)
77
78pdftops_SOURCES =				\
79	pdftops.cc				\
80	$(common)
81
82pdftotext_SOURCES =				\
83	pdftotext.cc				\
84	printencodings.cc			\
85	printencodings.h			\
86	$(common)
87
88pdftohtml_SOURCES =				\
89	pdftohtml.cc				\
90	HtmlFonts.cc				\
91	HtmlFonts.h				\
92	HtmlLinks.cc				\
93	HtmlLinks.h				\
94	HtmlOutputDev.cc			\
95	HtmlOutputDev.h				\
96	$(common)
97
98# Yay, automake!  It should be able to figure out that it has to dist
99# pdftoppm.1, but nooo.  So we just add it here.
100
101EXTRA_DIST = pdf2xml.dtd pdftoppm.1
102