3 top_srcdir = @top_srcdir@
4 include ../../Makefile.common
8 libpdf_objects = GHash.o GList.o GString.o gmem.o gfile.o \
9 FoFiTrueType.o FoFiType1.o FoFiType1C.o FoFiBase.o FoFiEncodings.o \
10 OutputDev.o PDFDoc.o Error.o Stream.o Object.o \
11 Decrypt.o Array.o XRef.o Dict.o Parser.o \
12 Lexer.o Outline.o PDFDocEncoding.o Catalog.o \
13 Link.o GlobalParams.o JBIG2Stream.o Page.o JPXStream.o \
14 JArithmeticDecoder.o Gfx.o GfxFont.o CMap.o CharCodeToUnicode.o \
15 PSTokenizer.o FontEncodingTables.o BuiltinFont.o BuiltinFontTables.o \
16 GfxState.o Function.o Annot.o NameToCharCode.o UnicodeMap.o
18 UnicodeMap.o: UnicodeMap.cc
19 $(CC) -I./ UnicodeMap.cc -o $@
20 NameToCharCode.o: NameToCharCode.cc
21 $(CC) -I./ NameToCharCode.cc -o $@
23 $(CC) -I./ Annot.cc -o $@
24 Function.o: Function.cc
25 $(CC) -I./ Function.cc -o $@
26 BuiltinFontTables.o: BuiltinFontTables.cc
27 $(CC) -I./ BuiltinFontTables.cc -o $@
28 BuiltinFont.o: BuiltinFont.cc
29 $(CC) -I./ BuiltinFont.cc -o $@
30 FontEncodingTables.o: FontEncodingTables.cc
31 $(CC) -I./ FontEncodingTables.cc -o $@
32 PSTokenizer.o: PSTokenizer.cc
33 $(CC) -I./ PSTokenizer.cc -o $@
34 CharCodeToUnicode.o: CharCodeToUnicode.cc
35 $(CC) -I./ CharCodeToUnicode.cc -o $@
37 $(CC) -I./ CMap.cc -o $@
39 $(CC) -I./ GfxFont.cc -o $@
41 $(CC) -I./ Gfx.cc -o $@
42 GfxState.o: GfxState.cc
43 $(CC) -I./ GfxState.cc -o $@
44 JArithmeticDecoder.o: JArithmeticDecoder.cc
45 $(CC) -I./ JArithmeticDecoder.cc -o $@
46 JPXStream.o: JPXStream.cc
47 $(CC) -I./ JPXStream.cc -o $@
48 GlobalParams.o: GlobalParams.cc GlobalParams.h
49 $(CC) -I./ GlobalParams.cc -o $@
50 JBIG2Stream.o: JBIG2Stream.cc
51 $(CC) -I./ JBIG2Stream.cc -o $@
53 $(CC) -I./ Page.cc -o $@
55 $(CC) -I./ Link.cc -o $@
57 $(CC) -I./ Catalog.cc -o $@
58 PDFDocEncoding.o: PDFDocEncoding.cc
59 $(CC) -I./ PDFDocEncoding.cc -o $@
61 $(CC) -I./ Outline.cc -o $@
63 $(CC) -I./ Lexer.cc -o $@
65 $(CC) -I./ Parser.cc -o $@
67 $(CC) -I./ XRef.cc -o $@
69 $(CC) -I./ Array.cc -o $@
71 $(CC) -I./ Dict.cc -o $@
73 $(CC) -I./ Decrypt.cc -o $@
75 $(CC) -I./ Object.cc -o $@
76 Error.o: Error.cc aconf.h
77 $(CC) -I./ Error.cc -o $@
79 $(CC) -I./ Stream.cc -o $@
81 $(CC) -I./ PDFDoc.cc -o $@
82 OutputDev.o: OutputDev.cc GfxState.h Stream.h Object.h OutputDev.h gtypes.h CharTypes.h
83 $(CC) -I./ OutputDev.cc -o $@
84 FoFiBase.o: FoFiBase.cc
85 $(CC) -I./ FoFiBase.cc -o $@
86 FoFiTrueType.o: FoFiTrueType.cc FoFiBase.h
87 $(CC) -I./ FoFiTrueType.cc -o $@
88 FoFiEncodings.o: FoFiEncodings.cc FoFiEncodings.h
89 $(CC) -I./ FoFiEncodings.cc -o $@
90 FoFiType1C.o: FoFiType1C.cc FoFiBase.h
91 $(CC) -I./ FoFiType1C.cc -o $@
92 FoFiType1.o: FoFiType1.cc FoFiBase.h
93 $(CC) -I./ FoFiType1.cc -o $@
95 $(CC) -I./ GList.cc -o $@
97 $(CC) -I./ GString.cc -o $@
99 $(CC) -I./ GHash.cc -o $@
101 $(CC) -I./ gfile.cc -o $@
103 $(C) -I./ gmem.c -o $@
105 libpdf.a: $(libpdf_objects)
106 $(AR) r libpdf.a $(libpdf_objects)
113 rm -f *.o *.lo *.a *.la gmon.out