xref: /titanic_52/usr/src/grub/grub-0.97/docs/Makefile.in (revision f6e214c7418f43af38bd8c3a557e3d0a1d311cfa)
1# Makefile.in generated by automake 1.9.4 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004  Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17
18SOURCES = $(kernel_SOURCES)
19
20srcdir = @srcdir@
21top_srcdir = @top_srcdir@
22VPATH = @srcdir@
23pkgdatadir = $(datadir)/@PACKAGE@
24pkglibdir = $(libdir)/@PACKAGE@
25pkgincludedir = $(includedir)/@PACKAGE@
26top_builddir = ..
27am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
28INSTALL = @INSTALL@
29install_sh_DATA = $(install_sh) -c -m 644
30install_sh_PROGRAM = $(install_sh) -c
31install_sh_SCRIPT = $(install_sh) -c
32INSTALL_HEADER = $(INSTALL_DATA)
33transform = $(program_transform_name)
34NORMAL_INSTALL = :
35PRE_INSTALL = :
36POST_INSTALL = :
37NORMAL_UNINSTALL = :
38PRE_UNINSTALL = :
39POST_UNINSTALL = :
40build_triplet = @build@
41host_triplet = @host@
42EXTRA_PROGRAMS = kernel$(EXEEXT)
43@BUILD_EXAMPLE_KERNEL_TRUE@noinst_PROGRAMS = kernel$(EXEEXT)
44subdir = docs
45DIST_COMMON = $(grub_TEXINFOS) $(multiboot_TEXINFOS) \
46	$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
47	$(srcdir)/stamp-vti $(srcdir)/version.texi mdate-sh \
48	texinfo.tex
49ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
50am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
51	$(top_srcdir)/configure.ac
52am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
53	$(ACLOCAL_M4)
54mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
55CONFIG_HEADER = $(top_builddir)/config.h
56CONFIG_CLEAN_FILES =
57PROGRAMS = $(noinst_PROGRAMS)
58am__kernel_SOURCES_DIST = boot.S kernel.c multiboot.h
59am__objects_1 = boot.$(OBJEXT) kernel-kernel.$(OBJEXT)
60@BUILD_EXAMPLE_KERNEL_TRUE@am_kernel_OBJECTS = $(am__objects_1)
61kernel_OBJECTS = $(am_kernel_OBJECTS)
62kernel_LDADD = $(LDADD)
63SCRIPTS = $(noinst_SCRIPTS)
64DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
65depcomp = $(SHELL) $(top_srcdir)/depcomp
66am__depfiles_maybe = depfiles
67CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
68COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
69	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
70CCLD = $(CC)
71LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
72SOURCES = $(kernel_SOURCES)
73DIST_SOURCES = $(am__kernel_SOURCES_DIST)
74INFO_DEPS = $(srcdir)/grub.info $(srcdir)/multiboot.info
75am__TEXINFO_TEX_DIR = $(srcdir)
76DVIS = grub.dvi multiboot.dvi
77PDFS = grub.pdf multiboot.pdf
78PSS = grub.ps multiboot.ps
79HTMLS = grub.html multiboot.html
80TEXINFOS = grub.texi multiboot.texi
81TEXI2DVI = texi2dvi
82TEXI2PDF = $(TEXI2DVI) --pdf --batch
83MAKEINFOHTML = $(MAKEINFO) --html
84AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
85DVIPS = dvips
86am__installdirs = "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"
87man1dir = $(mandir)/man1
88man8dir = $(mandir)/man8
89NROFF = nroff
90MANS = $(man_MANS)
91ETAGS = etags
92CTAGS = ctags
93DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
94ACLOCAL = @ACLOCAL@
95AMDEP_FALSE = @AMDEP_FALSE@
96AMDEP_TRUE = @AMDEP_TRUE@
97AMTAR = @AMTAR@
98AUTOCONF = @AUTOCONF@
99AUTOHEADER = @AUTOHEADER@
100AUTOMAKE = @AUTOMAKE@
101AWK = @AWK@
102BUILD_EXAMPLE_KERNEL_FALSE = @BUILD_EXAMPLE_KERNEL_FALSE@
103BUILD_EXAMPLE_KERNEL_TRUE = @BUILD_EXAMPLE_KERNEL_TRUE@
104CC = @CC@
105CCAS = @CCAS@
106CCASFLAGS = @CCASFLAGS@
107CCDEPMODE = @CCDEPMODE@
108CFLAGS = @CFLAGS@
109CPP = @CPP@
110CPPFLAGS = @CPPFLAGS@
111CYGPATH_W = @CYGPATH_W@
112DEFS = @DEFS@
113DEPDIR = @DEPDIR@
114DISKLESS_SUPPORT_FALSE = @DISKLESS_SUPPORT_FALSE@
115DISKLESS_SUPPORT_TRUE = @DISKLESS_SUPPORT_TRUE@
116ECHO_C = @ECHO_C@
117ECHO_N = @ECHO_N@
118ECHO_T = @ECHO_T@
119EGREP = @EGREP@
120EXEEXT = @EXEEXT@
121FSYS_CFLAGS = @FSYS_CFLAGS@
122GRUB_CFLAGS = @GRUB_CFLAGS@
123GRUB_LIBS = @GRUB_LIBS@
124HERCULES_SUPPORT_FALSE = @HERCULES_SUPPORT_FALSE@
125HERCULES_SUPPORT_TRUE = @HERCULES_SUPPORT_TRUE@
126INSTALL_DATA = @INSTALL_DATA@
127INSTALL_PROGRAM = @INSTALL_PROGRAM@
128INSTALL_SCRIPT = @INSTALL_SCRIPT@
129INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
130LDFLAGS = @LDFLAGS@
131LIBOBJS = @LIBOBJS@
132LIBS = @LIBS@
133LTLIBOBJS = @LTLIBOBJS@
134MAINT = @MAINT@
135MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
136MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
137MAKEINFO = @MAKEINFO@
138NETBOOT_DRIVERS = @NETBOOT_DRIVERS@
139NETBOOT_SUPPORT_FALSE = @NETBOOT_SUPPORT_FALSE@
140NETBOOT_SUPPORT_TRUE = @NETBOOT_SUPPORT_TRUE@
141NET_CFLAGS = @NET_CFLAGS@
142NET_EXTRAFLAGS = @NET_EXTRAFLAGS@
143OBJCOPY = @OBJCOPY@
144OBJEXT = @OBJEXT@
145PACKAGE = @PACKAGE@
146PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
147PACKAGE_NAME = @PACKAGE_NAME@
148PACKAGE_STRING = @PACKAGE_STRING@
149PACKAGE_TARNAME = @PACKAGE_TARNAME@
150PACKAGE_VERSION = @PACKAGE_VERSION@
151PATH_SEPARATOR = @PATH_SEPARATOR@
152PERL = @PERL@
153RANLIB = @RANLIB@
154SERIAL_SPEED_SIMULATION_FALSE = @SERIAL_SPEED_SIMULATION_FALSE@
155SERIAL_SPEED_SIMULATION_TRUE = @SERIAL_SPEED_SIMULATION_TRUE@
156SERIAL_SUPPORT_FALSE = @SERIAL_SUPPORT_FALSE@
157SERIAL_SUPPORT_TRUE = @SERIAL_SUPPORT_TRUE@
158SET_MAKE = @SET_MAKE@
159SHELL = @SHELL@
160STAGE1_CFLAGS = @STAGE1_CFLAGS@
161STAGE2_CFLAGS = @STAGE2_CFLAGS@
162STRIP = @STRIP@
163VERSION = @VERSION@
164ac_ct_CC = @ac_ct_CC@
165ac_ct_OBJCOPY = @ac_ct_OBJCOPY@
166ac_ct_RANLIB = @ac_ct_RANLIB@
167ac_ct_STRIP = @ac_ct_STRIP@
168am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
169am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
170am__include = @am__include@
171am__leading_dot = @am__leading_dot@
172am__quote = @am__quote@
173am__tar = @am__tar@
174am__untar = @am__untar@
175bindir = @bindir@
176build = @build@
177build_alias = @build_alias@
178build_cpu = @build_cpu@
179build_os = @build_os@
180build_vendor = @build_vendor@
181datadir = @datadir@
182exec_prefix = @exec_prefix@
183host = @host@
184host_alias = @host_alias@
185host_cpu = @host_cpu@
186host_os = @host_os@
187host_vendor = @host_vendor@
188includedir = @includedir@
189infodir = @infodir@
190install_sh = @install_sh@
191libdir = @libdir@
192libexecdir = @libexecdir@
193localstatedir = @localstatedir@
194mandir = @mandir@
195mkdir_p = @mkdir_p@
196oldincludedir = @oldincludedir@
197prefix = @prefix@
198program_transform_name = @program_transform_name@
199sbindir = @sbindir@
200sharedstatedir = @sharedstatedir@
201sysconfdir = @sysconfdir@
202target_alias = @target_alias@
203info_TEXINFOS = grub.texi multiboot.texi
204grub_TEXINFOS = internals.texi
205EXAMPLES = boot.S kernel.c multiboot.h
206multiboot_TEXINFOS = boot.S.texi kernel.c.texi multiboot.h.texi
207man_MANS = grub.8 mbchk.1 grub-install.8 grub-md5-crypt.8 grub-terminfo.8
208HELP2MAN = help2man
209SRC2TEXI = src2texi
210noinst_SCRIPTS = $(HELP2MAN) $(SRC2TEXI)
211@BUILD_EXAMPLE_KERNEL_TRUE@kernel_SOURCES = $(EXAMPLES)
212@BUILD_EXAMPLE_KERNEL_TRUE@kernel_CFLAGS = -fno-builtin -nostdinc -O -g -Wall \
213@BUILD_EXAMPLE_KERNEL_TRUE@	-imacros $(top_builddir)/config.h
214
215@BUILD_EXAMPLE_KERNEL_TRUE@kernel_LDFLAGS = -nostdlib -Wl,-N -Wl,-Ttext -Wl,100000
216EXTRA_DIST = menu.lst $(man_MANS) $(noinst_SCRIPTS) \
217	$(EXAMPLES) $(multiboot_TEXINFOS)
218
219CLEANFILES = $(noinst_PROGRAMS)
220all: all-am
221
222.SUFFIXES:
223.SUFFIXES: .S .c .dvi .html .info .o .obj .pdf .ps .texi
224$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
225	@for dep in $?; do \
226	  case '$(am__configure_deps)' in \
227	    *$$dep*) \
228	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
229		&& exit 0; \
230	      exit 1;; \
231	  esac; \
232	done; \
233	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  docs/Makefile'; \
234	cd $(top_srcdir) && \
235	  $(AUTOMAKE) --gnu  docs/Makefile
236.PRECIOUS: Makefile
237Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
238	@case '$?' in \
239	  *config.status*) \
240	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
241	  *) \
242	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
243	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
244	esac;
245
246$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
247	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
248
249$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
250	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
251$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
252	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
253
254clean-noinstPROGRAMS:
255	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
256kernel$(EXEEXT): $(kernel_OBJECTS) $(kernel_DEPENDENCIES)
257	@rm -f kernel$(EXEEXT)
258	$(LINK) $(kernel_LDFLAGS) $(kernel_OBJECTS) $(kernel_LDADD) $(LIBS)
259
260mostlyclean-compile:
261	-rm -f *.$(OBJEXT)
262
263distclean-compile:
264	-rm -f *.tab.c
265
266@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kernel-kernel.Po@am__quote@
267
268.S.o:
269	$(CCASCOMPILE) -c $<
270
271.S.obj:
272	$(CCASCOMPILE) -c `$(CYGPATH_W) '$<'`
273
274.c.o:
275@am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
276@am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
277@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
278@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
279@am__fastdepCC_FALSE@	$(COMPILE) -c $<
280
281.c.obj:
282@am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
283@am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
284@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
285@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
286@am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
287
288kernel-kernel.o: kernel.c
289@am__fastdepCC_TRUE@	if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(kernel_CFLAGS) $(CFLAGS) -MT kernel-kernel.o -MD -MP -MF "$(DEPDIR)/kernel-kernel.Tpo" -c -o kernel-kernel.o `test -f 'kernel.c' || echo '$(srcdir)/'`kernel.c; \
290@am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/kernel-kernel.Tpo" "$(DEPDIR)/kernel-kernel.Po"; else rm -f "$(DEPDIR)/kernel-kernel.Tpo"; exit 1; fi
291@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='kernel.c' object='kernel-kernel.o' libtool=no @AMDEPBACKSLASH@
292@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
293@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(kernel_CFLAGS) $(CFLAGS) -c -o kernel-kernel.o `test -f 'kernel.c' || echo '$(srcdir)/'`kernel.c
294
295kernel-kernel.obj: kernel.c
296@am__fastdepCC_TRUE@	if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(kernel_CFLAGS) $(CFLAGS) -MT kernel-kernel.obj -MD -MP -MF "$(DEPDIR)/kernel-kernel.Tpo" -c -o kernel-kernel.obj `if test -f 'kernel.c'; then $(CYGPATH_W) 'kernel.c'; else $(CYGPATH_W) '$(srcdir)/kernel.c'; fi`; \
297@am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/kernel-kernel.Tpo" "$(DEPDIR)/kernel-kernel.Po"; else rm -f "$(DEPDIR)/kernel-kernel.Tpo"; exit 1; fi
298@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='kernel.c' object='kernel-kernel.obj' libtool=no @AMDEPBACKSLASH@
299@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
300@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(kernel_CFLAGS) $(CFLAGS) -c -o kernel-kernel.obj `if test -f 'kernel.c'; then $(CYGPATH_W) 'kernel.c'; else $(CYGPATH_W) '$(srcdir)/kernel.c'; fi`
301
302.texi.info:
303	restore=: && backupdir="$(am__leading_dot)am$$$$" && \
304	am__cwd=`pwd` && cd $(srcdir) && \
305	rm -rf $$backupdir && mkdir $$backupdir && \
306	for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
307	  if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
308	done; \
309	cd "$$am__cwd"; \
310	if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
311	 -o $@ $<; \
312	then \
313	  rc=0; \
314	  cd $(srcdir); \
315	else \
316	  rc=$$?; \
317	  cd $(srcdir) && \
318	  $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
319	fi; \
320	rm -rf $$backupdir; exit $$rc
321
322.texi.dvi:
323	TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
324	MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
325	$(TEXI2DVI) $<
326
327.texi.pdf:
328	TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
329	MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
330	$(TEXI2PDF) $<
331
332.texi.html:
333	rm -rf $(@:.html=.htp)
334	if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
335	 -o $(@:.html=.htp) $<; \
336	then \
337	  rm -rf $@; \
338	  if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
339	    mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
340	else \
341	  if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
342	    rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
343	  exit 1; \
344	fi
345$(srcdir)/grub.info: grub.texi $(srcdir)/version.texi $(grub_TEXINFOS)
346grub.dvi: grub.texi $(srcdir)/version.texi $(grub_TEXINFOS)
347grub.pdf: grub.texi $(srcdir)/version.texi $(grub_TEXINFOS)
348grub.html: grub.texi $(srcdir)/version.texi $(grub_TEXINFOS)
349$(srcdir)/version.texi: @MAINTAINER_MODE_TRUE@ $(srcdir)/stamp-vti
350$(srcdir)/stamp-vti: grub.texi $(top_srcdir)/configure
351	@(dir=.; test -f ./grub.texi || dir=$(srcdir); \
352	set `$(SHELL) $(srcdir)/mdate-sh $$dir/grub.texi`; \
353	echo "@set UPDATED $$1 $$2 $$3"; \
354	echo "@set UPDATED-MONTH $$2 $$3"; \
355	echo "@set EDITION $(VERSION)"; \
356	echo "@set VERSION $(VERSION)") > vti.tmp
357	@cmp -s vti.tmp $(srcdir)/version.texi \
358	  || (echo "Updating $(srcdir)/version.texi"; \
359	      cp vti.tmp $(srcdir)/version.texi)
360	-@rm -f vti.tmp
361	@cp $(srcdir)/version.texi $@
362
363mostlyclean-vti:
364	-rm -f vti.tmp
365
366maintainer-clean-vti:
367@MAINTAINER_MODE_TRUE@	-rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
368$(srcdir)/multiboot.info: multiboot.texi $(multiboot_TEXINFOS)
369multiboot.dvi: multiboot.texi $(multiboot_TEXINFOS)
370multiboot.pdf: multiboot.texi $(multiboot_TEXINFOS)
371multiboot.html: multiboot.texi $(multiboot_TEXINFOS)
372.dvi.ps:
373	$(DVIPS) -o $@ $<
374
375uninstall-info-am:
376	$(PRE_UNINSTALL)
377	@if (install-info --version && \
378	     install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
379	  list='$(INFO_DEPS)'; \
380	  for file in $$list; do \
381	    relfile=`echo "$$file" | sed 's|^.*/||'`; \
382	    echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
383	    install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
384	  done; \
385	else :; fi
386	@$(NORMAL_UNINSTALL)
387	@list='$(INFO_DEPS)'; \
388	for file in $$list; do \
389	  relfile=`echo "$$file" | sed 's|^.*/||'`; \
390	  relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
391	  (if cd "$(DESTDIR)$(infodir)"; then \
392	     echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9])"; \
393	     rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
394	   else :; fi); \
395	done
396
397dist-info: $(INFO_DEPS)
398	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
399	list='$(INFO_DEPS)'; \
400	for base in $$list; do \
401	  case $$base in \
402	    $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
403	  esac; \
404	  if test -f $$base; then d=.; else d=$(srcdir); fi; \
405	  for file in $$d/$$base*; do \
406	    relfile=`expr "$$file" : "$$d/\(.*\)"`; \
407	    test -f $(distdir)/$$relfile || \
408	      cp -p $$file $(distdir)/$$relfile; \
409	  done; \
410	done
411
412mostlyclean-aminfo:
413	-rm -rf grub.aux grub.cp grub.cps grub.fn grub.ky grub.log grub.pg grub.tmp \
414	  grub.toc grub.tp grub.vr grub.dvi grub.pdf grub.ps grub.html \
415	  multiboot.aux multiboot.cp multiboot.cps multiboot.fn \
416	  multiboot.ky multiboot.log multiboot.pg multiboot.tmp \
417	  multiboot.toc multiboot.tp multiboot.vr multiboot.dvi \
418	  multiboot.pdf multiboot.ps multiboot.html
419
420maintainer-clean-aminfo:
421	@list='$(INFO_DEPS)'; for i in $$list; do \
422	  i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
423	  echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
424	  rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
425	done
426install-man1: $(man1_MANS) $(man_MANS)
427	@$(NORMAL_INSTALL)
428	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
429	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
430	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
431	for i in $$l2; do \
432	  case "$$i" in \
433	    *.1*) list="$$list $$i" ;; \
434	  esac; \
435	done; \
436	for i in $$list; do \
437	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
438	  else file=$$i; fi; \
439	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
440	  case "$$ext" in \
441	    1*) ;; \
442	    *) ext='1' ;; \
443	  esac; \
444	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
445	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
446	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
447	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
448	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
449	done
450uninstall-man1:
451	@$(NORMAL_UNINSTALL)
452	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
453	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
454	for i in $$l2; do \
455	  case "$$i" in \
456	    *.1*) list="$$list $$i" ;; \
457	  esac; \
458	done; \
459	for i in $$list; do \
460	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
461	  case "$$ext" in \
462	    1*) ;; \
463	    *) ext='1' ;; \
464	  esac; \
465	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
466	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
467	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
468	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
469	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
470	done
471install-man8: $(man8_MANS) $(man_MANS)
472	@$(NORMAL_INSTALL)
473	test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
474	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
475	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
476	for i in $$l2; do \
477	  case "$$i" in \
478	    *.8*) list="$$list $$i" ;; \
479	  esac; \
480	done; \
481	for i in $$list; do \
482	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
483	  else file=$$i; fi; \
484	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
485	  case "$$ext" in \
486	    8*) ;; \
487	    *) ext='8' ;; \
488	  esac; \
489	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
490	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
491	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
492	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
493	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
494	done
495uninstall-man8:
496	@$(NORMAL_UNINSTALL)
497	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
498	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
499	for i in $$l2; do \
500	  case "$$i" in \
501	    *.8*) list="$$list $$i" ;; \
502	  esac; \
503	done; \
504	for i in $$list; do \
505	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
506	  case "$$ext" in \
507	    8*) ;; \
508	    *) ext='8' ;; \
509	  esac; \
510	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
511	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
512	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
513	  echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
514	  rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
515	done
516
517ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
518	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
519	unique=`for i in $$list; do \
520	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
521	  done | \
522	  $(AWK) '    { files[$$0] = 1; } \
523	       END { for (i in files) print i; }'`; \
524	mkid -fID $$unique
525tags: TAGS
526
527TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
528		$(TAGS_FILES) $(LISP)
529	tags=; \
530	here=`pwd`; \
531	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
532	unique=`for i in $$list; do \
533	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
534	  done | \
535	  $(AWK) '    { files[$$0] = 1; } \
536	       END { for (i in files) print i; }'`; \
537	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
538	  test -n "$$unique" || unique=$$empty_fix; \
539	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
540	    $$tags $$unique; \
541	fi
542ctags: CTAGS
543CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
544		$(TAGS_FILES) $(LISP)
545	tags=; \
546	here=`pwd`; \
547	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
548	unique=`for i in $$list; do \
549	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
550	  done | \
551	  $(AWK) '    { files[$$0] = 1; } \
552	       END { for (i in files) print i; }'`; \
553	test -z "$(CTAGS_ARGS)$$tags$$unique" \
554	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
555	     $$tags $$unique
556
557GTAGS:
558	here=`$(am__cd) $(top_builddir) && pwd` \
559	  && cd $(top_srcdir) \
560	  && gtags -i $(GTAGS_ARGS) $$here
561
562distclean-tags:
563	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
564
565distdir: $(DISTFILES)
566	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
567	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
568	list='$(DISTFILES)'; for file in $$list; do \
569	  case $$file in \
570	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
571	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
572	  esac; \
573	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
574	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
575	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
576	    dir="/$$dir"; \
577	    $(mkdir_p) "$(distdir)$$dir"; \
578	  else \
579	    dir=''; \
580	  fi; \
581	  if test -d $$d/$$file; then \
582	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
583	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
584	    fi; \
585	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
586	  else \
587	    test -f $(distdir)/$$file \
588	    || cp -p $$d/$$file $(distdir)/$$file \
589	    || exit 1; \
590	  fi; \
591	done
592	$(MAKE) $(AM_MAKEFLAGS) \
593	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
594	  dist-info
595check-am: all-am
596check: check-am
597all-am: Makefile $(INFO_DEPS) $(PROGRAMS) $(SCRIPTS) $(MANS)
598installdirs:
599	for dir in "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"; do \
600	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
601	done
602install: install-am
603install-exec: install-exec-am
604install-data: install-data-am
605uninstall: uninstall-am
606
607install-am: all-am
608	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
609
610installcheck: installcheck-am
611install-strip:
612	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
613	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
614	  `test -z '$(STRIP)' || \
615	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
616mostlyclean-generic:
617
618clean-generic:
619	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
620
621distclean-generic:
622	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
623
624maintainer-clean-generic:
625	@echo "This command is intended for maintainers to use"
626	@echo "it deletes files that may require special tools to rebuild."
627clean: clean-am
628
629clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
630
631distclean: distclean-am
632	-rm -rf ./$(DEPDIR)
633	-rm -f Makefile
634distclean-am: clean-am distclean-compile distclean-generic \
635	distclean-tags
636
637dvi: dvi-am
638
639dvi-am: $(DVIS)
640
641html: html-am
642
643html-am: $(HTMLS)
644
645info: info-am
646
647info-am: $(INFO_DEPS)
648
649install-data-am: install-info-am install-man
650
651install-exec-am:
652
653install-info: install-info-am
654
655install-info-am: $(INFO_DEPS)
656	@$(NORMAL_INSTALL)
657	test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"
658	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
659	list='$(INFO_DEPS)'; \
660	for file in $$list; do \
661	  case $$file in \
662	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
663	  esac; \
664	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
665	  file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
666	  for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
667                       $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
668	    if test -f $$ifile; then \
669	      relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
670	      echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
671	      $(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
672	    else : ; fi; \
673	  done; \
674	done
675	@$(POST_INSTALL)
676	@if (install-info --version && \
677	     install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
678	  list='$(INFO_DEPS)'; \
679	  for file in $$list; do \
680	    relfile=`echo "$$file" | sed 's|^.*/||'`; \
681	    echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
682	    install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
683	  done; \
684	else : ; fi
685install-man: install-man1 install-man8
686
687installcheck-am:
688
689maintainer-clean: maintainer-clean-am
690	-rm -rf ./$(DEPDIR)
691	-rm -f Makefile
692maintainer-clean-am: distclean-am maintainer-clean-aminfo \
693	maintainer-clean-generic maintainer-clean-vti
694
695mostlyclean: mostlyclean-am
696
697mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \
698	mostlyclean-generic mostlyclean-vti
699
700pdf: pdf-am
701
702pdf-am: $(PDFS)
703
704ps: ps-am
705
706ps-am: $(PSS)
707
708uninstall-am: uninstall-info-am uninstall-man
709
710uninstall-man: uninstall-man1 uninstall-man8
711
712.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
713	clean-noinstPROGRAMS ctags dist-info distclean \
714	distclean-compile distclean-generic distclean-tags distdir dvi \
715	dvi-am html html-am info info-am install install-am \
716	install-data install-data-am install-exec install-exec-am \
717	install-info install-info-am install-man install-man1 \
718	install-man8 install-strip installcheck installcheck-am \
719	installdirs maintainer-clean maintainer-clean-aminfo \
720	maintainer-clean-generic maintainer-clean-vti mostlyclean \
721	mostlyclean-aminfo mostlyclean-compile mostlyclean-generic \
722	mostlyclean-vti pdf pdf-am ps ps-am tags uninstall \
723	uninstall-am uninstall-info-am uninstall-man uninstall-man1 \
724	uninstall-man8
725
726
727@BUILD_EXAMPLE_KERNEL_TRUE@boot.o: multiboot.h
728
729# Cancel the rule %.texi -> %. This rule may confuse make to determine
730# the dependecies.
731.texi:
732
733%.c.texi: %.c $(srcdir)/$(SRC2TEXI)
734	$(SHELL) $(srcdir)/$(SRC2TEXI) $(srcdir) $< $@
735
736%.h.texi: %.h $(srcdir)/$(SRC2TEXI)
737	$(SHELL) $(srcdir)/$(SRC2TEXI) $(srcdir) $< $@
738
739%.S.texi: %.S $(srcdir)/$(SRC2TEXI)
740	$(SHELL) $(srcdir)/$(SRC2TEXI) $(srcdir) $< $@
741
742@MAINTAINER_MODE_TRUE@$(srcdir)/grub.8: ../grub/grub $(srcdir)/$(HELP2MAN)
743@MAINTAINER_MODE_TRUE@	$(PERL) $(srcdir)/$(HELP2MAN) --name="the grub shell" \
744@MAINTAINER_MODE_TRUE@		--section=8 --output=$@ $<
745
746@MAINTAINER_MODE_TRUE@$(srcdir)/grub-install.8: ../util/grub-install $(srcdir)/$(HELP2MAN)
747@MAINTAINER_MODE_TRUE@	chmod 755 $<
748@MAINTAINER_MODE_TRUE@	$(PERL) $(srcdir)/$(HELP2MAN) --name="install GRUB on your drive" \
749@MAINTAINER_MODE_TRUE@		--section=8 --output=$@ $<
750
751@MAINTAINER_MODE_TRUE@$(srcdir)/mbchk.1: ../util/mbchk $(srcdir)/$(HELP2MAN)
752@MAINTAINER_MODE_TRUE@	$(PERL) $(srcdir)/$(HELP2MAN) \
753@MAINTAINER_MODE_TRUE@		--name="check the format of a Multiboot kernel" \
754@MAINTAINER_MODE_TRUE@		--section=1 --output=$@ $<
755
756@MAINTAINER_MODE_TRUE@$(srcdir)/grub-md5-crypt.8: ../util/grub-md5-crypt $(srcdir)/$(HELP2MAN)
757@MAINTAINER_MODE_TRUE@	chmod 755 $<
758@MAINTAINER_MODE_TRUE@	$(PERL) $(srcdir)/$(HELP2MAN) \
759@MAINTAINER_MODE_TRUE@		--name="Encrypt a password in MD5 format" \
760@MAINTAINER_MODE_TRUE@		--section=8 --output=$@ $<
761
762@MAINTAINER_MODE_TRUE@$(srcdir)/grub-terminfo.8: ../util/grub-terminfo $(srcdir)/$(HELP2MAN)
763@MAINTAINER_MODE_TRUE@	chmod 755 $<
764@MAINTAINER_MODE_TRUE@	$(PERL) $(srcdir)/$(HELP2MAN) \
765@MAINTAINER_MODE_TRUE@		--name="Generate a terminfo command from a terminfo name" \
766@MAINTAINER_MODE_TRUE@		--section=8 --output=$@ $<
767# Tell versions [3.59,3.63) of GNU make to not export all variables.
768# Otherwise a system limit (for SysV at least) may be exceeded.
769.NOEXPORT:
770