]> www.fi.muni.cz Git - evince.git/blob - pdf/xpdf/Makefile.in
Initial revision
[evince.git] / pdf / xpdf / Makefile.in
1 #========================================================================
2 #
3 # Xpdf Makefile
4 #
5 # Copyright 1996 Derek B. Noonburg
6 #
7 #========================================================================
8
9 srcdir = @srcdir@
10 VPATH = @srcdir@
11
12 GOOSRCDIR = $(srcdir)/../goo
13 GOOLIBDIR = ../goo
14 LTKSRCDIR = $(srcdir)/../ltk
15 LTKLIBDIR = ../ltk
16
17 CXXFLAGS = @CXXFLAGS@ @DEFS@ @OPTIONS@ -I$(GOOSRCDIR) -I$(LTKSRCDIR) -I$(srcdir) @X_CFLAGS@ @Xpm_CFLAGS@
18
19 XLIBS = @Xpm_LIBS@ @X_PRE_LIBS@ @X_LIBS@ -lX11 @X_EXTRA_LIBS@
20
21 OTHERLIBS = @LIBS@
22
23 CXX = @CXX@
24 STRIP = @STRIP@
25
26 LIBPREFIX = @LIBPREFIX@
27 EXE = @EXE@
28
29 #------------------------------------------------------------------------
30
31 .SUFFIXES: .cc
32
33 .cc.o:
34         $(CXX) $(CXXFLAGS) -c $<
35
36 #------------------------------------------------------------------------
37
38 CXX_SRC = \
39         $(srcdir)/Array.cc \
40         $(srcdir)/Catalog.cc \
41         $(srcdir)/Dict.cc \
42         $(srcdir)/Error.cc \
43         $(srcdir)/Gfx.cc \
44         $(srcdir)/GfxFont.cc \
45         $(srcdir)/GfxState.cc \
46         $(srcdir)/ImageOutputDev.cc \
47         $(srcdir)/Lexer.cc \
48         $(srcdir)/Link.cc \
49         $(srcdir)/LTKOutputDev.cc \
50         $(srcdir)/Object.cc \
51         $(srcdir)/OutputDev.cc \
52         $(srcdir)/Page.cc \
53         $(srcdir)/Params.cc \
54         $(srcdir)/Parser.cc \
55         $(srcdir)/PBMOutputDev.cc \
56         $(srcdir)/PDFDoc.cc \
57         $(srcdir)/PSOutputDev.cc \
58         $(srcdir)/Stream.cc \
59         $(srcdir)/TextOutputDev.cc \
60         $(srcdir)/XOutputDev.cc \
61         $(srcdir)/XRef.cc \
62         $(srcdir)/xpdf.cc \
63         $(srcdir)/pdftops.cc \
64         $(srcdir)/pdftotext.cc \
65         $(srcdir)/pdfinfo.cc \
66         $(srcdir)/pdftopbm.cc \
67         $(srcdir)/pdfimages.cc
68
69 #------------------------------------------------------------------------
70
71 all: xpdf$(EXE) pdftops$(EXE) pdftotext$(EXE) pdfinfo$(EXE) \
72         pdftopbm$(EXE) pdfimages$(EXE)
73
74 #------------------------------------------------------------------------
75
76 XPDF_OBJS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
77         GfxState.o Lexer.o Link.o LTKOutputDev.o Object.o OutputDev.o \
78         Page.o Params.o Parser.o PDFDoc.o PSOutputDev.o Stream.o \
79         TextOutputDev.o XOutputDev.o XRef.o xpdf.o
80 XPDF_LIBS = -L$(LTKLIBDIR) -lLTK -L$(GOOLIBDIR) -lGoo $(XLIBS) $(OTHERLIBS) -lm
81
82 xpdf$(EXE): $(XPDF_OBJS)
83         $(CXX) $(CXXFLAGS) -o xpdf$(EXE) $(XPDF_OBJS) $(XPDF_LIBS)
84         $(STRIP) xpdf$(EXE)
85
86 xpdf-ltk.h: xpdf.ltk
87         rm -f $@
88         $(LTKLIBDIR)/ltkbuild <xpdf.ltk >$@.new
89         mv $@.new $@
90
91 #------------------------------------------------------------------------
92
93 PDFTOPS_OBJS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
94         GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o \
95         Parser.o PDFDoc.o PSOutputDev.o Stream.o XRef.o pdftops.o
96 PDFTOPS_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
97
98 pdftops$(EXE): $(PDFTOPS_OBJS)
99         $(CXX) $(CXXFLAGS) -o pdftops$(EXE) $(PDFTOPS_OBJS) $(PDFTOPS_LIBS)
100         $(STRIP) pdftops$(EXE)
101
102 #------------------------------------------------------------------------
103
104 PDFTOTEXT_OBJS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
105         GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o \
106         Parser.o PDFDoc.o TextOutputDev.o Stream.o XRef.o pdftotext.o
107 PDFTOTEXT_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
108
109 pdftotext$(EXE): $(PDFTOTEXT_OBJS)
110         $(CXX) $(CXXFLAGS) -o pdftotext$(EXE) $(PDFTOTEXT_OBJS) \
111                 $(PDFTOTEXT_LIBS)
112         $(STRIP) pdftotext$(EXE)
113
114 #------------------------------------------------------------------------
115
116 PDFINFO_OBJS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
117         GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o \
118         Params.o Parser.o PDFDoc.o Stream.o XRef.o pdfinfo.o
119 PDFINFO_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
120
121 pdfinfo$(EXE): $(PDFINFO_OBJS)
122         $(CXX) $(CXXFLAGS) -o pdfinfo$(EXE) $(PDFINFO_OBJS) $(PDFINFO_LIBS)
123         $(STRIP) pdfinfo$(EXE)
124
125 #------------------------------------------------------------------------
126
127 PDFTOPBM_OBJS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
128         GfxState.o Lexer.o Link.o Object.o OutputDev.o PBMOutputDev.o \
129         Page.o Params.o Parser.o PDFDoc.o Stream.o TextOutputDev.o \
130         XOutputDev.o XRef.o pdftopbm.o
131 PDFTOPBM_LIBS = -L$(GOOLIBDIR) -lGoo $(XLIBS) $(OTHERLIBS) -lm
132
133 pdftopbm$(EXE): $(PDFTOPBM_OBJS)
134         $(CXX) $(CXXFLAGS) -o pdftopbm$(EXE) $(PDFTOPBM_OBJS) $(PDFTOPBM_LIBS)
135         $(STRIP) pdftopbm$(EXE)
136
137 #------------------------------------------------------------------------
138
139 PDFIMAGES_OBJS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
140         GfxState.o ImageOutputDev.o Lexer.o Link.o Object.o OutputDev.o \
141         Page.o Params.o Parser.o PDFDoc.o Stream.o XRef.o pdfimages.o
142 PDFIMAGES_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
143
144 pdfimages$(EXE): $(PDFIMAGES_OBJS)
145         $(CXX) $(CXXFLAGS) -o pdfimages$(EXE) $(PDFIMAGES_OBJS) \
146                 $(PDFIMAGES_LIBS)
147         $(STRIP) pdfimages$(EXE)
148
149 #------------------------------------------------------------------------
150
151 clean:
152         rm -f $(XPDF_OBJS) xpdf-ltk.h.new xpdf$(EXE)
153         rm -f $(PDFTOPS_OBJS) pdftops$(EXE)
154         rm -f $(PDFTOTEXT_OBJS) pdftotext$(EXE)
155         rm -f $(PDFINFO_OBJS) pdfinfo$(EXE)
156         rm -f $(PDFTOPBM_OBJS) pdftopbm$(EXE)
157         rm -f $(PDFIMAGES_OBJS) pdfimages$(EXE)
158
159 #------------------------------------------------------------------------
160
161 distdepend:
162         cp Makefile.in Makefile.in.bak
163         sed '/^#----- dependences -----/q' Makefile.in.bak >Makefile.in
164         $(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >>Makefile.in
165
166 #----- dependences -----
167 Array.o: ./Array.cc ../goo/gmem.h Object.h ../goo/gtypes.h \
168  ../goo/GString.h Array.h Dict.h Stream.h
169 Catalog.o: ./Catalog.cc ../goo/gmem.h Object.h ../goo/gtypes.h \
170  ../goo/GString.h Array.h Dict.h Stream.h Page.h Error.h config.h \
171  Link.h Catalog.h
172 Dict.o: ./Dict.cc ../goo/gmem.h Object.h ../goo/gtypes.h \
173  ../goo/GString.h Array.h Dict.h Stream.h XRef.h
174 Error.o: ./Error.cc ../goo/gtypes.h Params.h Error.h config.h
175 Gfx.o: ./Gfx.cc ../goo/gmem.h Object.h ../goo/gtypes.h \
176  ../goo/GString.h Array.h Dict.h Stream.h Lexer.h Parser.h GfxFont.h \
177  GfxState.h OutputDev.h Params.h Error.h config.h Gfx.h
178 GfxFont.o: ./GfxFont.cc ../goo/GString.h ../goo/gmem.h ../goo/gfile.h \
179  ../goo/gtypes.h config.h Object.h Array.h Dict.h Stream.h Error.h \
180  Params.h GfxFont.h FontInfo.h
181 GfxState.o: ./GfxState.cc ../goo/gmem.h Error.h config.h Object.h \
182  ../goo/gtypes.h ../goo/GString.h Array.h Dict.h Stream.h GfxState.h
183 ImageOutputDev.o: ./ImageOutputDev.cc ../goo/gmem.h config.h Error.h \
184  GfxState.h ../goo/gtypes.h Object.h ../goo/GString.h Array.h Dict.h \
185  Stream.h ImageOutputDev.h OutputDev.h
186 Lexer.o: ./Lexer.cc Lexer.h Object.h ../goo/gtypes.h ../goo/gmem.h \
187  ../goo/GString.h Array.h Dict.h Stream.h Error.h config.h
188 Link.o: ./Link.cc ../goo/gmem.h ../goo/GString.h Error.h config.h \
189  Object.h ../goo/gtypes.h Array.h Dict.h Stream.h Link.h
190 LTKOutputDev.o: ./LTKOutputDev.cc ../goo/gmem.h ../goo/GString.h \
191  ../ltk/LTKWindow.h ../goo/gtypes.h ../ltk/LTKScrollingCanvas.h \
192  ../ltk/LTKWidget.h Object.h Array.h Dict.h Stream.h GfxState.h \
193  GfxFont.h Error.h config.h Params.h LTKOutputDev.h XOutputDev.h \
194  OutputDev.h
195 Object.o: ./Object.cc Object.h ../goo/gtypes.h ../goo/gmem.h \
196  ../goo/GString.h Array.h Dict.h Stream.h Error.h config.h XRef.h
197 OutputDev.o: ./OutputDev.cc Object.h ../goo/gtypes.h ../goo/gmem.h \
198  ../goo/GString.h Array.h Dict.h Stream.h GfxState.h OutputDev.h
199 Page.o: ./Page.cc Object.h ../goo/gtypes.h ../goo/gmem.h \
200  ../goo/GString.h Array.h Dict.h Stream.h XRef.h OutputDev.h Gfx.h \
201  Error.h config.h Params.h Page.h
202 Params.o: ./Params.cc ../goo/gtypes.h ../goo/gmem.h ../goo/GString.h \
203  ../goo/gfile.h Params.h
204 Parser.o: ./Parser.cc Object.h ../goo/gtypes.h ../goo/gmem.h \
205  ../goo/GString.h Array.h Dict.h Stream.h Parser.h Lexer.h Error.h \
206  config.h
207 PBMOutputDev.o: ./PBMOutputDev.cc ../goo/gmem.h ../goo/GString.h \
208  Object.h ../goo/gtypes.h Array.h Dict.h Stream.h GfxState.h GfxFont.h \
209  Error.h config.h Params.h PBMOutputDev.h XOutputDev.h OutputDev.h
210 PDFDoc.o: ./PDFDoc.cc ../goo/GString.h config.h Page.h Object.h \
211  ../goo/gtypes.h ../goo/gmem.h Array.h Dict.h Stream.h Catalog.h \
212  XRef.h Link.h OutputDev.h Params.h Error.h PDFDoc.h
213 PSOutputDev.o: ./PSOutputDev.cc ../goo/GString.h config.h Object.h \
214  ../goo/gtypes.h ../goo/gmem.h Array.h Dict.h Stream.h Error.h \
215  GfxState.h GfxFont.h Catalog.h Page.h PSOutputDev.h OutputDev.h
216 Stream.o: ./Stream.cc ../goo/gmem.h config.h Error.h Object.h \
217  ../goo/gtypes.h ../goo/GString.h Array.h Dict.h Stream.h \
218  Stream-CCITT.h
219 TextOutputDev.o: ./TextOutputDev.cc ../goo/GString.h ../goo/gmem.h \
220  config.h Error.h GfxState.h ../goo/gtypes.h GfxFont.h Object.h \
221  Array.h Dict.h Stream.h TextOutputDev.h OutputDev.h \
222  TextOutputFontInfo.h
223 XOutputDev.o: ./XOutputDev.cc ../goo/gmem.h ../goo/GString.h Object.h \
224  ../goo/gtypes.h Array.h Dict.h Stream.h GfxState.h GfxFont.h Error.h \
225  config.h Params.h TextOutputDev.h OutputDev.h XOutputDev.h \
226  XOutputFontInfo.h
227 XRef.o: ./XRef.cc ../goo/gmem.h Object.h ../goo/gtypes.h \
228  ../goo/GString.h Array.h Dict.h Stream.h Lexer.h Parser.h Error.h \
229  config.h XRef.h
230 xpdf.o: ./xpdf.cc ../goo/gtypes.h ../goo/GString.h ../goo/parseargs.h \
231  ../goo/gfile.h ../goo/gmem.h ../ltk/LTKAll.h ../ltk/LTKApp.h \
232  ../ltk/LTKWindow.h ../ltk/LTKMenu.h ../ltk/LTKWidget.h \
233  ../ltk/LTKCompoundWidget.h ../ltk/LTKBox.h ../ltk/LTKBorder.h \
234  ../ltk/LTKButtonDialog.h ../ltk/LTKButton.h ../ltk/LTKCanvas.h \
235  ../ltk/LTKDblBufCanvas.h ../ltk/LTKEmpty.h ../ltk/LTKFileReq.h \
236  ../ltk/LTKLabel.h ../ltk/LTKList.h ../ltk/LTKScrollbar.h \
237  ../ltk/LTKScrollingCanvas.h ../ltk/LTKTextIn.h ../ltk/LTKResources.h \
238  Object.h Array.h Dict.h Stream.h XRef.h Catalog.h Page.h Link.h \
239  PDFDoc.h XOutputDev.h config.h OutputDev.h LTKOutputDev.h \
240  PSOutputDev.h TextOutputDev.h Params.h Error.h xpdfIcon.xpm \
241  leftArrow.xbm dblLeftArrow.xbm rightArrow.xbm dblRightArrow.xbm \
242  zoomIn.xbm zoomOut.xbm find.xbm postscript.xbm about.xbm xpdf-ltk.h
243 pdftops.o: ./pdftops.cc ../goo/parseargs.h ../goo/gtypes.h \
244  ../goo/GString.h ../goo/gmem.h Object.h Array.h Dict.h Stream.h \
245  XRef.h Catalog.h Page.h PDFDoc.h Link.h PSOutputDev.h config.h \
246  OutputDev.h Params.h Error.h
247 pdftotext.o: ./pdftotext.cc ../goo/parseargs.h ../goo/gtypes.h \
248  ../goo/GString.h ../goo/gmem.h Object.h Array.h Dict.h Stream.h \
249  XRef.h Catalog.h Page.h PDFDoc.h Link.h TextOutputDev.h OutputDev.h \
250  Params.h Error.h config.h
251 pdfinfo.o: ./pdfinfo.cc ../goo/parseargs.h ../goo/gtypes.h \
252  ../goo/GString.h ../goo/gmem.h Object.h Array.h Dict.h Stream.h \
253  XRef.h Catalog.h Page.h PDFDoc.h Link.h Params.h Error.h config.h
254 pdftopbm.o: ./pdftopbm.cc ../goo/parseargs.h ../goo/gtypes.h \
255  ../goo/GString.h ../goo/gmem.h Object.h Array.h Dict.h Stream.h \
256  XRef.h Catalog.h Page.h PDFDoc.h Link.h PBMOutputDev.h config.h \
257  XOutputDev.h OutputDev.h Params.h Error.h
258 pdfimages.o: ./pdfimages.cc ../goo/parseargs.h ../goo/gtypes.h \
259  ../goo/GString.h ../goo/gmem.h Object.h Array.h Dict.h Stream.h \
260  XRef.h Catalog.h Page.h PDFDoc.h Link.h ImageOutputDev.h OutputDev.h \
261  Params.h Error.h config.h