summaryrefslogtreecommitdiff
path: root/Build/source/libs/poppler/Makefile.am
blob: 86a3f311427f79df358115dbb0196bfbfd91bfad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
## Proxy Makefile.am to build poppler for TeX Live.
##
##   Copyright (C) 2011 Peter Breitenlohner <tex-live@tug.org>
##
##   This file is free software; the copyright holder
##   gives unlimited permission to copy and/or distribute it,
##   with or without modifications, as long as this notice is preserved.
##
#========================================================================
##
## Main poppler Makefile.
## Goo library Makefile
## FoFi library Makefile
## poppler Makefile
##
## Copyright 1996-2003 Glyph & Cog, LLC
##
#========================================================================
##
ACLOCAL_AMFLAGS = -I ../../m4

# Rebuild
.PHONY: rebuild
rebuild: all

## We want to re-distribute the whole original poppler source tree.
##
EXTRA_DIST = $(POPPLER_TREE)

## Patches applied to the original source tree
##
EXTRA_DIST += $(POPPLER_TREE)-PATCHES

# in case of an SVN repository
dist-hook:
	rm -rf `find $(distdir) -name .svn`

SUBDIRS = goo fofi poppler

GOO_SRC = $(top_srcdir)/$(POPPLER_TREE)/goo
FOFI_SRC = $(top_srcdir)/$(POPPLER_TREE)/fofi
POPPLER_SRC = $(top_srcdir)/$(POPPLER_TREE)/poppler

INCLUDES = -Igoo -Ifofi -Ipoppler -I$(GOO_SRC) -I$(FOFI_SRC) -I$(POPPLER_SRC)
AM_CPPFLAGS = -DPDF_PARSER_ONLY -DPOPPLER_DATADIR='"."'

noinst_LIBRARIES = libpoppler.a

nodist_libpoppler_a_SOURCES = \
	$(goo_libGoo_a_sources) \
	$(fofi_libfofi_a_sources) \
	$(poppler_libpoppler_a_sources)

goo_libGoo_a_sources = \
	$(GOO_SRC)/FixedPoint.cc \
	$(GOO_SRC)/gfile.cc \
	$(GOO_SRC)/gmem.cc \
	$(GOO_SRC)/gmempp.cc \
	$(GOO_SRC)/GooHash.cc \
	$(GOO_SRC)/GooList.cc \
	$(GOO_SRC)/GooString.cc \
	$(GOO_SRC)/GooTimer.cc \
	$(GOO_SRC)/gstrtod.cc \
	$(GOO_SRC)/PNGWriter.cc


fofi_libfofi_a_sources = \
	$(FOFI_SRC)/FoFiBase.cc \
	$(FOFI_SRC)/FoFiEncodings.cc \
	$(FOFI_SRC)/FoFiTrueType.cc \
	$(FOFI_SRC)/FoFiType1.cc \
	$(FOFI_SRC)/FoFiType1C.cc

poppler_libpoppler_a_sources = \
	$(POPPLER_SRC)/Annot.cc \
	$(POPPLER_SRC)/Array.cc \
	$(POPPLER_SRC)/BuiltinFont.cc \
	$(POPPLER_SRC)/BuiltinFontTables.cc \
	$(POPPLER_SRC)/CMap.cc \
	$(POPPLER_SRC)/Catalog.cc \
	$(POPPLER_SRC)/CharCodeToUnicode.cc \
	$(POPPLER_SRC)/DateInfo.cc \
	$(POPPLER_SRC)/Decrypt.cc \
	$(POPPLER_SRC)/Dict.cc \
	$(POPPLER_SRC)/Error.cc \
	$(POPPLER_SRC)/FileSpec.cc \
	$(POPPLER_SRC)/FontEncodingTables.cc \
	$(POPPLER_SRC)/FontInfo.cc \
	$(POPPLER_SRC)/Form.cc \
	$(POPPLER_SRC)/Function.cc \
	$(POPPLER_SRC)/Gfx.cc \
	$(POPPLER_SRC)/GfxFont.cc \
	$(POPPLER_SRC)/GfxState.cc \
	$(POPPLER_SRC)/GlobalParams.cc \
	$(POPPLER_SRC)/JArithmeticDecoder.cc \
	$(POPPLER_SRC)/JBIG2Stream.cc \
	$(POPPLER_SRC)/JPXStream.cc \
	$(POPPLER_SRC)/Lexer.cc \
	$(POPPLER_SRC)/Link.cc \
	$(POPPLER_SRC)/Movie.cc \
	$(POPPLER_SRC)/NameToCharCode.cc \
	$(POPPLER_SRC)/Object.cc \
	$(POPPLER_SRC)/OptionalContent.cc \
	$(POPPLER_SRC)/Outline.cc \
	$(POPPLER_SRC)/OutputDev.cc \
	$(POPPLER_SRC)/PDFDoc.cc \
	$(POPPLER_SRC)/PDFDocEncoding.cc \
	$(POPPLER_SRC)/PSOutputDev.cc \
	$(POPPLER_SRC)/PSTokenizer.cc \
	$(POPPLER_SRC)/Page.cc \
	$(POPPLER_SRC)/PageLabelInfo.cc \
	$(POPPLER_SRC)/PageTransition.cc \
	$(POPPLER_SRC)/Parser.cc \
	$(POPPLER_SRC)/PopplerCache.cc \
	$(POPPLER_SRC)/PreScanOutputDev.cc \
	$(POPPLER_SRC)/ProfileData.cc \
	$(POPPLER_SRC)/SecurityHandler.cc \
	$(POPPLER_SRC)/Sound.cc \
	$(POPPLER_SRC)/Stream.cc \
	$(POPPLER_SRC)/UnicodeMap.cc \
	$(POPPLER_SRC)/UnicodeTypeTable.cc \
	$(POPPLER_SRC)/XRef.cc \
	$(POPPLER_SRC)/XpdfPluginAPI.cc