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 18 SOURCES = $(kernel_SOURCES) 19 20 srcdir = @srcdir@ 21 top_srcdir = @top_srcdir@ 22 VPATH = @srcdir@ 23 pkgdatadir = $(datadir)/@PACKAGE@ 24 pkglibdir = $(libdir)/@PACKAGE@ 25 pkgincludedir = $(includedir)/@PACKAGE@ 26 top_builddir = .. 27 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 28 INSTALL = @INSTALL@ 29 install_sh_DATA = $(install_sh) -c -m 644 30 install_sh_PROGRAM = $(install_sh) -c 31 install_sh_SCRIPT = $(install_sh) -c 32 INSTALL_HEADER = $(INSTALL_DATA) 33 transform = $(program_transform_name) 34 NORMAL_INSTALL = : 35 PRE_INSTALL = : 36 POST_INSTALL = : 37 NORMAL_UNINSTALL = : 38 PRE_UNINSTALL = : 39 POST_UNINSTALL = : 40 build_triplet = @build@ 41 host_triplet = @host@ 42 EXTRA_PROGRAMS = kernel$(EXEEXT) 43 @BUILD_EXAMPLE_KERNEL_TRUE@noinst_PROGRAMS = kernel$(EXEEXT) 44 subdir = docs 45 DIST_COMMON = $(grub_TEXINFOS) $(multiboot_TEXINFOS) \ 46 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ 47 $(srcdir)/stamp-vti $(srcdir)/version.texi mdate-sh \ 48 texinfo.tex 49 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 50 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ 51 $(top_srcdir)/configure.ac 52 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 53 $(ACLOCAL_M4) 54 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 55 CONFIG_HEADER = $(top_builddir)/config.h 56 CONFIG_CLEAN_FILES = 57 PROGRAMS = $(noinst_PROGRAMS) 58 am__kernel_SOURCES_DIST = boot.S kernel.c multiboot.h 59 am__objects_1 = boot.$(OBJEXT) kernel-kernel.$(OBJEXT) 60 @BUILD_EXAMPLE_KERNEL_TRUE@am_kernel_OBJECTS = $(am__objects_1) 61 kernel_OBJECTS = $(am_kernel_OBJECTS) 62 kernel_LDADD = $(LDADD) 63 SCRIPTS = $(noinst_SCRIPTS) 64 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) 65 depcomp = $(SHELL) $(top_srcdir)/depcomp 66 am__depfiles_maybe = depfiles 67 CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS) 68 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 69 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 70 CCLD = $(CC) 71 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 72 SOURCES = $(kernel_SOURCES) 73 DIST_SOURCES = $(am__kernel_SOURCES_DIST) 74 INFO_DEPS = $(srcdir)/grub.info $(srcdir)/multiboot.info 75 am__TEXINFO_TEX_DIR = $(srcdir) 76 DVIS = grub.dvi multiboot.dvi 77 PDFS = grub.pdf multiboot.pdf 78 PSS = grub.ps multiboot.ps 79 HTMLS = grub.html multiboot.html 80 TEXINFOS = grub.texi multiboot.texi 81 TEXI2DVI = texi2dvi 82 TEXI2PDF = $(TEXI2DVI) --pdf --batch 83 MAKEINFOHTML = $(MAKEINFO) --html 84 AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) 85 DVIPS = dvips 86 am__installdirs = "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)" \ 87 "$(DESTDIR)$(man8dir)" 88 man1dir = $(mandir)/man1 89 man8dir = $(mandir)/man8 90 NROFF = nroff 91 MANS = $(man_MANS) 92 ETAGS = etags 93 CTAGS = ctags 94 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 95 ACLOCAL = @ACLOCAL@ 96 AMDEP_FALSE = @AMDEP_FALSE@ 97 AMDEP_TRUE = @AMDEP_TRUE@ 98 AMTAR = @AMTAR@ 99 AUTOCONF = @AUTOCONF@ 100 AUTOHEADER = @AUTOHEADER@ 101 AUTOMAKE = @AUTOMAKE@ 102 AWK = @AWK@ 103 BUILD_EXAMPLE_KERNEL_FALSE = @BUILD_EXAMPLE_KERNEL_FALSE@ 104 BUILD_EXAMPLE_KERNEL_TRUE = @BUILD_EXAMPLE_KERNEL_TRUE@ 105 CC = @CC@ 106 CCAS = @CCAS@ 107 CCASFLAGS = @CCASFLAGS@ 108 CCDEPMODE = @CCDEPMODE@ 109 CFLAGS = @CFLAGS@ 110 CPP = @CPP@ 111 CPPFLAGS = @CPPFLAGS@ 112 CYGPATH_W = @CYGPATH_W@ 113 DEFS = @DEFS@ 114 DEPDIR = @DEPDIR@ 115 DISKLESS_SUPPORT_FALSE = @DISKLESS_SUPPORT_FALSE@ 116 DISKLESS_SUPPORT_TRUE = @DISKLESS_SUPPORT_TRUE@ 117 ECHO_C = @ECHO_C@ 118 ECHO_N = @ECHO_N@ 119 ECHO_T = @ECHO_T@ 120 EGREP = @EGREP@ 121 EXEEXT = @EXEEXT@ 122 FSYS_CFLAGS = @FSYS_CFLAGS@ 123 GRUB_CFLAGS = @GRUB_CFLAGS@ 124 GRUB_LIBS = @GRUB_LIBS@ 125 HERCULES_SUPPORT_FALSE = @HERCULES_SUPPORT_FALSE@ 126 HERCULES_SUPPORT_TRUE = @HERCULES_SUPPORT_TRUE@ 127 INSTALL_DATA = @INSTALL_DATA@ 128 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 129 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 130 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 131 LDFLAGS = @LDFLAGS@ 132 LIBOBJS = @LIBOBJS@ 133 LIBS = @LIBS@ 134 LTLIBOBJS = @LTLIBOBJS@ 135 MAINT = @MAINT@ 136 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ 137 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ 138 MAKEINFO = @MAKEINFO@ 139 NETBOOT_DRIVERS = @NETBOOT_DRIVERS@ 140 NETBOOT_SUPPORT_FALSE = @NETBOOT_SUPPORT_FALSE@ 141 NETBOOT_SUPPORT_TRUE = @NETBOOT_SUPPORT_TRUE@ 142 NET_CFLAGS = @NET_CFLAGS@ 143 NET_EXTRAFLAGS = @NET_EXTRAFLAGS@ 144 OBJCOPY = @OBJCOPY@ 145 OBJEXT = @OBJEXT@ 146 PACKAGE = @PACKAGE@ 147 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 148 PACKAGE_NAME = @PACKAGE_NAME@ 149 PACKAGE_STRING = @PACKAGE_STRING@ 150 PACKAGE_TARNAME = @PACKAGE_TARNAME@ 151 PACKAGE_VERSION = @PACKAGE_VERSION@ 152 PATH_SEPARATOR = @PATH_SEPARATOR@ 153 PERL = @PERL@ 154 RANLIB = @RANLIB@ 155 SERIAL_SPEED_SIMULATION_FALSE = @SERIAL_SPEED_SIMULATION_FALSE@ 156 SERIAL_SPEED_SIMULATION_TRUE = @SERIAL_SPEED_SIMULATION_TRUE@ 157 SERIAL_SUPPORT_FALSE = @SERIAL_SUPPORT_FALSE@ 158 SERIAL_SUPPORT_TRUE = @SERIAL_SUPPORT_TRUE@ 159 SET_MAKE = @SET_MAKE@ 160 SHELL = @SHELL@ 161 STAGE1_CFLAGS = @STAGE1_CFLAGS@ 162 STAGE2_CFLAGS = @STAGE2_CFLAGS@ 163 STRIP = @STRIP@ 164 VERSION = @VERSION@ 165 ac_ct_CC = @ac_ct_CC@ 166 ac_ct_OBJCOPY = @ac_ct_OBJCOPY@ 167 ac_ct_RANLIB = @ac_ct_RANLIB@ 168 ac_ct_STRIP = @ac_ct_STRIP@ 169 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ 170 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 171 am__include = @am__include@ 172 am__leading_dot = @am__leading_dot@ 173 am__quote = @am__quote@ 174 am__tar = @am__tar@ 175 am__untar = @am__untar@ 176 bindir = @bindir@ 177 build = @build@ 178 build_alias = @build_alias@ 179 build_cpu = @build_cpu@ 180 build_os = @build_os@ 181 build_vendor = @build_vendor@ 182 datadir = @datadir@ 183 exec_prefix = @exec_prefix@ 184 host = @host@ 185 host_alias = @host_alias@ 186 host_cpu = @host_cpu@ 187 host_os = @host_os@ 188 host_vendor = @host_vendor@ 189 includedir = @includedir@ 190 infodir = @infodir@ 191 install_sh = @install_sh@ 192 libdir = @libdir@ 193 libexecdir = @libexecdir@ 194 localstatedir = @localstatedir@ 195 mandir = @mandir@ 196 mkdir_p = @mkdir_p@ 197 oldincludedir = @oldincludedir@ 198 prefix = @prefix@ 199 program_transform_name = @program_transform_name@ 200 sbindir = @sbindir@ 201 sharedstatedir = @sharedstatedir@ 202 sysconfdir = @sysconfdir@ 203 target_alias = @target_alias@ 204 info_TEXINFOS = grub.texi multiboot.texi 205 grub_TEXINFOS = internals.texi 206 EXAMPLES = boot.S kernel.c multiboot.h 207 multiboot_TEXINFOS = boot.S.texi kernel.c.texi multiboot.h.texi 208 man_MANS = grub.8 mbchk.1 grub-install.8 grub-md5-crypt.8 grub-terminfo.8 209 HELP2MAN = help2man 210 SRC2TEXI = src2texi 211 noinst_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 217 EXTRA_DIST = menu.lst $(man_MANS) $(noinst_SCRIPTS) \ 218 $(EXAMPLES) $(multiboot_TEXINFOS) 219 220 CLEANFILES = $(noinst_PROGRAMS) 221 all: 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 238 Makefile: $(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 255 clean-noinstPROGRAMS: 256 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 257 kernel$(EXEEXT): $(kernel_OBJECTS) $(kernel_DEPENDENCIES) 258 @rm -f kernel$(EXEEXT) 259 $(LINK) $(kernel_LDFLAGS) $(kernel_OBJECTS) $(kernel_LDADD) $(LIBS) 260 261 mostlyclean-compile: 262 -rm -f *.$(OBJEXT) 263 264 distclean-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 289 kernel-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 296 kernel-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) 347 grub.dvi: grub.texi $(srcdir)/version.texi $(grub_TEXINFOS) 348 grub.pdf: grub.texi $(srcdir)/version.texi $(grub_TEXINFOS) 349 grub.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 364 mostlyclean-vti: 365 -rm -f vti.tmp 366 367 maintainer-clean-vti: 368 @MAINTAINER_MODE_TRUE@ -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi 369 $(srcdir)/multiboot.info: multiboot.texi $(multiboot_TEXINFOS) 370 multiboot.dvi: multiboot.texi $(multiboot_TEXINFOS) 371 multiboot.pdf: multiboot.texi $(multiboot_TEXINFOS) 372 multiboot.html: multiboot.texi $(multiboot_TEXINFOS) 373 .dvi.ps: 374 $(DVIPS) -o $@ $< 375 376 uninstall-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 398 dist-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 413 mostlyclean-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 421 maintainer-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 427 install-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 451 uninstall-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 472 install-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 496 uninstall-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 518 ID: $(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 526 tags: TAGS 527 528 TAGS: $(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 543 ctags: CTAGS 544 CTAGS: $(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 558 GTAGS: 559 here=`$(am__cd) $(top_builddir) && pwd` \ 560 && cd $(top_srcdir) \ 561 && gtags -i $(GTAGS_ARGS) $$here 562 563 distclean-tags: 564 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 565 566 distdir: $(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 596 check-am: all-am 597 check: check-am 598 all-am: Makefile $(INFO_DEPS) $(PROGRAMS) $(SCRIPTS) $(MANS) 599 installdirs: 600 for dir in "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"; do \ 601 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 602 done 603 install: install-am 604 install-exec: install-exec-am 605 install-data: install-data-am 606 uninstall: uninstall-am 607 608 install-am: all-am 609 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 610 611 installcheck: installcheck-am 612 install-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 617 mostlyclean-generic: 618 619 clean-generic: 620 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 621 622 distclean-generic: 623 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 624 625 maintainer-clean-generic: 626 @echo "This command is intended for maintainers to use" 627 @echo "it deletes files that may require special tools to rebuild." 628 clean: clean-am 629 630 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am 631 632 distclean: distclean-am 633 -rm -rf ./$(DEPDIR) 634 -rm -f Makefile 635 distclean-am: clean-am distclean-compile distclean-generic \ 636 distclean-tags 637 638 dvi: dvi-am 639 640 dvi-am: $(DVIS) 641 642 html: html-am 643 644 html-am: $(HTMLS) 645 646 info: info-am 647 648 info-am: $(INFO_DEPS) 649 650 install-data-am: install-info-am install-man 651 652 install-exec-am: 653 654 install-info: install-info-am 655 656 install-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 686 install-man: install-man1 install-man8 687 688 installcheck-am: 689 690 maintainer-clean: maintainer-clean-am 691 -rm -rf ./$(DEPDIR) 692 -rm -f Makefile 693 maintainer-clean-am: distclean-am maintainer-clean-aminfo \ 694 maintainer-clean-generic maintainer-clean-vti 695 696 mostlyclean: mostlyclean-am 697 698 mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \ 699 mostlyclean-generic mostlyclean-vti 700 701 pdf: pdf-am 702 703 pdf-am: $(PDFS) 704 705 ps: ps-am 706 707 ps-am: $(PSS) 708 709 uninstall-am: uninstall-info-am uninstall-man 710 711 uninstall-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 (a] 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