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