c71d31959ec5248825b9cd7d671555d0d8571405
[gcc.git] / texinfo / info / Makefile.in
1 # Makefile.in generated automatically by automake 1.2f from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = /bin/sh
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 pkgdatadir = $(datadir)/@PACKAGE@
36 pkglibdir = $(libdir)/@PACKAGE@
37 pkgincludedir = $(includedir)/@PACKAGE@
38
39 top_builddir = ..
40
41 ACLOCAL = @ACLOCAL@
42 AUTOCONF = @AUTOCONF@
43 AUTOMAKE = @AUTOMAKE@
44 AUTOHEADER = @AUTOHEADER@
45
46 INSTALL = @INSTALL@
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
48 INSTALL_DATA = @INSTALL_DATA@
49 INSTALL_SCRIPT = @INSTALL_SCRIPT@
50
51 NORMAL_INSTALL = :
52 PRE_INSTALL = :
53 POST_INSTALL = :
54 NORMAL_UNINSTALL = :
55 PRE_UNINSTALL = :
56 POST_UNINSTALL = :
57 CATALOGS = @CATALOGS@
58 CATOBJEXT = @CATOBJEXT@
59 CC = @CC@
60 DATADIRNAME = @DATADIRNAME@
61 GENCAT = @GENCAT@
62 GMOFILES = @GMOFILES@
63 GMSGFMT = @GMSGFMT@
64 GT_NO = @GT_NO@
65 GT_YES = @GT_YES@
66 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
67 INSTOBJEXT = @INSTOBJEXT@
68 INTLDEPS = @INTLDEPS@
69 INTLLIBS = @INTLLIBS@
70 INTLOBJS = @INTLOBJS@
71 MAKEINFO = @MAKEINFO@
72 MKINSTALLDIRS = @MKINSTALLDIRS@
73 MSGFMT = @MSGFMT@
74 PACKAGE = @PACKAGE@
75 POFILES = @POFILES@
76 POSUB = @POSUB@
77 RANLIB = @RANLIB@
78 TERMLIBS = @TERMLIBS@
79 TEXCONFIG = @TEXCONFIG@
80 TEXMF = @TEXMF@
81 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
82 USE_NLS = @USE_NLS@
83 VERSION = @VERSION@
84 l = @l@
85
86 noinst_PROGRAMS = makedoc
87
88 # Use `ginfo' for building to avoid confusion with the standard `info'
89 # target. The install rule removes the `g' before applying any
90 # user-specified name transformations.
91 bin_PROGRAMS = ginfo
92 transform = s/ginfo/info/; @program_transform_name@
93
94 localedir = $(datadir)/locale
95
96 # -I. for funs.h.
97 # Automake puts -I.. and -I$(srcdir) into DEFS by default, but
98 # we need to override it, so include them ourselves.
99 INCLUDES = -I. -I$(top_srcdir)/lib -I../intl -I.. -I$(srcdir)
100 DEFS = -DINFODIR=\"$(infodir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@
101 LDADD = ../lib/libtxi.a @TERMLIBS@ @INTLLIBS@
102
103 makedoc_SOURCES = makedoc.c
104 ginfo_SOURCES = dir.c display.c display.h doc.c doc.h dribble.c dribble.h \
105 echo-area.c echo-area.h \
106 filesys.c filesys.h footnotes.c footnotes.h funs.h gc.c gc.h \
107 indices.c indices.h info-utils.c info-utils.h info.c info.h infodoc.c \
108 infomap.c infomap.h m-x.c man.c man.h nodemenu.c nodes.c nodes.h \
109 search.c search.h session.c session.h signals.c signals.h \
110 termdep.h terminal.c terminal.h tilde.c tilde.h \
111 variables.c variables.h window.c window.h
112
113 EXTRA_DIST = README
114
115 # The files `doc.c' and `funs.h' are created by ./makedoc run over the source
116 # files which contain DECLARE_INFO_COMMAND. `funs.h' is a header file
117 # listing the functions found. `doc.c' is a structure containing pointers
118 # to those functions along with completable names and documentation strings.
119 BUILT_SOURCES = doc.c funs.h
120
121 cmd_sources = $(srcdir)/session.c $(srcdir)/echo-area.c $(srcdir)/infodoc.c \
122 $(srcdir)/m-x.c $(srcdir)/indices.c $(srcdir)/nodemenu.c \
123 $(srcdir)/footnotes.c $(srcdir)/variables.c
124 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
125 CONFIG_HEADER = ../config.h
126 CONFIG_CLEAN_FILES =
127 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
128
129 CPPFLAGS = @CPPFLAGS@
130 LDFLAGS = @LDFLAGS@
131 LIBS = @LIBS@
132 ginfo_OBJECTS = dir.o display.o doc.o dribble.o echo-area.o filesys.o \
133 footnotes.o gc.o indices.o info-utils.o info.o infodoc.o infomap.o \
134 m-x.o man.o nodemenu.o nodes.o search.o session.o signals.o terminal.o \
135 tilde.o variables.o window.o
136 ginfo_LDADD = $(LDADD)
137 ginfo_DEPENDENCIES = ../lib/libtxi.a
138 ginfo_LDFLAGS =
139 makedoc_OBJECTS = makedoc.o
140 makedoc_LDADD = $(LDADD)
141 makedoc_DEPENDENCIES = ../lib/libtxi.a
142 makedoc_LDFLAGS =
143 CFLAGS = @CFLAGS@
144 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
145 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
146 DIST_COMMON = README Makefile.am Makefile.in
147
148
149 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
150
151 TAR = tar
152 GZIP = --best
153 SOURCES = $(ginfo_SOURCES) $(makedoc_SOURCES)
154 OBJECTS = $(ginfo_OBJECTS) $(makedoc_OBJECTS)
155
156 default: all
157
158 .SUFFIXES:
159 .SUFFIXES: .S .c .o .s
160 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
161 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps info/Makefile
162
163 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
164 cd $(top_builddir) \
165 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
166
167
168 mostlyclean-binPROGRAMS:
169
170 clean-binPROGRAMS:
171 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
172
173 distclean-binPROGRAMS:
174
175 maintainer-clean-binPROGRAMS:
176
177 install-binPROGRAMS: $(bin_PROGRAMS)
178 @$(NORMAL_INSTALL)
179 $(mkinstalldirs) $(bindir)
180 @list='$(bin_PROGRAMS)'; for p in $$list; do \
181 if test -f $$p; then \
182 echo " $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
183 $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
184 else :; fi; \
185 done
186
187 uninstall-binPROGRAMS:
188 @$(NORMAL_UNINSTALL)
189 list='$(bin_PROGRAMS)'; for p in $$list; do \
190 rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
191 done
192
193 mostlyclean-noinstPROGRAMS:
194
195 clean-noinstPROGRAMS:
196 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
197
198 distclean-noinstPROGRAMS:
199
200 maintainer-clean-noinstPROGRAMS:
201
202 .c.o:
203 $(COMPILE) -c $<
204
205 .s.o:
206 $(COMPILE) -c $<
207
208 .S.o:
209 $(COMPILE) -c $<
210
211 mostlyclean-compile:
212 -rm -f *.o core *.core
213
214 clean-compile:
215
216 distclean-compile:
217 -rm -f *.tab.c
218
219 maintainer-clean-compile:
220
221 ginfo: $(ginfo_OBJECTS) $(ginfo_DEPENDENCIES)
222 @rm -f ginfo
223 $(LINK) $(ginfo_LDFLAGS) $(ginfo_OBJECTS) $(ginfo_LDADD) $(LIBS)
224
225 makedoc: $(makedoc_OBJECTS) $(makedoc_DEPENDENCIES)
226 @rm -f makedoc
227 $(LINK) $(makedoc_LDFLAGS) $(makedoc_OBJECTS) $(makedoc_LDADD) $(LIBS)
228
229 tags: TAGS
230
231 ID: $(HEADERS) $(SOURCES) $(LISP)
232 here=`pwd` && cd $(srcdir) \
233 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
234
235 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
236 tags=; \
237 here=`pwd`; \
238 list='$(SOURCES) $(HEADERS)'; \
239 unique=`for i in $$list; do echo $$i; done | \
240 awk ' { files[$$0] = 1; } \
241 END { for (i in files) print i; }'`; \
242 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
243 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
244
245 mostlyclean-tags:
246
247 clean-tags:
248
249 distclean-tags:
250 -rm -f TAGS ID
251
252 maintainer-clean-tags:
253
254 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
255
256 subdir = info
257
258 distdir: $(DISTFILES)
259 @for file in $(DISTFILES); do \
260 d=$(srcdir); \
261 test -f $(distdir)/$$file \
262 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
263 || cp -p $$d/$$file $(distdir)/$$file; \
264 done
265 dir.o: dir.c info.h ../lib/system.h ../config.h filesys.h display.h \
266 info-utils.h nodes.h window.h infomap.h search.h terminal.h \
267 session.h dribble.h echo-area.h doc.h footnotes.h gc.h tilde.h
268 display.o: display.c info.h ../lib/system.h ../config.h filesys.h \
269 display.h info-utils.h nodes.h window.h infomap.h search.h \
270 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
271 gc.h
272 doc.o: doc.c doc.h info.h ../lib/system.h ../config.h filesys.h \
273 display.h info-utils.h nodes.h window.h infomap.h search.h \
274 terminal.h session.h dribble.h echo-area.h footnotes.h gc.h \
275 funs.h
276 dribble.o: dribble.c info.h ../lib/system.h ../config.h filesys.h \
277 display.h info-utils.h nodes.h window.h infomap.h search.h \
278 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
279 gc.h
280 echo-area.o: echo-area.c info.h ../lib/system.h ../config.h filesys.h \
281 display.h info-utils.h nodes.h window.h infomap.h search.h \
282 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
283 gc.h
284 filesys.o: filesys.c info.h ../lib/system.h ../config.h filesys.h \
285 display.h info-utils.h nodes.h window.h infomap.h search.h \
286 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
287 gc.h tilde.h
288 footnotes.o: footnotes.c info.h ../lib/system.h ../config.h filesys.h \
289 display.h info-utils.h nodes.h window.h infomap.h search.h \
290 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
291 gc.h
292 gc.o: gc.c info.h ../lib/system.h ../config.h filesys.h display.h \
293 info-utils.h nodes.h window.h infomap.h search.h terminal.h \
294 session.h dribble.h echo-area.h doc.h footnotes.h gc.h
295 indices.o: indices.c info.h ../lib/system.h ../config.h filesys.h \
296 display.h info-utils.h nodes.h window.h infomap.h search.h \
297 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
298 gc.h indices.h
299 info-utils.o: info-utils.c info.h ../lib/system.h ../config.h filesys.h \
300 display.h info-utils.h nodes.h window.h infomap.h search.h \
301 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
302 gc.h man.h
303 info.o: info.c info.h ../lib/system.h ../config.h filesys.h display.h \
304 info-utils.h nodes.h window.h infomap.h search.h terminal.h \
305 session.h dribble.h echo-area.h doc.h footnotes.h gc.h \
306 indices.h ../lib/getopt.h man.h
307 infodoc.o: infodoc.c info.h ../lib/system.h ../config.h filesys.h \
308 display.h info-utils.h nodes.h window.h infomap.h search.h \
309 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
310 gc.h
311 infomap.o: infomap.c info.h ../lib/system.h ../config.h filesys.h \
312 display.h info-utils.h nodes.h window.h infomap.h search.h \
313 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
314 gc.h funs.h
315 m-x.o: m-x.c info.h ../lib/system.h ../config.h filesys.h display.h \
316 info-utils.h nodes.h window.h infomap.h search.h terminal.h \
317 session.h dribble.h echo-area.h doc.h footnotes.h gc.h
318 makedoc.o: makedoc.c info.h ../lib/system.h ../config.h filesys.h \
319 display.h info-utils.h nodes.h window.h infomap.h search.h \
320 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
321 gc.h
322 man.o: man.c info.h ../lib/system.h ../config.h filesys.h display.h \
323 info-utils.h nodes.h window.h infomap.h search.h terminal.h \
324 session.h dribble.h echo-area.h doc.h footnotes.h gc.h \
325 signals.h tilde.h man.h
326 nodemenu.o: nodemenu.c info.h ../lib/system.h ../config.h filesys.h \
327 display.h info-utils.h nodes.h window.h infomap.h search.h \
328 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
329 gc.h
330 nodes.o: nodes.c info.h ../lib/system.h ../config.h filesys.h display.h \
331 info-utils.h nodes.h window.h infomap.h search.h terminal.h \
332 session.h dribble.h echo-area.h doc.h footnotes.h gc.h man.h
333 search.o: search.c info.h ../lib/system.h ../config.h filesys.h \
334 display.h info-utils.h nodes.h window.h infomap.h search.h \
335 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
336 gc.h
337 session.o: session.c info.h ../lib/system.h ../config.h filesys.h \
338 display.h info-utils.h nodes.h window.h infomap.h search.h \
339 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
340 gc.h man.h
341 signals.o: signals.c info.h ../lib/system.h ../config.h filesys.h \
342 display.h info-utils.h nodes.h window.h infomap.h search.h \
343 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
344 gc.h signals.h
345 terminal.o: terminal.c info.h ../lib/system.h ../config.h filesys.h \
346 display.h info-utils.h nodes.h window.h infomap.h search.h \
347 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
348 gc.h termdep.h
349 tilde.o: tilde.c info.h ../lib/system.h ../config.h filesys.h display.h \
350 info-utils.h nodes.h window.h infomap.h search.h terminal.h \
351 session.h dribble.h echo-area.h doc.h footnotes.h gc.h
352 variables.o: variables.c info.h ../lib/system.h ../config.h filesys.h \
353 display.h info-utils.h nodes.h window.h infomap.h search.h \
354 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
355 gc.h variables.h
356 window.o: window.c info.h ../lib/system.h ../config.h filesys.h \
357 display.h info-utils.h nodes.h window.h infomap.h search.h \
358 terminal.h session.h dribble.h echo-area.h doc.h footnotes.h \
359 gc.h
360
361 info:
362 dvi:
363 check: all
364 $(MAKE)
365 installcheck:
366 install-exec: install-binPROGRAMS
367 @$(NORMAL_INSTALL)
368
369 install-data:
370 @$(NORMAL_INSTALL)
371
372 install: install-exec install-data all
373 @:
374
375 uninstall: uninstall-binPROGRAMS
376
377 all: Makefile $(PROGRAMS)
378
379 install-strip:
380 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
381 installdirs:
382 $(mkinstalldirs) $(bindir)
383
384
385 mostlyclean-generic:
386 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
387
388 clean-generic:
389 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
390
391 distclean-generic:
392 -rm -f Makefile $(DISTCLEANFILES)
393 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
394 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
395
396 maintainer-clean-generic:
397 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
398 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
399 mostlyclean: mostlyclean-binPROGRAMS mostlyclean-noinstPROGRAMS \
400 mostlyclean-compile mostlyclean-tags \
401 mostlyclean-generic
402
403 clean: clean-binPROGRAMS clean-noinstPROGRAMS clean-compile clean-tags \
404 clean-generic mostlyclean
405
406 distclean: distclean-binPROGRAMS distclean-noinstPROGRAMS \
407 distclean-compile distclean-tags distclean-generic \
408 clean
409 -rm -f config.status
410
411 maintainer-clean: maintainer-clean-binPROGRAMS \
412 maintainer-clean-noinstPROGRAMS \
413 maintainer-clean-compile maintainer-clean-tags \
414 maintainer-clean-generic distclean
415 @echo "This command is intended for maintainers to use;"
416 @echo "it deletes files that may require special tools to rebuild."
417
418 .PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
419 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
420 install-binPROGRAMS mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
421 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
422 mostlyclean-compile distclean-compile clean-compile \
423 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
424 clean-tags maintainer-clean-tags distdir info dvi installcheck \
425 install-exec install-data install uninstall all installdirs \
426 mostlyclean-generic distclean-generic clean-generic \
427 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
428
429
430 $(BUILT_SOURCES): makedoc $(cmd_sources)
431 ./makedoc $(cmd_sources)
432
433 # Tell versions [3.59,3.63) of GNU make to not export all variables.
434 # Otherwise a system limit (for SysV at least) may be exceeded.
435 .NOEXPORT: