]> www.fi.muni.cz Git - evince.git/blob - pdf/xpdf/Makefile.am
1d8534c5b970694646d615efed487408b2d5f437
[evince.git] / pdf / xpdf / Makefile.am
1
2 INCLUDES =      \
3         -I$(top_srcdir)/goo     \
4         -I$(top_srcdir)/ltk     \
5         -DGPDF_GLADE_DIR=\""$(gladedir)"\"      \
6         $(EXTRA_GNOME_CFLAGS)
7         
8 if WITH_GNOME
9 gui = gpdf
10 else
11 gui = xpdf
12 endif
13         
14 bin_PROGRAMS = pdftops pdftotext pdfinfo pdftopbm pdfimages $(gui)
15
16 common_sources =                        \
17         Array.cc                \
18         Catalog.cc              \
19         Dict.cc                 \
20         Error.cc                \
21         Gfx.cc                  \
22         GfxFont.cc              \
23         GfxState.cc             \
24         Lexer.cc                \
25         Link.cc                 \
26         Object.cc               \
27         OutputDev.cc            \
28         Page.cc                 \
29         Params.cc               \
30         Parser.cc               \
31         PDFDoc.cc               \
32         Stream.cc               \
33         XRef.cc
34
35 gpdf_CFLAGS = 
36
37 gpdf_SOURCES =                  \
38         $(common_sources)       \
39         TextOutputDev.cc        \
40         GOutputDev.cc           \
41         gpdf.cc
42
43 gpdf_LDADD =                    \
44         $(EXTRA_GNOME_LIBS)     \
45         ../goo/libgoo.a
46
47 xpdf_SOURCES =                  \
48         $(common_sources)       \
49         XOutputDev.cc
50         xpdf.cc
51
52 xpdf_CFLAGS = $(X_CFLAGS)
53 xpdf_LDADD = ../goo/libgoo.a ../ltk/libltk.a $(X_EXTRA_LIBS)
54
55 pdfimages_SOURCES =             \
56         $(common_sources)       \
57         ImageOutputDev.cc       \
58         pdfimages.cc
59
60 pdftops_SOURCES =               \
61         $(common_sources)       \
62         PSOutputDev.cc          \
63         pdftops.cc
64
65 pdftotext_SOURCES =             \
66         $(common_sources)       \
67         TextOutputDev.cc        \
68         pdftotext.cc
69
70 pdfinfo_SOURCES =               \
71         $(common_sources)       \
72         pdfinfo.cc
73
74 pdftopbm_SOURCES =              \
75         $(common_sources)       \
76         XOutputDev.cc           \
77         pdftopbm.cc
78
79 xpdf-ltk.h: xpdf.ltk
80         rm -f $@
81         $(LTKLIBDIR)/ltkbuild <xpdf.ltk >$@.new
82         mv $@.new $@
83
84 bitmaps =                       \
85         about.xbm               \
86         dblLeftArrow.xbm        \
87         dblRightArrow.xbm       \
88         find.xbm                \
89         leftArrow.xbm           \
90         postscript.xbm          \
91         rightArrow.xbm          \
92         xpdfIcon.xpm            \
93         zoomIn.xbm              \
94         zoomOut.xbm             
95
96 ltk =                   \
97         xpdf-flip.ltk   \
98         xpdf-top.ltk    \
99         xpdf.ltk
100
101 gladedir   = $(datadir)/xpdf/glade
102
103 glade_DATA =            \
104         about.glade     \
105         gpdf.glade
106
107 EXTRA_DIST = $(bitmaps) ChangeLog $(ltk) $(glade_DATA)