Update with automake patched for DATA=$(INSTALL_DATA) problem.
[gcc.git] / texinfo / info / Makefile.in
1 # Makefile.in generated automatically by automake 1.2e 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 = @SHELL@
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 EXEEXT = @EXEEXT@
62 GENCAT = @GENCAT@
63 GMOFILES = @GMOFILES@
64 GMSGFMT = @GMSGFMT@
65 GT_NO = @GT_NO@
66 GT_YES = @GT_YES@
67 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
68 INSTALL = @INSTALL@
69 INSTALL_DATA = @INSTALL_DATA@
70 INSTALL_PROGRAM = @INSTALL_PROGRAM@
71 INSTOBJEXT = @INSTOBJEXT@
72 INTLDEPS = @INTLDEPS@
73 INTLLIBS = @INTLLIBS@
74 INTLOBJS = @INTLOBJS@
75 MAINT = @MAINT@
76 MAKEINFO = @MAKEINFO@
77 MKINSTALLDIRS = @MKINSTALLDIRS@
78 MSGFMT = @MSGFMT@
79 PACKAGE = @PACKAGE@
80 POFILES = @POFILES@
81 POSUB = @POSUB@
82 RANLIB = @RANLIB@
83 TERMLIBS = @TERMLIBS@
84 TEXCONFIG = @TEXCONFIG@
85 TEXMF = @TEXMF@
86 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
87 USE_NLS = @USE_NLS@
88 VERSION = @VERSION@
89 l = @l@
90
91 noinst_PROGRAMS = makedoc
92
93 # Use `ginfo' for building to avoid confusion with the standard `info'
94 # target. The install rule removes the `g' before applying any
95 # user-specified name transformations.
96 bin_PROGRAMS = ginfo
97 transform = s/ginfo/info/; @program_transform_name@
98
99 localedir = $(datadir)/locale
100
101 # -I. for funs.h.
102 # Automake puts -I.. and -I$(srcdir) into DEFS by default, but
103 # we need to override it, so include them ourselves.
104 INCLUDES = -I. -I$(top_srcdir)/lib -I../intl -I.. -I$(srcdir)
105 DEFS = -DINFODIR=\"$(infodir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@
106 LDADD = ../lib/libtxi.a @TERMLIBS@ @INTLLIBS@
107
108 makedoc_SOURCES = makedoc.c
109 ginfo_SOURCES = dir.c display.c display.h doc.c doc.h dribble.c dribble.h \
110 echo-area.c echo-area.h \
111 filesys.c filesys.h footnotes.c footnotes.h funs.h gc.c gc.h \
112 indices.c indices.h info-utils.c info-utils.h info.c info.h infodoc.c \
113 infomap.c infomap.h m-x.c man.c man.h nodemenu.c nodes.c nodes.h \
114 search.c search.h session.c session.h signals.c signals.h \
115 termdep.h terminal.c terminal.h tilde.c tilde.h \
116 variables.c variables.h window.c window.h
117
118 EXTRA_DIST = README
119
120 # The files `doc.c' and `funs.h' are created by ./makedoc run over the source
121 # files which contain DECLARE_INFO_COMMAND. `funs.h' is a header file
122 # listing the functions found. `doc.c' is a structure containing pointers
123 # to those functions along with completable names and documentation strings.
124 BUILT_SOURCES = doc.c funs.h
125
126 cmd_sources = $(srcdir)/session.c $(srcdir)/echo-area.c $(srcdir)/infodoc.c \
127 $(srcdir)/m-x.c $(srcdir)/indices.c $(srcdir)/nodemenu.c \
128 $(srcdir)/footnotes.c $(srcdir)/variables.c
129 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
130 CONFIG_HEADER = ../config.h
131 CONFIG_CLEAN_FILES =
132 bin_PROGRAMS = ginfo$(EXEEXT)
133 noinst_PROGRAMS = makedoc$(EXEEXT)
134 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
135
136 CPPFLAGS = @CPPFLAGS@
137 LDFLAGS = @LDFLAGS@
138 LIBS = @LIBS@
139 ginfo_OBJECTS = dir.o display.o doc.o dribble.o echo-area.o filesys.o \
140 footnotes.o gc.o indices.o info-utils.o info.o infodoc.o infomap.o \
141 m-x.o man.o nodemenu.o nodes.o search.o session.o signals.o terminal.o \
142 tilde.o variables.o window.o
143 ginfo_LDADD = $(LDADD)
144 ginfo_DEPENDENCIES = ../lib/libtxi.a
145 ginfo_LDFLAGS =
146 makedoc_OBJECTS = makedoc.o
147 makedoc_LDADD = $(LDADD)
148 makedoc_DEPENDENCIES = ../lib/libtxi.a
149 makedoc_LDFLAGS =
150 CFLAGS = @CFLAGS@
151 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
152 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
153 DIST_COMMON = README Makefile.am Makefile.in NEWS
154
155
156 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
157
158 TAR = tar
159 GZIP = --best
160 DEP_FILES = .deps/dir.P .deps/display.P .deps/doc.P .deps/dribble.P \
161 .deps/echo-area.P .deps/filesys.P .deps/footnotes.P .deps/gc.P \
162 .deps/indices.P .deps/info-utils.P .deps/info.P .deps/infodoc.P \
163 .deps/infomap.P .deps/m-x.P .deps/makedoc.P .deps/man.P \
164 .deps/nodemenu.P .deps/nodes.P .deps/search.P .deps/session.P \
165 .deps/signals.P .deps/terminal.P .deps/tilde.P .deps/variables.P \
166 .deps/window.P
167 SOURCES = $(ginfo_SOURCES) $(makedoc_SOURCES)
168 OBJECTS = $(ginfo_OBJECTS) $(makedoc_OBJECTS)
169
170 default: all
171
172 .SUFFIXES:
173 .SUFFIXES: .S .c .o .s
174 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
175 cd $(top_srcdir) && $(AUTOMAKE) --gnu info/Makefile
176
177 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
178 cd $(top_builddir) \
179 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
180
181
182 mostlyclean-binPROGRAMS:
183
184 clean-binPROGRAMS:
185 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
186
187 distclean-binPROGRAMS:
188
189 maintainer-clean-binPROGRAMS:
190
191 install-binPROGRAMS: $(bin_PROGRAMS)
192 @$(NORMAL_INSTALL)
193 $(mkinstalldirs) $(bindir)
194 @list='$(bin_PROGRAMS)'; for p in $$list; do \
195 if test -f $$p; then \
196 echo " $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
197 $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
198 else :; fi; \
199 done
200
201 uninstall-binPROGRAMS:
202 $(NORMAL_UNINSTALL)
203 list='$(bin_PROGRAMS)'; for p in $$list; do \
204 rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
205 done
206
207 mostlyclean-noinstPROGRAMS:
208
209 clean-noinstPROGRAMS:
210 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
211
212 distclean-noinstPROGRAMS:
213
214 maintainer-clean-noinstPROGRAMS:
215
216 .s.o:
217 $(COMPILE) -c $<
218
219 .S.o:
220 $(COMPILE) -c $<
221
222 mostlyclean-compile:
223 -rm -f *.o core *.core
224
225 clean-compile:
226
227 distclean-compile:
228 -rm -f *.tab.c
229
230 maintainer-clean-compile:
231
232 ginfo$(EXEEXT): $(ginfo_OBJECTS) $(ginfo_DEPENDENCIES)
233 @rm -f ginfo$(EXEEXT)
234 $(LINK) $(ginfo_LDFLAGS) $(ginfo_OBJECTS) $(ginfo_LDADD) $(LIBS)
235
236 makedoc$(EXEEXT): $(makedoc_OBJECTS) $(makedoc_DEPENDENCIES)
237 @rm -f makedoc$(EXEEXT)
238 $(LINK) $(makedoc_LDFLAGS) $(makedoc_OBJECTS) $(makedoc_LDADD) $(LIBS)
239
240 tags: TAGS
241
242 ID: $(HEADERS) $(SOURCES) $(LISP)
243 here=`pwd` && cd $(srcdir) \
244 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
245
246 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
247 tags=; \
248 here=`pwd`; \
249 list='$(SOURCES) $(HEADERS)'; \
250 unique=`for i in $$list; do echo $$i; done | \
251 awk ' { files[$$0] = 1; } \
252 END { for (i in files) print i; }'`; \
253 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
254 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
255
256 mostlyclean-tags:
257
258 clean-tags:
259
260 distclean-tags:
261 -rm -f TAGS ID
262
263 maintainer-clean-tags:
264
265 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
266
267 subdir = info
268
269 distdir: $(DISTFILES)
270 here=`cd $(top_builddir) && pwd`; \
271 top_distdir=`cd $(top_distdir) && pwd`; \
272 distdir=`cd $(distdir) && pwd`; \
273 cd $(top_srcdir) \
274 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu info/Makefile
275 @for file in $(DISTFILES); do \
276 d=$(srcdir); \
277 test -f $(distdir)/$$file \
278 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
279 || cp -p $$d/$$file $(distdir)/$$file; \
280 done
281
282 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
283
284 -include $(DEP_FILES)
285
286 mostlyclean-depend:
287
288 clean-depend:
289
290 distclean-depend:
291
292 maintainer-clean-depend:
293 -rm -rf .deps
294
295 %.o: %.c
296 @echo '$(COMPILE) -c $<'; \
297 DEPENDENCIES_OUTPUT='.deps/$(*F).P'; \
298 export DEPENDENCIES_OUTPUT; \
299 : > .deps/$(*F).P; \
300 $(COMPILE) -c $<
301 info:
302 dvi:
303 check: all
304 $(MAKE)
305 installcheck:
306 install-exec: install-binPROGRAMS
307 @$(NORMAL_INSTALL)
308
309 install-data:
310 @$(NORMAL_INSTALL)
311
312 install: install-exec install-data all
313 @:
314
315 uninstall: uninstall-binPROGRAMS
316
317 all: Makefile $(PROGRAMS)
318
319 install-strip:
320 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
321 installdirs:
322 $(mkinstalldirs) $(bindir)
323
324
325 mostlyclean-generic:
326 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
327
328 clean-generic:
329 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
330
331 distclean-generic:
332 -rm -f Makefile $(DISTCLEANFILES)
333 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
334 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
335
336 maintainer-clean-generic:
337 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
338 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
339 mostlyclean: mostlyclean-binPROGRAMS mostlyclean-noinstPROGRAMS \
340 mostlyclean-compile mostlyclean-tags mostlyclean-depend \
341 mostlyclean-generic
342
343 clean: clean-binPROGRAMS clean-noinstPROGRAMS clean-compile clean-tags \
344 clean-depend clean-generic mostlyclean
345
346 distclean: distclean-binPROGRAMS distclean-noinstPROGRAMS \
347 distclean-compile distclean-tags distclean-depend \
348 distclean-generic clean
349 -rm -f config.status
350
351 maintainer-clean: maintainer-clean-binPROGRAMS \
352 maintainer-clean-noinstPROGRAMS \
353 maintainer-clean-compile maintainer-clean-tags \
354 maintainer-clean-depend maintainer-clean-generic \
355 distclean
356 @echo "This command is intended for maintainers to use;"
357 @echo "it deletes files that may require special tools to rebuild."
358
359 .PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
360 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
361 install-binPROGRAMS mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
362 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
363 mostlyclean-compile distclean-compile clean-compile \
364 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
365 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
366 distclean-depend clean-depend maintainer-clean-depend info dvi \
367 installcheck install-exec install-data install uninstall all \
368 installdirs mostlyclean-generic distclean-generic clean-generic \
369 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
370
371
372 $(BUILT_SOURCES): makedoc $(cmd_sources)
373 ./makedoc $(cmd_sources)
374
375 # Tell versions [3.59,3.63) of GNU make to not export all variables.
376 # Otherwise a system limit (for SysV at least) may be exceeded.
377 .NOEXPORT: