blob: 80810db16fe82fe73300adb39296022eb0f6c1f9 (
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
|
# Generated automatically from Makefile.in by configure.
#========================================================================
#
# Xpdf Makefile
#
# Copyright 1996 Derek B. Noonburg
#
#========================================================================
srcdir = .
GOOSRCDIR = $(srcdir)/../goo
GOOLIBDIR = ../goo
LTKSRCDIR = $(srcdir)/../ltk
LTKLIBDIR = ../ltk
CXXFLAGS = -O2 -DHAVE_DIRENT_H=1 -DJAPANESE_SUPPORT -DNO_POPEN -DUSE_GZIP=1 -I$(GOOSRCDIR) -I$(srcdir)
XLIBS = -lXpm -lSM -lICE -L/usr/X11R6/lib -lX11
OTHERLIBS =
CXX = gcc
STRIP = strip
LIBPREFIX = lib
EXE =
#------------------------------------------------------------------------
.SUFFIXES: .cc
.cc.o:
$(CXX) $(CXXFLAGS) -c $<
#------------------------------------------------------------------------
CXX_SRC = \
$(srcdir)/Array.cc \
$(srcdir)/Catalog.cc \
$(srcdir)/Dict.cc \
$(srcdir)/Error.cc \
$(srcdir)/FontEncoding.cc \
$(srcdir)/FontFile.cc \
$(srcdir)/Gfx.cc \
$(srcdir)/GfxFont.cc \
$(srcdir)/GfxState.cc \
$(srcdir)/ImageOutputDev.cc \
$(srcdir)/Lexer.cc \
$(srcdir)/Link.cc \
$(srcdir)/LTKOutputDev.cc \
$(srcdir)/Object.cc \
$(srcdir)/OutputDev.cc \
$(srcdir)/Page.cc \
$(srcdir)/Params.cc \
$(srcdir)/Parser.cc \
$(srcdir)/PBMOutputDev.cc \
$(srcdir)/PDFDoc.cc \
$(srcdir)/PSOutputDev.cc \
$(srcdir)/Stream.cc \
$(srcdir)/TextOutputDev.cc \
$(srcdir)/XOutputDev.cc \
$(srcdir)/XRef.cc \
$(srcdir)/xpdf.cc \
$(srcdir)/pdftops.cc \
$(srcdir)/pdftotext.cc \
$(srcdir)/pdfinfo.cc \
$(srcdir)/pdftopbm.cc \
$(srcdir)/pdfimages.cc
#------------------------------------------------------------------------
all: xpdf$(EXE) pdftops$(EXE) pdftotext$(EXE) pdfinfo$(EXE) \
pdftopbm$(EXE) pdfimages$(EXE)
all-no-x: pdftops$(EXE) pdftotext$(EXE) pdfinfo$(EXE) \
pdfimages$(EXE)
#------------------------------------------------------------------------
XPDF_OBJS = Array.o Catalog.o Dict.o Error.o FontEncoding.o \
FontFile.o Gfx.o GfxFont.o GfxState.o Lexer.o Link.o \
LTKOutputDev.o Object.o OutputDev.o Page.o Params.o \
Parser.o PDFDoc.o PSOutputDev.o Stream.o TextOutputDev.o \
XOutputDev.o XRef.o xpdf.o
XPDF_LIBS = -L$(LTKLIBDIR) -lLTK -L$(GOOLIBDIR) -lGoo $(XLIBS) $(OTHERLIBS) -lm
xpdf$(EXE): $(XPDF_OBJS) \
$(GOOLIBDIR)/$(LIBPREFIX)Goo.a $(LTKLIBDIR)/$(LIBPREFIX)LTK.a
$(CXX) $(CXXFLAGS) -o xpdf$(EXE) $(XPDF_OBJS) $(XPDF_LIBS)
$(STRIP) xpdf$(EXE)
xpdf-ltk.h: xpdf.ltk
# rm -f $@
$(LTKLIBDIR)/ltkbuild <xpdf.ltk >$@.new
mv $@.new $@
#------------------------------------------------------------------------
PDFTOPS_OBJS = Array.o Catalog.o Dict.o Error.o FontEncoding.o \
FontFile.o Gfx.o GfxFont.o GfxState.o Lexer.o Link.o \
Object.o OutputDev.o Page.o Params.o Parser.o PDFDoc.o \
PSOutputDev.o Stream.o XRef.o pdftops.o
PDFTOPS_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
pdftops$(EXE): $(PDFTOPS_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) -o pdftops$(EXE) $(PDFTOPS_OBJS) $(PDFTOPS_LIBS)
$(STRIP) pdftops$(EXE)
#------------------------------------------------------------------------
PDFTOTEXT_OBJS = Array.o Catalog.o Dict.o Error.o FontEncoding.o \
FontFile.o Gfx.o GfxFont.o GfxState.o Lexer.o Link.o \
Object.o OutputDev.o Page.o Params.o Parser.o PDFDoc.o \
TextOutputDev.o Stream.o XRef.o pdftotext.o
PDFTOTEXT_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
pdftotext$(EXE): $(PDFTOTEXT_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) -o pdftotext$(EXE) $(PDFTOTEXT_OBJS) \
$(PDFTOTEXT_LIBS)
$(STRIP) pdftotext$(EXE)
#------------------------------------------------------------------------
PDFINFO_OBJS = Array.o Catalog.o Dict.o Error.o FontEncoding.o \
FontFile.o Gfx.o GfxFont.o GfxState.o Lexer.o Link.o \
Object.o OutputDev.o Page.o Params.o Parser.o PDFDoc.o \
Stream.o XRef.o pdfinfo.o
PDFINFO_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
pdfinfo$(EXE): $(PDFINFO_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) -o pdfinfo$(EXE) $(PDFINFO_OBJS) $(PDFINFO_LIBS)
$(STRIP) pdfinfo$(EXE)
#------------------------------------------------------------------------
PDFTOPBM_OBJS = Array.o Catalog.o Dict.o Error.o FontEncoding.o \
FontFile.o Gfx.o GfxFont.o GfxState.o Lexer.o Link.o \
Object.o OutputDev.o PBMOutputDev.o Page.o Params.o \
Parser.o PDFDoc.o Stream.o TextOutputDev.o XOutputDev.o \
XRef.o pdftopbm.o
PDFTOPBM_LIBS = -L$(GOOLIBDIR) -lGoo $(XLIBS) $(OTHERLIBS) -lm
pdftopbm$(EXE): $(PDFTOPBM_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) -o pdftopbm$(EXE) $(PDFTOPBM_OBJS) $(PDFTOPBM_LIBS)
$(STRIP) pdftopbm$(EXE)
#------------------------------------------------------------------------
PDFIMAGES_OBJS = Array.o Catalog.o Dict.o Error.o FontEncoding.o \
FontFile.o Gfx.o GfxFont.o GfxState.o ImageOutputDev.o \
Lexer.o Link.o Object.o OutputDev.o Page.o Params.o \
Parser.o PDFDoc.o Stream.o XRef.o pdfimages.o
PDFIMAGES_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
pdfimages$(EXE): $(PDFIMAGES_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) -o pdfimages$(EXE) $(PDFIMAGES_OBJS) \
$(PDFIMAGES_LIBS)
$(STRIP) pdfimages$(EXE)
#------------------------------------------------------------------------
clean:
# rm -f $(XPDF_OBJS) xpdf-ltk.h.new xpdf$(EXE)
# rm -f $(PDFTOPS_OBJS) pdftops$(EXE)
# rm -f $(PDFTOTEXT_OBJS) pdftotext$(EXE)
# rm -f $(PDFINFO_OBJS) pdfinfo$(EXE)
# rm -f $(PDFTOPBM_OBJS) pdftopbm$(EXE)
# rm -f $(PDFIMAGES_OBJS) pdfimages$(EXE)
#------------------------------------------------------------------------
distdepend:
cp Makefile.in Makefile.in.bak
sed '/^#----- dependences -----/q' Makefile.in.bak >Makefile.in
$(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >>Makefile.in
#----- dependences -----
Array.o: ./Array.cc ../goo/gmem.h Object.h ../goo/gtypes.h X
../goo/GString.h Array.h Dict.h Stream.h
Catalog.o: ./Catalog.cc ../goo/gmem.h Object.h ../goo/gtypes.h \
../goo/GString.h Array.h Dict.h Stream.h Page.h Error.h config.h \
Link.h Catalog.h
Dict.o: ./Dict.cc ../goo/gmem.h Object.h ../goo/gtypes.h \
../goo/GString.h Array.h Dict.h Stream.h XRef.h
Error.o: ./Error.cc ../goo/gtypes.h Params.h Error.h config.h
FontEncoding.o: ./FontEncoding.cc ../goo/gmem.h FontEncoding.h \
../goo/gtypes.h
FontFile.o: ./FontFile.cc ../goo/gmem.h Error.h config.h FontFile.h \
../goo/gtypes.h ../goo/GString.h FontEncoding.h StdFontInfo.h \
CompactFontInfo.h
Gfx.o: ./Gfx.cc ../goo/gmem.h Object.h ../goo/gtypes.h \
../goo/GString.h Array.h Dict.h Stream.h Lexer.h Parser.h GfxFont.h \
FontEncoding.h GfxState.h OutputDev.h Params.h Error.h config.h Gfx.h
GfxFont.o: ./GfxFont.cc ../goo/GString.h ../goo/gmem.h ../goo/gfile.h \
../goo/gtypes.h config.h Object.h Array.h Dict.h Stream.h Error.h \
Params.h FontFile.h FontEncoding.h GfxFont.h FontInfo.h
GfxState.o: ./GfxState.cc ../goo/gmem.h Error.h config.h Object.h \
../goo/gtypes.h ../goo/GString.h Array.h Dict.h Stream.h GfxState.h
ImageOutputDev.o: ./ImageOutputDev.cc ../goo/gmem.h config.h Error.h \
GfxState.h ../goo/gtypes.h Object.h ../goo/GString.h Array.h Dict.h \
Stream.h ImageOutputDev.h OutputDev.h
Lexer.o: ./Lexer.cc Lexer.h Object.h ../goo/gtypes.h ../goo/gmem.h \
../goo/GString.h Array.h Dict.h Stream.h Error.h config.h
Link.o: ./Link.cc ../goo/gmem.h ../goo/GString.h Error.h config.h \
Object.h ../goo/gtypes.h Array.h Dict.h Stream.h Link.h
LTKOutputDev.o: ./LTKOutputDev.cc ../goo/gmem.h ../goo/GString.h \
../ltk/LTKWindow.h ../goo/gtypes.h ../ltk/LTKScrollingCanvas.h \
../ltk/LTKWidget.h Object.h Array.h Dict.h Stream.h GfxState.h \
GfxFont.h FontEncoding.h Error.h config.h Params.h LTKOutputDev.h \
XOutputDev.h OutputDev.h
Object.o: ./Object.cc Object.h ../goo/gtypes.h ../goo/gmem.h \
../goo/GString.h Array.h Dict.h Stream.h Error.h config.h XRef.h
OutputDev.o: ./OutputDev.cc Object.h ../goo/gtypes.h ../goo/gmem.h \
../goo/GString.h Array.h Dict.h Stream.h GfxState.h OutputDev.h
Page.o: ./Page.cc Object.h ../goo/gtypes.h ../goo/gmem.h \
../goo/GString.h Array.h Dict.h Stream.h XRef.h OutputDev.h Gfx.h \
Error.h config.h Params.h Page.h
Params.o: ./Params.cc ../goo/gtypes.h ../goo/gmem.h ../goo/GString.h \
../goo/gfile.h Params.h
Parser.o: ./Parser.cc Object.h ../goo/gtypes.h ../goo/gmem.h \
../goo/GString.h Array.h Dict.h Stream.h Parser.h Lexer.h Error.h \
config.h
PBMOutputDev.o: ./PBMOutputDev.cc ../goo/gmem.h ../goo/GString.h \
Object.h ../goo/gtypes.h Array.h Dict.h Stream.h GfxState.h GfxFont.h \
FontEncoding.h Error.h config.h Params.h PBMOutputDev.h XOutputDev.h \
OutputDev.h
PDFDoc.o: ./PDFDoc.cc ../goo/GString.h config.h Page.h Object.h \
../goo/gtypes.h ../goo/gmem.h Array.h Dict.h Stream.h Catalog.h \
XRef.h Link.h OutputDev.h Params.h Error.h PDFDoc.h
PSOutputDev.o: ./PSOutputDev.cc ../goo/GString.h config.h Object.h \
../goo/gtypes.h ../goo/gmem.h Array.h Dict.h Stream.h Error.h \
GfxState.h GfxFont.h FontEncoding.h FontFile.h Catalog.h Page.h \
PSOutputDev.h OutputDev.h
Stream.o: ./Stream.cc ../goo/gmem.h config.h Error.h Object.h \
../goo/gtypes.h ../goo/GString.h Array.h Dict.h Stream.h \
Stream-CCITT.h
TextOutputDev.o: ./TextOutputDev.cc ../goo/GString.h ../goo/gmem.h \
config.h Error.h GfxState.h ../goo/gtypes.h FontEncoding.h \
TextOutputDev.h GfxFont.h Object.h Array.h Dict.h Stream.h \
OutputDev.h TextOutputFontInfo.h
XOutputDev.o: ./XOutputDev.cc ../goo/gmem.h ../goo/GString.h Object.h \
../goo/gtypes.h Array.h Dict.h Stream.h GfxState.h GfxFont.h \
FontEncoding.h FontFile.h Error.h config.h Params.h TextOutputDev.h \
OutputDev.h XOutputDev.h XOutputFontInfo.h
XRef.o: ./XRef.cc ../goo/gmem.h Object.h ../goo/gtypes.h \
../goo/GString.h Array.h Dict.h Stream.h Lexer.h Parser.h Error.h \
config.h XRef.h
xpdf.o: ./xpdf.cc ../goo/gtypes.h ../goo/GString.h ../goo/parseargs.h \
../goo/gfile.h ../goo/gmem.h ../htk/LTKAll.h ../ltk/LTKApp.h \
../ltk/LTKWindow.h ../ltk/LTKMenu.h ../ltk/LTKWidget.h \
../ltk/LTKCompoundWidget.h ../ltk/LTKBox.h ../ltk/LTKBorder.h \
../ltk/LTKButtonDialog.h ../ltk/LTKButton.h ../ltk/LTKCanvas.h \
../ltk/LTKDblBufCanvas.h ../ltk/LTKEmpty.h ../ltk/LTKFileReq.h \
../ltk/LTKLabel.h ../ltk/LTKList.h ../ltk/LTKMenuButton.h \
../ltk/LTKScrollbar.h ../ltk/LTKScrollingCanvas.h ../ltk/LTKTextIn.h \
../ltk/LTKResources.h Object.h Array.h Dict.h Stream.h XRef.h \
Catalog.h Page.h Link.h PDFDoc.h XOutputDev.h config.h OutputDev.h \
LTKOutputDev.h PSOutputDev.h TextOutputDev.h GfxFont.h FontEncoding.h \
Params.h Error.h xpdfIcon.xpm leftArrow.xbm dblLeftArrow.xbm \
rightArrow.xbm dblRightArrow.xbm backArrow.xbm forwardArrow.xbm \
find.xbm postscript.xbm about.xbm xpdf-ltk.h
pdftops.o: ./pdftops.cc ../goo/parseargs.h ../goo/gtypes.h \
../goo/GString.h ../goo/gmem.h Object.h Array.h Dict.h Stream.h \
XRef.h Catalog.h Page.h PDFDoc.h Link.h PSOutputDev.h config.h \
OutputDev.h Params.h Error.h
pdftotext.o: ./pdftotext.cc ../goo/parseargs.h ../goo/gtypes.h \
../goo/GString.h ../goo/gmem.h Object.h Array.h Dict.h Stream.h \
XRef.h Catalog.h Page.h PDFDoc.h Link.h TextOutputDev.h GfxFont.h \
FontEncoding.h OutputDev.h Params.h Error.h config.h
pdfinfo.o: ./pdfinfo.cc ../goo/parseargs.h ../goo/gtypes.h \
../goo/GString.h ../goo/gmem.h Object.h Array.h Dict.h Stream.h \
XRef.h Catalog.h Page.h PDFDoc.h Link.h Params.h Error.h config.h
pdftopbm.o: ./pdftopbm.cc ../goo/parseargs.h ../goo/gtypes.h \
../goo/GString.h ../goo/gmem.h Object.h Array.h Dict.h Stream.h \
XRef.h Catalog.h Page.h PDFDoc.h Link.h PBMOutputDev.h config.h \
XOutputDev.h OutputDev.h Params.h Error.h
pdfimages.o: ./pdfimages.cc ../goo/parseargs.h ../goo/gtypes.h \
../goo/GString.h ../goo/gmem.h Object.h Array.h Dict.h Stream.h \
XRef.h Catalog.h Page.h PDFDoc.h Link.h ImageOutputDev.h OutputDev.h \
Params.h Error.h config.h
|