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