1 # Generated automatically from Makefile.in by configure.
4 top_srcdir = @top_srcdir@
5 include ../../Makefile.common
7 all: ../libpdf$(A) pdf2swf$(E)
11 libpdf_objects = GFXOutputDev.$(O) InfoOutputDev.$(O) BitmapOutputDev.$(O) FullBitmapOutputDev.$(O) pdf.$(O) fonts.$(O)
13 xpdf_in_source = @xpdf_in_source@
15 xpdf_objects = xpdf/GHash.$(O) xpdf/GList.$(O) xpdf/GString.$(O) xpdf/gmem.$(O) xpdf/gfile.$(O) \
16 xpdf/FoFiTrueType.$(O) xpdf/FoFiType1.$(O) xpdf/FoFiType1C.$(O) xpdf/FoFiBase.$(O) xpdf/FoFiEncodings.$(O) \
17 xpdf/OutputDev.$(O) xpdf/PDFDoc.$(O) xpdf/Error.$(O) xpdf/Stream.$(O) xpdf/Object.$(O) \
18 xpdf/Decrypt.$(O) xpdf/Array.$(O) xpdf/XRef.$(O) xpdf/Dict.$(O) xpdf/Parser.$(O) \
19 xpdf/Lexer.$(O) xpdf/Outline.$(O) xpdf/PDFDocEncoding.$(O) xpdf/Catalog.$(O) \
20 xpdf/Link.$(O) xpdf/GlobalParams.$(O) xpdf/JBIG2Stream.$(O) xpdf/Page.$(O) xpdf/JPXStream.$(O) \
21 xpdf/JArithmeticDecoder.$(O) xpdf/Gfx.$(O) xpdf/GfxFont.$(O) xpdf/CMap.$(O) xpdf/CharCodeToUnicode.$(O) \
22 xpdf/PSTokenizer.$(O) xpdf/FontEncodingTables.$(O) xpdf/BuiltinFont.$(O) xpdf/BuiltinFontTables.$(O) \
23 xpdf/GfxState.$(O) xpdf/Function.$(O) xpdf/Annot.$(O) xpdf/NameToCharCode.$(O) xpdf/UnicodeMap.$(O) \
24 xpdf/SecurityHandler.$(O)
26 splash_in_source = @splash_in_source@
27 splash_objects = xpdf/SplashOutputDev.$(O) xpdf/SplashFont.$(O) xpdf/SplashState.$(O) xpdf/Splash.$(O) \
28 xpdf/SplashBitmap.$(O) xpdf/SplashClip.$(O) xpdf/SplashPattern.$(O) \
29 xpdf/SplashFontEngine.$(O) xpdf/SplashFontFile.$(O) xpdf/SplashFontFileID.$(O) \
30 xpdf/SplashScreen.$(O) xpdf/SplashPath.$(O) xpdf/SplashXPath.$(O) xpdf/SplashXPathScanner.$(O) \
31 xpdf/SplashFTFontEngine.$(O) xpdf/SplashFTFontFile.$(O) xpdf/SplashFTFont.$(O)
36 $(CC) -I ./ -I xpdf cmyk.cc -o $@
37 GFXOutputDev.$(O): GFXOutputDev.cc GFXOutputDev.h CommonOutputDev.h ../gfxpoly.h
38 $(CC) -I ./ -I xpdf GFXOutputDev.cc -o $@
39 InfoOutputDev.$(O): InfoOutputDev.cc InfoOutputDev.h
40 $(CC) -I ./ -I xpdf InfoOutputDev.cc -o $@
41 BitmapOutputDev.$(O): BitmapOutputDev.cc BitmapOutputDev.h CommonOutputDev.h
42 $(CC) -I ./ -I xpdf BitmapOutputDev.cc -o $@
43 FullBitmapOutputDev.$(O): FullBitmapOutputDev.cc FullBitmapOutputDev.h CommonOutputDev.h
44 $(CC) -I ./ -I xpdf FullBitmapOutputDev.cc -o $@
45 DummyOutputDev.$(O): DummyOutputDev.cc DummyOutputDev.h
46 $(CC) -I ./ -I xpdf DummyOutputDev.cc -o $@
47 pdf.$(O): pdf.cc GFXOutputDev.h InfoOutputDev.h CommonOutputDev.h BitmapOutputDev.h FullBitmapOutputDev.h
48 $(CC) -I ./ -I xpdf pdf.cc -o $@
50 xpdf/UnicodeMap.$(O): xpdf/UnicodeMap.cc
51 $(CC) -I ./ -I xpdf xpdf/UnicodeMap.cc -o $@
52 xpdf/NameToCharCode.$(O): xpdf/NameToCharCode.cc
53 $(CC) -I ./ -I xpdf xpdf/NameToCharCode.cc -o $@
54 xpdf/Annot.$(O): xpdf/Annot.cc
55 $(CC) -I ./ -I xpdf xpdf/Annot.cc -o $@
56 xpdf/Function.$(O): xpdf/Function.cc
57 $(CC) -I ./ -I xpdf xpdf/Function.cc -o $@
58 xpdf/BuiltinFontTables.$(O): xpdf/BuiltinFontTables.cc
59 $(CC) -I ./ -I xpdf xpdf/BuiltinFontTables.cc -o $@
60 xpdf/BuiltinFont.$(O): xpdf/BuiltinFont.cc
61 $(CC) -I ./ -I xpdf xpdf/BuiltinFont.cc -o $@
62 xpdf/FontEncodingTables.$(O): xpdf/FontEncodingTables.cc
63 $(CC) -I ./ -I xpdf xpdf/FontEncodingTables.cc -o $@
64 xpdf/PSTokenizer.$(O): xpdf/PSTokenizer.cc
65 $(CC) -I ./ -I xpdf xpdf/PSTokenizer.cc -o $@
66 xpdf/CharCodeToUnicode.$(O): xpdf/CharCodeToUnicode.cc
67 $(CC) -I ./ -I xpdf xpdf/CharCodeToUnicode.cc -o $@
68 xpdf/CMap.$(O): xpdf/CMap.cc
69 $(CC) -I ./ -I xpdf xpdf/CMap.cc -o $@
70 xpdf/GfxFont.$(O): xpdf/GfxFont.cc
71 $(CC) -I ./ -I xpdf xpdf/GfxFont.cc -o $@
72 xpdf/Gfx.$(O): xpdf/Gfx.cc
73 $(CC) -I ./ -I xpdf xpdf/Gfx.cc -o $@
74 xpdf/GfxState.$(O): xpdf/GfxState.cc
75 $(CC) -I ./ -I xpdf xpdf/GfxState.cc -o $@
76 xpdf/JArithmeticDecoder.$(O): xpdf/JArithmeticDecoder.cc
77 $(CC) -I ./ -I xpdf xpdf/JArithmeticDecoder.cc -o $@
78 xpdf/JPXStream.$(O): xpdf/JPXStream.cc
79 $(CC) -I ./ -I xpdf xpdf/JPXStream.cc -o $@
80 xpdf/GlobalParams.$(O): xpdf/GlobalParams.cc xpdf/GlobalParams.h
81 $(CC) -I ./ -I xpdf xpdf/GlobalParams.cc -o $@
82 xpdf/JBIG2Stream.$(O): xpdf/JBIG2Stream.cc
83 $(CC) -I ./ -I xpdf xpdf/JBIG2Stream.cc -o $@
84 xpdf/Page.$(O): xpdf/Page.cc
85 $(CC) -I ./ -I xpdf xpdf/Page.cc -o $@
86 xpdf/Link.$(O): xpdf/Link.cc
87 $(CC) -I ./ -I xpdf xpdf/Link.cc -o $@
88 xpdf/Catalog.$(O): xpdf/Catalog.cc
89 $(CC) -I ./ -I xpdf xpdf/Catalog.cc -o $@
90 xpdf/PDFDocEncoding.$(O): xpdf/PDFDocEncoding.cc
91 $(CC) -I ./ -I xpdf xpdf/PDFDocEncoding.cc -o $@
92 xpdf/Outline.$(O): xpdf/Outline.cc
93 $(CC) -I ./ -I xpdf xpdf/Outline.cc -o $@
94 xpdf/Lexer.$(O): xpdf/Lexer.cc
95 $(CC) -I ./ -I xpdf xpdf/Lexer.cc -o $@
96 xpdf/Parser.$(O): xpdf/Parser.cc
97 $(CC) -I ./ -I xpdf xpdf/Parser.cc -o $@
98 xpdf/XRef.$(O): xpdf/XRef.cc
99 $(CC) -I ./ -I xpdf xpdf/XRef.cc -o $@
100 xpdf/Array.$(O): xpdf/Array.cc
101 $(CC) -I ./ -I xpdf xpdf/Array.cc -o $@
102 xpdf/Dict.$(O): xpdf/Dict.cc
103 $(CC) -I ./ -I xpdf xpdf/Dict.cc -o $@
104 xpdf/Decrypt.$(O): xpdf/Decrypt.cc
105 $(CC) -I ./ -I xpdf xpdf/Decrypt.cc -o $@
106 xpdf/Object.$(O): xpdf/Object.cc
107 $(CC) -I ./ -I xpdf xpdf/Object.cc -o $@
108 xpdf/Error.$(O): xpdf/Error.cc aconf.h
109 $(CC) -I ./ -I xpdf xpdf/Error.cc -o $@
110 xpdf/Stream.$(O): xpdf/Stream.cc
111 $(CC) -I ./ -I xpdf xpdf/Stream.cc -o $@
112 xpdf/PDFDoc.$(O): xpdf/PDFDoc.cc
113 $(CC) -I ./ -I xpdf xpdf/PDFDoc.cc -o $@
114 xpdf/SecurityHandler.$(O): xpdf/SecurityHandler.cc xpdf/SecurityHandler.h
115 $(CC) -I ./ -I xpdf xpdf/SecurityHandler.cc -o $@
116 xpdf/OutputDev.$(O): xpdf/OutputDev.cc xpdf/GfxState.h xpdf/Stream.h xpdf/Object.h xpdf/OutputDev.h xpdf/gtypes.h xpdf/CharTypes.h
117 $(CC) -I ./ -I xpdf xpdf/OutputDev.cc -o $@
118 xpdf/FoFiBase.$(O): xpdf/FoFiBase.cc
119 $(CC) -I ./ -I xpdf xpdf/FoFiBase.cc -o $@
120 xpdf/FoFiTrueType.$(O): xpdf/FoFiTrueType.cc xpdf/FoFiBase.h
121 $(CC) -I ./ -I xpdf xpdf/FoFiTrueType.cc -o $@
122 xpdf/FoFiEncodings.$(O): xpdf/FoFiEncodings.cc xpdf/FoFiEncodings.h
123 $(CC) -I ./ -I xpdf xpdf/FoFiEncodings.cc -o $@
124 xpdf/FoFiType1C.$(O): xpdf/FoFiType1C.cc xpdf/FoFiBase.h
125 $(CC) -I ./ -I xpdf xpdf/FoFiType1C.cc -o $@
126 xpdf/FoFiType1.$(O): xpdf/FoFiType1.cc xpdf/FoFiBase.h
127 $(CC) -I ./ -I xpdf xpdf/FoFiType1.cc -o $@
128 xpdf/GList.$(O): xpdf/GList.cc
129 $(CC) -I ./ -I xpdf xpdf/GList.cc -o $@
130 xpdf/GString.$(O): xpdf/GString.cc
131 $(CC) -I ./ -I xpdf xpdf/GString.cc -o $@
132 xpdf/GHash.$(O): xpdf/GHash.cc
133 $(CC) -I ./ -I xpdf xpdf/GHash.cc -o $@
134 xpdf/gfile.$(O): xpdf/gfile.cc
135 $(CC) -I ./ -I xpdf xpdf/gfile.cc -o $@
136 xpdf/gmem.$(O): xpdf/gmem.cc
137 $(C) -I ./ -I xpdf xpdf/gmem.cc -o $@
139 xpdf/%.$(O): xpdf/%.cc
140 $(CC) -I ./ -I xpdf $< -o $@
143 ../libpdf$(A): $(libpdf_objects) $(xpdf_in_source) $(splash_in_source)
144 $(AR) r ../libpdf$(A) $(libpdf_objects) $(xpdf_in_source) $(splash_in_source)
145 $(RANLIB) ../libpdf$(A)
147 xpdfapp_objects=xpdf/XPDF*.cc xpdf/PDFCore.cc xpdf/TextOutputDev.cc xpdf/xpdf.cc xpdf/CoreOutputDev.cc xpdf/UnicodeTypeTable.cc xpdf/PSOutputDev.cc
148 xxpdf$(E): $(xpdf_objects) xpdf/Splash*.cc
149 $(LL) $(CPPFLAGS) -DXPDFEXE -g -I xpdf -I . $(xpdfapp_objects) $(xpdf_objects) xpdf/Splash*.cc xpdf/parseargs.c -o xxpdf$(E) $(LIBS) -lXm -lX11
151 pdftoppm$(E): $(xpdf_objects) xpdf/Splash*.cc
152 $(LL) $(CPPFLAGS) -DXPDFEXE -g -I xpdf -I . xpdf/pdftoppm.cc $(xpdf_objects) xpdf/Splash*.cc xpdf/parseargs.c -o pdftoppm$(E) $(LIBS)
153 pdftotext$(E): $(xpdf_objects) $(splash_objects)
154 $(LL) $(CPPFLAGS) -DXPDFEXE -g -I xpdf -I . xpdf/pdftotext.cc $(xpdf_objects) xpdf/TextOutput*.cc xpdf/UnicodeType*.cc xpdf/parseargs.c -o pdftotext$(E) $(LIBS)
156 gfx_objects = ../libgfxswf$(A) ../libgfx$(A) ../librfxswf$(A) ../libbase$(A)
157 gfx_objects2 = $(gfx_objects) ../devices/lrf.$(O) ../libocr$(A)
159 pdf2swf$(E): ../../src/pdf2swf.c $(libpdf_objects) $(xpdf_in_source) $(splash_in_source) $(gfx_objects)
160 $(LL) $(CPPFLAGS) -g ../../src/pdf2swf.c $(libpdf_objects) $(xpdf_in_source) $(splash_in_source) $(gfx_objects) -o pdf2swf$(E) $(LIBS)
161 gfx2gfx$(E): ../../src/gfx2gfx.c $(libpdf_objects) $(xpdf_in_source) $(splash_in_source) $(gfx_objects2)
162 $(LL) $(CPPFLAGS) -g ../../src/gfx2gfx.c $(libpdf_objects) $(xpdf_in_source) $(splash_in_source) $(gfx_objects2) -o gfx2gfx$(E) $(LIBS)
169 rm -f xpdf/*.o xpdf/*.obj *.o pdf2swf pdftoppm pdftotext pdf2swf.exe pdftoppm.exe pdftotext.exe *.obj *.lo *.a *.lib *.la gmon.out
171 .PHONY: clean install uninstall check all