Update docs
This commit is contained in:
parent
05b7b72e3c
commit
421dbceb11
15 changed files with 918 additions and 974 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
1999-05-14 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
||||||
|
|
||||||
|
* docs/Makefile.am (info_TEXINFOS): Added multiboot.texi.
|
||||||
|
* docs/multiboot.texi: New file. From Kunihiro Ishiguro.
|
||||||
|
|
||||||
1999-05-12 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
1999-05-12 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
||||||
|
|
||||||
* grub/asmstub.c: Include <errno.h>. Reported by Kunihiro
|
* grub/asmstub.c: Include <errno.h>. Reported by Kunihiro
|
||||||
|
|
182
Makefile.in
182
Makefile.in
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4a from Makefile.am
|
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
@ -10,7 +10,8 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
SHELL = @SHELL@
|
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
|
@ -31,7 +32,7 @@ mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
DISTDIR =
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
@ -48,7 +49,6 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
|
@ -72,11 +72,9 @@ host_vendor = @host_vendor@
|
||||||
sbingrub = @sbingrub@
|
sbingrub = @sbingrub@
|
||||||
stage2debug = @stage2debug@
|
stage2debug = @stage2debug@
|
||||||
|
|
||||||
|
|
||||||
SUBDIRS = grub stage1 stage2 stage2_debug \
|
SUBDIRS = grub stage1 stage2 stage2_debug \
|
||||||
e2fs_stage1_5 fat_stage1_5 ffs_stage1_5 \
|
e2fs_stage1_5 fat_stage1_5 ffs_stage1_5 \
|
||||||
docs shared_src debian
|
docs shared_src debian
|
||||||
|
|
||||||
DISTCLEANFILES = ssrcrules.mk
|
DISTCLEANFILES = ssrcrules.mk
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
|
@ -86,12 +84,13 @@ Makefile.in NEWS THANKS acinclude.m4 aclocal.m4 config.guess config.sub \
|
||||||
configure configure.in install-sh missing mkinstalldirs
|
configure configure.in install-sh missing mkinstalldirs
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
|
GZIP = --best
|
||||||
|
all: all-recursive all-am
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
all: all-redirect
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
|
@ -101,7 +100,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
$(ACLOCAL_M4): configure.in acinclude.m4
|
$(ACLOCAL_M4): configure.in acinclude.m4
|
||||||
cd $(srcdir) && $(ACLOCAL)
|
cd $(srcdir) && $(ACLOCAL)
|
||||||
|
|
||||||
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
config.status: $(srcdir)/configure
|
||||||
$(SHELL) ./config.status --recheck
|
$(SHELL) ./config.status --recheck
|
||||||
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||||
cd $(srcdir) && $(AUTOCONF)
|
cd $(srcdir) && $(AUTOCONF)
|
||||||
|
@ -119,65 +118,41 @@ all-recursive install-data-recursive install-exec-recursive \
|
||||||
installdirs-recursive install-recursive uninstall-recursive \
|
installdirs-recursive install-recursive uninstall-recursive \
|
||||||
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
||||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||||
dot_seen=no; \
|
|
||||||
target=`echo $@ | sed s/-recursive//`; \
|
|
||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
echo "Making $$target in $$subdir"; \
|
echo "Making $$target in $$subdir"; \
|
||||||
if test "$$subdir" = "."; then \
|
(cd $$subdir && $(MAKE) $$target) \
|
||||||
dot_seen=yes; \
|
|
||||||
local_target="$$target-am"; \
|
|
||||||
else \
|
|
||||||
local_target="$$target"; \
|
|
||||||
fi; \
|
|
||||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
||||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||||
done; \
|
done && test -z "$$fail"
|
||||||
if test "$$dot_seen" = "no"; then \
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
|
||||||
fi; test -z "$$fail"
|
|
||||||
|
|
||||||
mostlyclean-recursive clean-recursive distclean-recursive \
|
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||||
maintainer-clean-recursive:
|
maintainer-clean-recursive:
|
||||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||||
dot_seen=no; \
|
|
||||||
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
rev="$$subdir $$rev"; \
|
rev="$$subdir $$rev"; \
|
||||||
if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
|
|
||||||
done; \
|
done; \
|
||||||
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
|
||||||
target=`echo $@ | sed s/-recursive//`; \
|
|
||||||
for subdir in $$rev; do \
|
for subdir in $$rev; do \
|
||||||
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
echo "Making $$target in $$subdir"; \
|
echo "Making $$target in $$subdir"; \
|
||||||
if test "$$subdir" = "."; then \
|
(cd $$subdir && $(MAKE) $$target) \
|
||||||
local_target="$$target-am"; \
|
|
||||||
else \
|
|
||||||
local_target="$$target"; \
|
|
||||||
fi; \
|
|
||||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
||||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||||
done && test -z "$$fail"
|
done && test -z "$$fail"
|
||||||
tags-recursive:
|
tags-recursive:
|
||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
(cd $$subdir && $(MAKE) tags); \
|
||||||
done
|
done
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
|
||||||
awk ' { files[$$0] = 1; } \
|
|
||||||
END { for (i in files) print i; }'`; \
|
|
||||||
here=`pwd` && cd $(srcdir) \
|
here=`pwd` && cd $(srcdir) \
|
||||||
&& mkid -f$$here/ID $$unique $(LISP)
|
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
|
||||||
|
|
||||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||||
tags=; \
|
tags=; \
|
||||||
here=`pwd`; \
|
here=`pwd`; \
|
||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
if test "$$subdir" = .; then :; else \
|
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
|
||||||
fi; \
|
|
||||||
done; \
|
done; \
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
list='$(SOURCES) $(HEADERS)'; \
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
unique=`for i in $$list; do echo $$i; done | \
|
||||||
|
@ -203,31 +178,29 @@ top_distdir = $(distdir)
|
||||||
# tarfile.
|
# tarfile.
|
||||||
distcheck: dist
|
distcheck: dist
|
||||||
-rm -rf $(distdir)
|
-rm -rf $(distdir)
|
||||||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(TAR) xf -
|
GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
|
||||||
mkdir $(distdir)/=build
|
mkdir $(distdir)/=build
|
||||||
mkdir $(distdir)/=inst
|
mkdir $(distdir)/=inst
|
||||||
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
||||||
cd $(distdir)/=build \
|
cd $(distdir)/=build \
|
||||||
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
&& $(MAKE) \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
&& $(MAKE) dvi \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
&& $(MAKE) check \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
&& $(MAKE) install \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
&& $(MAKE) installcheck \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
&& $(MAKE) dist
|
||||||
-rm -rf $(distdir)
|
-rm -rf $(distdir)
|
||||||
@banner="$(distdir).tar.gz is ready for distribution"; \
|
@echo "========================"; \
|
||||||
dashes=`echo "$$banner" | sed s/./=/g`; \
|
echo "$(distdir).tar.gz is ready for distribution"; \
|
||||||
echo "$$dashes"; \
|
echo "========================"
|
||||||
echo "$$banner"; \
|
|
||||||
echo "$$dashes"
|
|
||||||
dist: distdir
|
dist: distdir
|
||||||
-chmod -R a+r $(distdir)
|
-chmod -R a+r $(distdir)
|
||||||
tar ch$(AMTARFLAGS)f - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
||||||
-rm -rf $(distdir)
|
-rm -rf $(distdir)
|
||||||
dist-all: distdir
|
dist-all: distdir
|
||||||
-chmod -R a+r $(distdir)
|
-chmod -R a+r $(distdir)
|
||||||
tar ch$(AMTARFLAGS)f - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
||||||
-rm -rf $(distdir)
|
-rm -rf $(distdir)
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
-rm -rf $(distdir)
|
-rm -rf $(distdir)
|
||||||
|
@ -240,80 +213,74 @@ distdir: $(DISTFILES)
|
||||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
test -f $(distdir)/$$file \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
else \
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||||
test -f $(distdir)/$$file \
|
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
||||||
fi; \
|
|
||||||
done
|
done
|
||||||
for subdir in $(SUBDIRS); do \
|
for subdir in $(SUBDIRS); do \
|
||||||
if test "$$subdir" = .; then :; else \
|
test -d $(distdir)/$$subdir \
|
||||||
test -d $(distdir)/$$subdir \
|
|| mkdir $(distdir)/$$subdir \
|
||||||
|| mkdir $(distdir)/$$subdir \
|
|| exit 1; \
|
||||||
|
chmod 777 $(distdir)/$$subdir; \
|
||||||
|
(cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
chmod 777 $(distdir)/$$subdir; \
|
|
||||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
|
||||||
|| exit 1; \
|
|
||||||
fi; \
|
|
||||||
done
|
done
|
||||||
info-am:
|
|
||||||
info: info-recursive
|
info: info-recursive
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-recursive
|
dvi: dvi-recursive
|
||||||
check-am: all-am
|
check: all-am
|
||||||
check: check-recursive
|
$(MAKE) check-recursive
|
||||||
installcheck-am:
|
|
||||||
installcheck: installcheck-recursive
|
installcheck: installcheck-recursive
|
||||||
install-exec-am:
|
|
||||||
install-exec: install-exec-recursive
|
|
||||||
|
|
||||||
install-data-am:
|
|
||||||
install-data: install-data-recursive
|
|
||||||
|
|
||||||
install-am: all-am
|
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
||||||
install: install-recursive
|
|
||||||
uninstall-am:
|
|
||||||
uninstall: uninstall-recursive
|
|
||||||
all-am: Makefile
|
all-am: Makefile
|
||||||
all-redirect: all-recursive
|
|
||||||
|
install-exec: install-exec-recursive
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
|
||||||
|
install-data: install-data-recursive
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
|
||||||
|
install: install-recursive
|
||||||
|
@:
|
||||||
|
|
||||||
|
uninstall: uninstall-recursive
|
||||||
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||||||
installdirs: installdirs-recursive
|
installdirs: installdirs-recursive
|
||||||
installdirs-am:
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(DISTCLEANFILES)
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||||
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||||
mostlyclean-am: mostlyclean-tags mostlyclean-generic
|
mostlyclean-am: mostlyclean-tags mostlyclean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-recursive
|
|
||||||
|
|
||||||
clean-am: clean-tags clean-generic mostlyclean-am
|
clean-am: clean-tags clean-generic mostlyclean-am
|
||||||
|
|
||||||
clean: clean-recursive
|
|
||||||
|
|
||||||
distclean-am: distclean-tags distclean-generic clean-am
|
distclean-am: distclean-tags distclean-generic clean-am
|
||||||
|
|
||||||
distclean: distclean-recursive
|
|
||||||
-rm -f config.status
|
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
|
maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
|
||||||
distclean-am
|
distclean-am
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-recursive mostlyclean-am
|
||||||
|
|
||||||
|
clean: clean-recursive clean-am
|
||||||
|
|
||||||
|
distclean: distclean-recursive distclean-am
|
||||||
|
-rm -f config.status
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-recursive maintainer-clean-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-recursive
|
|
||||||
-rm -f config.status
|
-rm -f config.status
|
||||||
|
|
||||||
.PHONY: install-data-recursive uninstall-data-recursive \
|
.PHONY: install-data-recursive uninstall-data-recursive \
|
||||||
|
@ -322,13 +289,10 @@ uninstalldirs-recursive all-recursive check-recursive \
|
||||||
installcheck-recursive info-recursive dvi-recursive \
|
installcheck-recursive info-recursive dvi-recursive \
|
||||||
mostlyclean-recursive distclean-recursive clean-recursive \
|
mostlyclean-recursive distclean-recursive clean-recursive \
|
||||||
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
|
||||||
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
|
installcheck all-am install-exec install-data install uninstall all \
|
||||||
install-exec install-data-am install-data install-am install \
|
installdirs mostlyclean-generic distclean-generic clean-generic \
|
||||||
uninstall-am uninstall all-redirect all-am all install-strip \
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||||
installdirs-am installdirs mostlyclean-generic distclean-generic \
|
|
||||||
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
|
||||||
maintainer-clean
|
|
||||||
|
|
||||||
|
|
||||||
# We get $(PACKAGE) and $(VERSION) from debian/changelog.
|
# We get $(PACKAGE) and $(VERSION) from debian/changelog.
|
||||||
|
|
1
THANKS
1
THANKS
|
@ -10,6 +10,7 @@ Brian Brunswick <brian@skarpsey.demon.co.uk>
|
||||||
Bryan Ford <baford@cs.utah.edu>
|
Bryan Ford <baford@cs.utah.edu>
|
||||||
Eric Hanchrow <erich@microsoft.com>
|
Eric Hanchrow <erich@microsoft.com>
|
||||||
Heiko Schroeder <heiko@pool.informatik.rwth-aachen.de>
|
Heiko Schroeder <heiko@pool.informatik.rwth-aachen.de>
|
||||||
|
Kunihiro Ishiguro <kunihiro@zebra.org>
|
||||||
Miles Bader <miles@gnu.org>
|
Miles Bader <miles@gnu.org>
|
||||||
OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
||||||
Pavel Roskin <pavel_roskin@geocities.com>
|
Pavel Roskin <pavel_roskin@geocities.com>
|
||||||
|
|
99
debian/Makefile.in
vendored
99
debian/Makefile.in
vendored
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4a from Makefile.am
|
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
@ -10,7 +10,8 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
SHELL = @SHELL@
|
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
|
@ -31,7 +32,7 @@ mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
DISTDIR =
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
@ -48,7 +49,6 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
|
@ -72,19 +72,19 @@ host_vendor = @host_vendor@
|
||||||
sbingrub = @sbingrub@
|
sbingrub = @sbingrub@
|
||||||
stage2debug = @stage2debug@
|
stage2debug = @stage2debug@
|
||||||
|
|
||||||
|
|
||||||
EXTRA_DIST = README.debian changelog control copyright rules
|
EXTRA_DIST = README.debian changelog control copyright rules
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
DIST_COMMON = Makefile.am Makefile.in
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
|
GZIP = --best
|
||||||
|
all: Makefile
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
all: all-redirect
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu debian/Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu debian/Makefile
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
|
@ -107,73 +107,60 @@ distdir: $(DISTFILES)
|
||||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu debian/Makefile
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu debian/Makefile
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
test -f $(distdir)/$$file \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
else \
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||||
test -f $(distdir)/$$file \
|
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
||||||
fi; \
|
|
||||||
done
|
done
|
||||||
info-am:
|
info:
|
||||||
info: info-am
|
dvi:
|
||||||
dvi-am:
|
check: all
|
||||||
dvi: dvi-am
|
$(MAKE)
|
||||||
check-am: all-am
|
installcheck:
|
||||||
check: check-am
|
install-exec:
|
||||||
installcheck-am:
|
@$(NORMAL_INSTALL)
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am:
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am:
|
install-data:
|
||||||
install-data: install-data-am
|
@$(NORMAL_INSTALL)
|
||||||
|
|
||||||
|
install: install-exec install-data all
|
||||||
|
@:
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
|
||||||
install-am: all-am
|
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
||||||
install: install-am
|
|
||||||
uninstall-am:
|
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||||||
installdirs:
|
installdirs:
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(DISTCLEANFILES)
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
mostlyclean-am: mostlyclean-generic
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||||
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||||
|
mostlyclean: mostlyclean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
clean: clean-generic mostlyclean
|
||||||
|
|
||||||
clean-am: clean-generic mostlyclean-am
|
distclean: distclean-generic clean
|
||||||
|
-rm -f config.status
|
||||||
|
|
||||||
clean: clean-am
|
maintainer-clean: maintainer-clean-generic distclean
|
||||||
|
|
||||||
distclean-am: distclean-generic clean-am
|
|
||||||
|
|
||||||
distclean: distclean-am
|
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-generic distclean-am
|
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
.PHONY: tags distdir info dvi installcheck install-exec install-data \
|
||||||
|
install uninstall all installdirs mostlyclean-generic distclean-generic \
|
||||||
.PHONY: tags distdir info-am info dvi-am dvi check check-am \
|
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
||||||
installcheck-am installcheck install-exec-am install-exec \
|
maintainer-clean
|
||||||
install-data-am install-data install-am install uninstall-am uninstall \
|
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
|
||||||
mostlyclean distclean maintainer-clean
|
|
||||||
|
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
|
|
|
@ -2,5 +2,5 @@ html = boot-proposal.html errors.html faq.html grub.html install.html \
|
||||||
mem64mb.html technical.html using.html
|
mem64mb.html technical.html using.html
|
||||||
txt = PC_partitioning.txt bios_mapping.txt commands.txt embedded_data.txt \
|
txt = PC_partitioning.txt bios_mapping.txt commands.txt embedded_data.txt \
|
||||||
filesystem.txt
|
filesystem.txt
|
||||||
info_TEXINFOS = grub.texi
|
info_TEXINFOS = grub.texi multiboot.texi
|
||||||
EXTRA_DIST = BUGS $(txt) $(html) menu.lst
|
EXTRA_DIST = BUGS $(txt) $(html) menu.lst
|
||||||
|
|
176
docs/Makefile.in
176
docs/Makefile.in
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4a from Makefile.am
|
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
@ -10,7 +10,8 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
SHELL = @SHELL@
|
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
|
@ -31,7 +32,7 @@ mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
DISTDIR =
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
@ -48,7 +49,6 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
|
@ -72,32 +72,31 @@ host_vendor = @host_vendor@
|
||||||
sbingrub = @sbingrub@
|
sbingrub = @sbingrub@
|
||||||
stage2debug = @stage2debug@
|
stage2debug = @stage2debug@
|
||||||
|
|
||||||
|
|
||||||
html = boot-proposal.html errors.html faq.html grub.html install.html \
|
html = boot-proposal.html errors.html faq.html grub.html install.html \
|
||||||
mem64mb.html technical.html using.html
|
mem64mb.html technical.html using.html
|
||||||
|
|
||||||
txt = PC_partitioning.txt bios_mapping.txt commands.txt embedded_data.txt \
|
txt = PC_partitioning.txt bios_mapping.txt commands.txt embedded_data.txt \
|
||||||
filesystem.txt
|
filesystem.txt
|
||||||
|
info_TEXINFOS = grub.texi multiboot.texi
|
||||||
info_TEXINFOS = grub.texi
|
|
||||||
EXTRA_DIST = BUGS $(txt) $(html) menu.lst
|
EXTRA_DIST = BUGS $(txt) $(html) menu.lst
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
TEXI2DVI = texi2dvi
|
TEXI2DVI = texi2dvi
|
||||||
INFO_DEPS = grub.info
|
TEXINFO_TEX = $(srcdir)/texinfo.tex
|
||||||
DVIS = grub.dvi
|
INFO_DEPS = grub.info multiboot.info
|
||||||
TEXINFOS = grub.texi
|
DVIS = grub.dvi multiboot.dvi
|
||||||
|
TEXINFOS = grub.texi multiboot.texi
|
||||||
DIST_COMMON = COPYING Makefile.am Makefile.in TODO mdate-sh stamp-vti \
|
DIST_COMMON = COPYING Makefile.am Makefile.in TODO mdate-sh stamp-vti \
|
||||||
texinfo.tex version.texi
|
texinfo.tex version.texi
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
|
GZIP = --best
|
||||||
|
all: Makefile $(INFO_DEPS)
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
all: all-redirect
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .dvi .info .ps .texi .texinfo .txi
|
.SUFFIXES: .dvi .info .ps .texi .texinfo .txi
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
|
@ -105,18 +104,18 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
|
||||||
|
|
||||||
$(srcdir)/version.texi: stamp-vti
|
version.texi: stamp-vti
|
||||||
@:
|
cp $(srcdir)/stamp-vti $(srcdir)/version.texi
|
||||||
|
|
||||||
$(srcdir)/stamp-vti: grub.texi $(top_srcdir)/configure.in
|
stamp-vti: grub.texi $(top_srcdir)/configure.in
|
||||||
@echo "@set UPDATED `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/grub.texi`" > vti.tmp
|
@echo "@set UPDATED `cd $(srcdir) \
|
||||||
|
&& $(SHELL) ./mdate-sh grub.texi`" > vti.tmp
|
||||||
@echo "@set EDITION $(VERSION)" >> vti.tmp
|
@echo "@set EDITION $(VERSION)" >> vti.tmp
|
||||||
@echo "@set VERSION $(VERSION)" >> vti.tmp
|
@echo "@set VERSION $(VERSION)" >> vti.tmp
|
||||||
@cmp -s vti.tmp $(srcdir)/version.texi \
|
@cmp -s vti.tmp $(srcdir)/stamp-vti \
|
||||||
|| (echo "Updating $(srcdir)/version.texi"; \
|
|| (echo "Updating $(srcdir)/stamp-vti"; \
|
||||||
cp vti.tmp $(srcdir)/version.texi)
|
cp vti.tmp $(srcdir)/stamp-vti)
|
||||||
-@rm -f vti.tmp
|
-@rm -f vti.tmp
|
||||||
@cp $(srcdir)/version.texi $@
|
|
||||||
|
|
||||||
mostlyclean-vti:
|
mostlyclean-vti:
|
||||||
-rm -f vti.tmp
|
-rm -f vti.tmp
|
||||||
|
@ -126,12 +125,16 @@ clean-vti:
|
||||||
distclean-vti:
|
distclean-vti:
|
||||||
|
|
||||||
maintainer-clean-vti:
|
maintainer-clean-vti:
|
||||||
-rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
|
-rm -f stamp-vti version.texi
|
||||||
|
|
||||||
grub.info: grub.texi version.texi
|
grub.info: grub.texi version.texi
|
||||||
grub.dvi: grub.texi version.texi
|
grub.dvi: grub.texi version.texi
|
||||||
|
|
||||||
|
|
||||||
|
multiboot.info: multiboot.texi
|
||||||
|
multiboot.dvi: multiboot.texi
|
||||||
|
|
||||||
|
|
||||||
DVIPS = dvips
|
DVIPS = dvips
|
||||||
|
|
||||||
.texi.info:
|
.texi.info:
|
||||||
|
@ -181,8 +184,7 @@ DVIPS = dvips
|
||||||
install-info-am: $(INFO_DEPS)
|
install-info-am: $(INFO_DEPS)
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(infodir)
|
$(mkinstalldirs) $(DESTDIR)$(infodir)
|
||||||
@list='$(INFO_DEPS)'; \
|
@for file in $(INFO_DEPS); do \
|
||||||
for file in $$list; do \
|
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
|
for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
|
||||||
if test -f $$d/$$ifile; then \
|
if test -f $$d/$$ifile; then \
|
||||||
|
@ -193,8 +195,7 @@ install-info-am: $(INFO_DEPS)
|
||||||
done
|
done
|
||||||
@$(POST_INSTALL)
|
@$(POST_INSTALL)
|
||||||
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
||||||
list='$(INFO_DEPS)'; \
|
for file in $(INFO_DEPS); do \
|
||||||
for file in $$list; do \
|
|
||||||
echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
|
echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
|
||||||
install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
|
install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
|
||||||
done; \
|
done; \
|
||||||
|
@ -203,24 +204,19 @@ install-info-am: $(INFO_DEPS)
|
||||||
uninstall-info:
|
uninstall-info:
|
||||||
$(PRE_UNINSTALL)
|
$(PRE_UNINSTALL)
|
||||||
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
||||||
list='$(INFO_DEPS)'; \
|
ii=yes; \
|
||||||
for file in $$list; do \
|
else ii=; fi; \
|
||||||
echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file"; \
|
for file in $(INFO_DEPS); do \
|
||||||
install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
|
test -z "$ii" \
|
||||||
done; \
|
|| install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
|
||||||
else :; fi
|
done
|
||||||
@$(NORMAL_UNINSTALL)
|
@$(NORMAL_UNINSTALL)
|
||||||
@list='$(INFO_DEPS)'; \
|
for file in $(INFO_DEPS); do \
|
||||||
for file in $$list; do \
|
(cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
|
||||||
(if cd $(DESTDIR)$(infodir); then \
|
|
||||||
echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
|
|
||||||
rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
|
|
||||||
else :; fi); \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
dist-info: $(INFO_DEPS)
|
dist-info: $(INFO_DEPS)
|
||||||
list='$(INFO_DEPS)'; \
|
for base in $(INFO_DEPS); do \
|
||||||
for base in $$list; do \
|
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
for file in `cd $$d && eval echo $$base*`; do \
|
for file in `cd $$d && eval echo $$base*`; do \
|
||||||
test -f $(distdir)/$$file \
|
test -f $(distdir)/$$file \
|
||||||
|
@ -230,16 +226,21 @@ dist-info: $(INFO_DEPS)
|
||||||
done
|
done
|
||||||
|
|
||||||
mostlyclean-aminfo:
|
mostlyclean-aminfo:
|
||||||
-rm -f grub.aux grub.cp grub.cps grub.dvi grub.fn grub.fns grub.pgs \
|
-rm -f grub.aux grub.cp grub.cps grub.dvi grub.fn grub.fns grub.ky \
|
||||||
grub.ky grub.kys grub.ps grub.log grub.pg grub.toc grub.tp \
|
grub.kys grub.ps grub.log grub.pg grub.toc grub.tp grub.tps \
|
||||||
grub.tps grub.vr grub.vrs grub.op grub.tr grub.cv grub.cn
|
grub.vr grub.vrs grub.op grub.tr grub.cv grub.cn \
|
||||||
|
multiboot.aux multiboot.cp multiboot.cps multiboot.dvi \
|
||||||
|
multiboot.fn multiboot.fns multiboot.ky multiboot.kys \
|
||||||
|
multiboot.ps multiboot.log multiboot.pg multiboot.toc \
|
||||||
|
multiboot.tp multiboot.tps multiboot.vr multiboot.vrs \
|
||||||
|
multiboot.op multiboot.tr multiboot.cv multiboot.cn
|
||||||
|
|
||||||
clean-aminfo:
|
clean-aminfo:
|
||||||
|
|
||||||
distclean-aminfo:
|
distclean-aminfo:
|
||||||
|
|
||||||
maintainer-clean-aminfo:
|
maintainer-clean-aminfo:
|
||||||
cd $(srcdir) && for i in $(INFO_DEPS); do \
|
for i in $(INFO_DEPS); do \
|
||||||
rm -f $$i; \
|
rm -f $$i; \
|
||||||
if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
|
if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
|
||||||
rm -f $$i-[0-9]*; \
|
rm -f $$i-[0-9]*; \
|
||||||
|
@ -261,77 +262,64 @@ distdir: $(DISTFILES)
|
||||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu docs/Makefile
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu docs/Makefile
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
test -f $(distdir)/$$file \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
else \
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||||
test -f $(distdir)/$$file \
|
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
||||||
fi; \
|
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
|
$(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
|
||||||
info-am: $(INFO_DEPS)
|
info: $(INFO_DEPS)
|
||||||
info: info-am
|
dvi: $(DVIS)
|
||||||
dvi-am: $(DVIS)
|
check: all
|
||||||
dvi: dvi-am
|
$(MAKE)
|
||||||
check-am: all-am
|
installcheck:
|
||||||
check: check-am
|
install-exec:
|
||||||
installcheck-am:
|
@$(NORMAL_INSTALL)
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am:
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-info-am
|
install-data: install-info-am
|
||||||
install-data: install-data-am
|
@$(NORMAL_INSTALL)
|
||||||
|
|
||||||
|
install: install-exec install-data all
|
||||||
|
@:
|
||||||
|
|
||||||
|
uninstall: uninstall-info
|
||||||
|
|
||||||
install-am: all-am
|
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-info
|
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(INFO_DEPS)
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||||||
installdirs:
|
installdirs:
|
||||||
$(mkinstalldirs) $(DESTDIR)$(infodir)
|
$(mkinstalldirs) $(DESTDIR)$(infodir)
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(DISTCLEANFILES)
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
mostlyclean-am: mostlyclean-vti mostlyclean-aminfo mostlyclean-generic
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||||
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||||
|
mostlyclean: mostlyclean-vti mostlyclean-aminfo mostlyclean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
clean: clean-vti clean-aminfo clean-generic mostlyclean
|
||||||
|
|
||||||
clean-am: clean-vti clean-aminfo clean-generic mostlyclean-am
|
distclean: distclean-vti distclean-aminfo distclean-generic clean
|
||||||
|
-rm -f config.status
|
||||||
|
|
||||||
clean: clean-am
|
maintainer-clean: maintainer-clean-vti maintainer-clean-aminfo \
|
||||||
|
maintainer-clean-generic distclean
|
||||||
distclean-am: distclean-vti distclean-aminfo distclean-generic clean-am
|
|
||||||
|
|
||||||
distclean: distclean-am
|
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-vti maintainer-clean-aminfo \
|
|
||||||
maintainer-clean-generic distclean-am
|
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
|
||||||
|
|
||||||
.PHONY: mostlyclean-vti distclean-vti clean-vti maintainer-clean-vti \
|
.PHONY: mostlyclean-vti distclean-vti clean-vti maintainer-clean-vti \
|
||||||
install-info-am uninstall-info mostlyclean-aminfo distclean-aminfo \
|
install-info-am uninstall-info mostlyclean-aminfo distclean-aminfo \
|
||||||
clean-aminfo maintainer-clean-aminfo tags distdir info-am info dvi-am \
|
clean-aminfo maintainer-clean-aminfo tags distdir info dvi installcheck \
|
||||||
dvi check check-am installcheck-am installcheck install-exec-am \
|
install-exec install-data install uninstall all installdirs \
|
||||||
install-exec install-data-am install-data install-am install \
|
mostlyclean-generic distclean-generic clean-generic \
|
||||||
uninstall-am uninstall all-redirect all-am all install-strip \
|
|
||||||
installdirs mostlyclean-generic distclean-generic clean-generic \
|
|
||||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||||
|
|
||||||
|
|
||||||
|
|
248
docs/grub.texi
248
docs/grub.texi
|
@ -80,7 +80,6 @@ edition documents version @value{VERSION}.
|
||||||
* Using:: Booting your operating systems.
|
* Using:: Booting your operating systems.
|
||||||
* Filesystems:: Filesystem syntax and semantics.
|
* Filesystems:: Filesystem syntax and semantics.
|
||||||
* Troubleshooting:: Error messages produced by GRUB.
|
* Troubleshooting:: Error messages produced by GRUB.
|
||||||
* Multiboot:: Standard boot interface.
|
|
||||||
* Hacking:: Implementation details.
|
* Hacking:: Implementation details.
|
||||||
* Index:: Index.
|
* Index:: Index.
|
||||||
|
|
||||||
|
@ -117,6 +116,16 @@ Error messages reported by GRUB
|
||||||
* Stage1.5 errors:: Errors reported by the Stage 1.5.
|
* Stage1.5 errors:: Errors reported by the Stage 1.5.
|
||||||
* Stage2 errors:: Errors reported by the Stage 2.
|
* Stage2 errors:: Errors reported by the Stage 2.
|
||||||
|
|
||||||
|
Implementation details
|
||||||
|
|
||||||
|
* Memory map:: The memory map of the various
|
||||||
|
components.
|
||||||
|
* Embedded data:: Embedded variables in GRUB.
|
||||||
|
* Memory detection:: How to detect all installed @sc{ram}.
|
||||||
|
* Low-level disk I/O:: INT 13H disk I/O interrupts.
|
||||||
|
* MBR:: The structure of Master Boot Record.
|
||||||
|
* Partition table:: The format of partition table.
|
||||||
|
|
||||||
@end detailmenu
|
@end detailmenu
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
|
@ -144,9 +153,10 @@ operating system (usually GNU).
|
||||||
|
|
||||||
GRUB originated in 1995 when Erich Boleyn was trying to boot the GNU
|
GRUB originated in 1995 when Erich Boleyn was trying to boot the GNU
|
||||||
Hurd with the University of Utah's Mach 4 microkernel (now known as GNU
|
Hurd with the University of Utah's Mach 4 microkernel (now known as GNU
|
||||||
Mach). Erich and Brian Ford designed the Multiboot Standard (FIXME
|
Mach). Erich and Brian Ford designed the Multiboot Standard
|
||||||
xref), because they were determined not to add to the large number of
|
(@pxref{Top, Multiboot Standard, Motivation, multiboot, The Multiboot
|
||||||
mutually-incompatible PC boot methods.
|
Standard}), because they were determined not to add to the large number
|
||||||
|
of mutually-incompatible PC boot methods.
|
||||||
|
|
||||||
Erich then began modifying the FreeBSD bootloader so that it would
|
Erich then began modifying the FreeBSD bootloader so that it would
|
||||||
understand Multiboot. He quickly realized that it would be a lot easier
|
understand Multiboot. He quickly realized that it would be a lot easier
|
||||||
|
@ -164,6 +174,7 @@ available via anonymous CVS.@footnote{The repository is
|
||||||
|
|
||||||
@node Features
|
@node Features
|
||||||
@section GRUB features
|
@section GRUB features
|
||||||
|
|
||||||
technical.html: why another bootloader?
|
technical.html: why another bootloader?
|
||||||
|
|
||||||
|
|
||||||
|
@ -940,21 +951,226 @@ should be correct.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
|
||||||
@c In my opinion, Multiboot Standard should be separated and should have
|
|
||||||
@c its own manual, because Multiboot is not only for GRUB. Perhaps we
|
|
||||||
@c should write the Multiboot manual "multiboot.texinfo", and then
|
|
||||||
@c include it here. - okuji
|
|
||||||
@node Multiboot
|
|
||||||
@chapter Standard booting interface
|
|
||||||
|
|
||||||
boot-proposal.html
|
|
||||||
|
|
||||||
|
|
||||||
@node Hacking
|
@node Hacking
|
||||||
@chapter Implementation details
|
@chapter Implementation details
|
||||||
|
|
||||||
technical.html
|
This chapter describes the GRUB internals so that developers can
|
||||||
embedded_data.txt
|
understand the implementation and start to hack GRUB. Of course, the
|
||||||
|
source code has the complete information, so refer to it when you are
|
||||||
|
not satisfied with this documentation.
|
||||||
|
|
||||||
|
@menu
|
||||||
|
* Memory map:: The memory map of the various
|
||||||
|
components.
|
||||||
|
* Embedded data:: Embedded variables in GRUB.
|
||||||
|
* Memory detection:: How to detect all installed @sc{ram}.
|
||||||
|
* Low-level disk I/O:: INT 13H disk I/O interrupts.
|
||||||
|
* MBR:: The structure of Master Boot Record.
|
||||||
|
* Partition table:: The format of partition table.
|
||||||
|
@end menu
|
||||||
|
|
||||||
|
|
||||||
|
@node Memory map
|
||||||
|
@section The memory map of various components
|
||||||
|
|
||||||
|
GRUB is broken into 2 distinct components, or @dfn{stages}, which are
|
||||||
|
loaded at different times in the boot process. The Stage 1 has to know
|
||||||
|
where to find Stage 2, and the Stage 2 has to know where to find its
|
||||||
|
configuration file (if Stage 2 doesn't have a configuration file, it
|
||||||
|
drops into the command-line interface and waits for a user command).
|
||||||
|
|
||||||
|
Here is the memory map of the various components:
|
||||||
|
|
||||||
|
@table @asis
|
||||||
|
@item 0 to 4K-1
|
||||||
|
Interrupt & BIOS area
|
||||||
|
|
||||||
|
@item down from 8K-1
|
||||||
|
16-bit stack area
|
||||||
|
|
||||||
|
@item 8K to (ebss1.5)
|
||||||
|
Stage 1.5 (optionally) loaded here by Stage 1
|
||||||
|
|
||||||
|
@item 0x7c00 to 0x7dff
|
||||||
|
Stage 1 loaded here by the BIOS
|
||||||
|
|
||||||
|
@item 0x7e00 to 0x7e08
|
||||||
|
Scratch space used by Stage 1
|
||||||
|
|
||||||
|
@item 32K to (ebss2)
|
||||||
|
Stage 2 loaded here by Stage 1.5 or Stage 1
|
||||||
|
|
||||||
|
@item (middle area)
|
||||||
|
Heap used for random memory allocation
|
||||||
|
|
||||||
|
@item down from 416K-1
|
||||||
|
32-bit stack area
|
||||||
|
|
||||||
|
@item 416K to 448K-1
|
||||||
|
Filesystem info buffer (when reading a filesystem)
|
||||||
|
|
||||||
|
@item 448K to 479.5K-1
|
||||||
|
BIOS track read buffer
|
||||||
|
|
||||||
|
@item 479.5K to 480K-1
|
||||||
|
512 byte fixed SCRATCH area
|
||||||
|
|
||||||
|
@item 480K to 511K-1
|
||||||
|
General storage heap
|
||||||
|
@end table
|
||||||
|
|
||||||
|
|
||||||
|
@node Embedded data
|
||||||
|
@section Embedded variables in GRUB
|
||||||
|
|
||||||
|
GRUB's stage1 and stage2 have embedded variables whose locations are
|
||||||
|
well-defined, so that the installation can patch the binary file
|
||||||
|
directly without recompilation of the modules.
|
||||||
|
|
||||||
|
In stage1, these are defined (The number in the parenthesis of each
|
||||||
|
entry is an offset number):
|
||||||
|
|
||||||
|
@table @asis
|
||||||
|
@item @dfn{major version} (0x1bc)
|
||||||
|
This is the major version byte (should be 2).
|
||||||
|
|
||||||
|
@item @dfn{minor version} (0x1bd)
|
||||||
|
This is the minor version byte (should be 0).
|
||||||
|
|
||||||
|
@item @dfn{stage2 start address} (0x1b8)
|
||||||
|
This is the data for the @code{ljmp} command to the starting address of
|
||||||
|
the component loaded by the stage1. The format is two 2-byte words: the
|
||||||
|
first is the IP, and the second is the CS segment register (remember,
|
||||||
|
we're in x86 real-mode@dots{} 16-bit instruction pointer and segment
|
||||||
|
registers shifted left by 4bits).
|
||||||
|
|
||||||
|
A @dfn{stage1.5} should be loaded at address 0x2000, and a @dfn{stage2}
|
||||||
|
should be loaded at address 0x8000. Both use a CS of 0.
|
||||||
|
|
||||||
|
@item @dfn{firstlist} (0x1b05)
|
||||||
|
This is the @emph{ending} address of the blocklst data area.
|
||||||
|
|
||||||
|
The trick here is that it is actually read backward, and the first
|
||||||
|
8-byte blocklist is not read here, but after the pointer is decremented
|
||||||
|
8 bytes, then after reading it, it decrements again, reads, decrements,
|
||||||
|
reads, etc. until it is finished. The terminating condition is when the
|
||||||
|
number of sectors to be read in the next blocklist is 0.
|
||||||
|
|
||||||
|
The format of a blocklist can be seen from the example in the code just
|
||||||
|
before the @code{firstlist} label. (note that it is always from the
|
||||||
|
beginning of the disk, and @emph{not} relative to the partition
|
||||||
|
boundaries)
|
||||||
|
|
||||||
|
@item @dfn{loading drive} (0x1b05)
|
||||||
|
This is the BIOS drive number to load the blocklists from. If the number
|
||||||
|
is 0xff, then load from the booting drive.
|
||||||
|
@end table
|
||||||
|
|
||||||
|
In stage1.5 and stage2 (these are all defined at the beginning of
|
||||||
|
@file{shared_src/asm.S}):
|
||||||
|
|
||||||
|
@table @asis
|
||||||
|
@item @dfn{major version} (0x6)
|
||||||
|
This is the major version byte (should be 2).
|
||||||
|
|
||||||
|
@item @dfn{minor version} (0x7)
|
||||||
|
This is the minor version byte (should be 0).
|
||||||
|
|
||||||
|
@item @dfn{install_partition} (0x8)
|
||||||
|
This is an unsigned long representing the partition on the currently
|
||||||
|
booted disk which GRUB should expect to find it's data files and treat
|
||||||
|
as the default root partition.
|
||||||
|
|
||||||
|
The format of is exactly the same as the @dfn{partition} part (the
|
||||||
|
@dfn{disk} part is ignored) of the data passed to an OS by a
|
||||||
|
Multiboot-compliant bootloader in the @dfn{boot_device} data element,
|
||||||
|
with one exception.
|
||||||
|
|
||||||
|
The exception is that if the first level of disk partitioning is left as
|
||||||
|
0xFF (decimal 255, which is marked as no partitioning being used), but
|
||||||
|
the second level does have a partition number, it looks for the first
|
||||||
|
BSD-style PC partition, and finds the numbered BSD sub-partition in it.
|
||||||
|
The default @dfn{install_partition} 0xFF00FF, would then find the first
|
||||||
|
BSD-style PC partition, and use the @samp{a} partition in it, and
|
||||||
|
0xFF01FF would use the @samp{b} partition, etc.
|
||||||
|
|
||||||
|
If an explicit first-level partition is given, then no search is
|
||||||
|
performed, and it will expect that the BSD-style PC partition is in the
|
||||||
|
appropriate location, else a @samp{no such partition} error will be
|
||||||
|
returned.
|
||||||
|
|
||||||
|
If a @dfn{stage1.5} is being used, it will pass its own
|
||||||
|
@dfn{install_partition} to any @dfn{stage2} it loads, therefore
|
||||||
|
overwriting the one present in the @dfn{stage2}.
|
||||||
|
|
||||||
|
@item @dfn{version_string} (0xc)
|
||||||
|
This is the @dfn{stage1.5} or @dfn{stage2} version string. It isn't
|
||||||
|
meant to be changed, simply easy to find.
|
||||||
|
|
||||||
|
@item @dfn{config_file} (after the terminating zero of @dfn{version_string})
|
||||||
|
This is the location, using the GRUB filesystem syntax, of the config
|
||||||
|
file. It will, by default, look in the @dfn{install_partition} of the
|
||||||
|
disk GRUB was loaded from, though one can use any valid GRUB filesystem
|
||||||
|
string, up to and including making it look on other disks.
|
||||||
|
|
||||||
|
The bootloader itself doesn't search for the end of
|
||||||
|
@dfn{version_string}, it simply knows where @dfn{config_file} is, so the
|
||||||
|
beginning of the string cannot be moved after compile-time. This should
|
||||||
|
be OK, since the @dfn{version_string} is meant to be static.
|
||||||
|
|
||||||
|
The code of stage2 starts again at offset 0x70, so @dfn{config_file}
|
||||||
|
string obviously can't go past there. Also, remember to terminate the
|
||||||
|
string with a 0.
|
||||||
|
@end table
|
||||||
|
|
||||||
|
|
||||||
|
@node Memory detection
|
||||||
|
@section How to detect all installed @sc{ram}
|
||||||
|
|
||||||
|
There are three BIOS calls which return the information of installed
|
||||||
|
@sc{ram}. GRUB uses these calls to detect all installed @sc{ram} and
|
||||||
|
which address range should be treated by operating systems.
|
||||||
|
|
||||||
|
@menu
|
||||||
|
* Query System Address Map:: INT 15H, AX=E820h interrupt call.
|
||||||
|
* Get Large Memory Size:: INT 15H, AX=E801h interrupt call.
|
||||||
|
* Get Extended Memory Size:: INT 15H, AX=88h interrupt call.
|
||||||
|
@end menu
|
||||||
|
|
||||||
|
|
||||||
|
@node Query System Address Map
|
||||||
|
@subsection INT 15H, AX=E820h interrupt call
|
||||||
|
|
||||||
|
mem64mb.html
|
||||||
|
|
||||||
|
|
||||||
|
@node Get Large Memory Size
|
||||||
|
@subsection INT 15H, AX=E801h interrupt call
|
||||||
|
|
||||||
|
mem64mb.html
|
||||||
|
|
||||||
|
|
||||||
|
@node Get Extended Memory Size
|
||||||
|
@subsection INT 15H, AX=88h interrupt call
|
||||||
|
|
||||||
|
mem64mb.html
|
||||||
|
|
||||||
|
|
||||||
|
@node Low-level disk I/O
|
||||||
|
@section INT 13H disk I/O interrupts
|
||||||
|
|
||||||
|
PC_partitioning.txt
|
||||||
|
|
||||||
|
|
||||||
|
@node MBR
|
||||||
|
@section The structure of Master Boot Record
|
||||||
|
|
||||||
|
PC_partitioning.txt
|
||||||
|
|
||||||
|
|
||||||
|
@node Partition table
|
||||||
|
@section The format of partition table
|
||||||
|
|
||||||
PC_partitioning.txt
|
PC_partitioning.txt
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4a from Makefile.am
|
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
@ -10,7 +10,11 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
SHELL = @SHELL@
|
# On ext2fs, we can install into EXT2_BOOT_LOADER_INO, which gives us:
|
||||||
|
# MAX-STAGE1-BLOCK-LIST * MIN-EXT2-BLOCK-SIZE = 80 * 1024 = 81920
|
||||||
|
|
||||||
|
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
|
@ -31,7 +35,7 @@ mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
DISTDIR =
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
|
@ -46,7 +50,6 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
|
@ -70,10 +73,6 @@ host_vendor = @host_vendor@
|
||||||
sbingrub = @sbingrub@
|
sbingrub = @sbingrub@
|
||||||
stage2debug = @stage2debug@
|
stage2debug = @stage2debug@
|
||||||
|
|
||||||
# On ext2fs, we can install into EXT2_BOOT_LOADER_INO, which gives us:
|
|
||||||
# MAX-STAGE1-BLOCK-LIST * MIN-EXT2-BLOCK-SIZE = 80 * 1024 = 81920
|
|
||||||
|
|
||||||
|
|
||||||
IMPORTANT_SIZE_LIMIT = 81920
|
IMPORTANT_SIZE_LIMIT = 81920
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
|
pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
|
||||||
|
@ -86,14 +85,12 @@ COMPILE = $(CC) -fno-builtin -nostdinc -DFSYS_EXT2FS=1 -DNO_DECOMPRESSION=1 \
|
||||||
-DSTAGE1_5=1 -DNO_BLOCK_FILES=1 \
|
-DSTAGE1_5=1 -DNO_BLOCK_FILES=1 \
|
||||||
-DCONFIG_FILE_ASM='.string "/boot/grub/stage2"' \
|
-DCONFIG_FILE_ASM='.string "/boot/grub/stage2"' \
|
||||||
$(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
$(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/shared_src
|
INCLUDES = -I$(top_srcdir)/shared_src
|
||||||
|
|
||||||
# asm.o absolutely needs to come first!
|
# asm.o absolutely needs to come first!
|
||||||
e2fs_stage1_5_exec_LDADD = asm.o common.o char_io.o disk_io.o \
|
e2fs_stage1_5_exec_LDADD = asm.o common.o char_io.o disk_io.o \
|
||||||
stage1_5.o fsys_ext2fs.o bios.o
|
stage1_5.o fsys_ext2fs.o bios.o
|
||||||
|
|
||||||
|
|
||||||
# FIXME: Automake hackery.
|
# FIXME: Automake hackery.
|
||||||
DEP_FILES = .deps/dummy.P $(wildcard .deps/*.P)
|
DEP_FILES = .deps/dummy.P $(wildcard .deps/*.P)
|
||||||
e2fs_stage1_5_exec_SOURCES = dummy.c # needed to drag in C Makefile variables
|
e2fs_stage1_5_exec_SOURCES = dummy.c # needed to drag in C Makefile variables
|
||||||
|
@ -112,21 +109,21 @@ e2fs_stage1_5_exec_DEPENDENCIES = asm.o common.o char_io.o disk_io.o \
|
||||||
stage1_5.o fsys_ext2fs.o bios.o
|
stage1_5.o fsys_ext2fs.o bios.o
|
||||||
e2fs_stage1_5_exec_LDFLAGS =
|
e2fs_stage1_5_exec_LDFLAGS =
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CCLD = $(CC)
|
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
||||||
DATA = $(pkgdata_DATA)
|
DATA = $(pkgdata_DATA)
|
||||||
|
|
||||||
DIST_COMMON = $(pkgdata_DATA) Makefile.am Makefile.in
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
GZIP = --best
|
||||||
SOURCES = $(e2fs_stage1_5_exec_SOURCES)
|
SOURCES = $(e2fs_stage1_5_exec_SOURCES)
|
||||||
OBJECTS = $(e2fs_stage1_5_exec_OBJECTS)
|
OBJECTS = $(e2fs_stage1_5_exec_OBJECTS)
|
||||||
|
|
||||||
all: all-redirect
|
all: Makefile $(PROGRAMS) $(DATA)
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .S .c .o .s
|
.SUFFIXES: .S .c .o .s
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu e2fs_stage1_5/Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu e2fs_stage1_5/Makefile
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
|
@ -163,29 +160,26 @@ install-pkgdataDATA: $(pkgdata_DATA)
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||||
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
|
if test -f $(srcdir)/$$p; then \
|
||||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
|
||||||
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
|
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
|
else if test -f $$p; then \
|
||||||
|
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \
|
||||||
|
$(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
|
fi; fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-pkgdataDATA:
|
uninstall-pkgdataDATA:
|
||||||
@$(NORMAL_UNINSTALL)
|
@$(NORMAL_UNINSTALL)
|
||||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
rm -f $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
|
||||||
awk ' { files[$$0] = 1; } \
|
|
||||||
END { for (i in files) print i; }'`; \
|
|
||||||
here=`pwd` && cd $(srcdir) \
|
here=`pwd` && cd $(srcdir) \
|
||||||
&& mkid -f$$here/ID $$unique $(LISP)
|
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
|
||||||
|
|
||||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||||
tags=; \
|
tags=; \
|
||||||
|
@ -218,13 +212,9 @@ distdir: $(DISTFILES)
|
||||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu e2fs_stage1_5/Makefile
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu e2fs_stage1_5/Makefile
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
test -f $(distdir)/$$file \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
else \
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||||
test -f $(distdir)/$$file \
|
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
||||||
fi; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
||||||
|
@ -236,101 +226,83 @@ mostlyclean-depend:
|
||||||
clean-depend:
|
clean-depend:
|
||||||
|
|
||||||
distclean-depend:
|
distclean-depend:
|
||||||
-rm -rf .deps
|
|
||||||
|
|
||||||
maintainer-clean-depend:
|
maintainer-clean-depend:
|
||||||
|
-rm -rf .deps
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@echo '$(COMPILE) -c $<'; \
|
@echo '$(COMPILE) -c $<'; \
|
||||||
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
$(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
|
||||||
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
|
||||||
tr ' ' '\012' < .deps/$(*F).pp \
|
|
||||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
||||||
>> .deps/$(*F).P; \
|
|
||||||
rm .deps/$(*F).pp
|
|
||||||
|
|
||||||
%.lo: %.c
|
%.lo: %.c
|
||||||
@echo '$(LTCOMPILE) -c $<'; \
|
@echo '$(LTCOMPILE) -c $<'; \
|
||||||
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
|
||||||
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
@-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
|
||||||
< .deps/$(*F).pp > .deps/$(*F).P; \
|
< .deps/$(*F).p > .deps/$(*F).P
|
||||||
tr ' ' '\012' < .deps/$(*F).pp \
|
@-rm -f .deps/$(*F).p
|
||||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
info:
|
||||||
>> .deps/$(*F).P; \
|
dvi:
|
||||||
rm -f .deps/$(*F).pp
|
check: all
|
||||||
info-am:
|
$(MAKE)
|
||||||
info: info-am
|
installcheck:
|
||||||
dvi-am:
|
install-exec:
|
||||||
dvi: dvi-am
|
@$(NORMAL_INSTALL)
|
||||||
check-am: all-am
|
|
||||||
check: check-am
|
|
||||||
installcheck-am:
|
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am:
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-pkgdataDATA
|
install-data: install-pkgdataDATA
|
||||||
install-data: install-data-am
|
@$(NORMAL_INSTALL)
|
||||||
|
|
||||||
|
install: install-exec install-data all
|
||||||
|
@:
|
||||||
|
|
||||||
|
uninstall: uninstall-pkgdataDATA
|
||||||
|
|
||||||
install-am: all-am
|
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-pkgdataDATA
|
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) $(DATA)
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||||||
installdirs:
|
installdirs:
|
||||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
$(mkinstalldirs) $(DATADIR)$(pkgdatadir)
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(DISTCLEANFILES)
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||||
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||||
|
mostlyclean: mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
||||||
mostlyclean-tags mostlyclean-depend mostlyclean-generic
|
mostlyclean-tags mostlyclean-depend mostlyclean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
clean: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
|
||||||
|
clean-generic mostlyclean
|
||||||
|
|
||||||
clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
|
distclean: distclean-noinstPROGRAMS distclean-compile distclean-tags \
|
||||||
clean-generic mostlyclean-am
|
distclean-depend distclean-generic clean
|
||||||
|
-rm -f config.status
|
||||||
|
|
||||||
clean: clean-am
|
maintainer-clean: maintainer-clean-noinstPROGRAMS \
|
||||||
|
|
||||||
distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \
|
|
||||||
distclean-depend distclean-generic clean-am
|
|
||||||
|
|
||||||
distclean: distclean-am
|
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-noinstPROGRAMS \
|
|
||||||
maintainer-clean-compile maintainer-clean-tags \
|
maintainer-clean-compile maintainer-clean-tags \
|
||||||
maintainer-clean-depend maintainer-clean-generic \
|
maintainer-clean-depend maintainer-clean-generic \
|
||||||
distclean-am
|
distclean
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
|
||||||
|
|
||||||
.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
||||||
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean-compile distclean-compile clean-compile \
|
||||||
maintainer-clean-compile uninstall-pkgdataDATA install-pkgdataDATA tags \
|
maintainer-clean-compile uninstall-pkgdataDATA install-pkgdataDATA tags \
|
||||||
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
|
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
|
||||||
distdir mostlyclean-depend distclean-depend clean-depend \
|
distdir mostlyclean-depend distclean-depend clean-depend \
|
||||||
maintainer-clean-depend info-am info dvi-am dvi check check-am \
|
maintainer-clean-depend info dvi installcheck install-exec install-data \
|
||||||
installcheck-am installcheck install-exec-am install-exec \
|
install uninstall all installdirs mostlyclean-generic distclean-generic \
|
||||||
install-data-am install-data install-am install uninstall-am uninstall \
|
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
maintainer-clean
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
|
||||||
mostlyclean distclean maintainer-clean
|
|
||||||
|
|
||||||
|
|
||||||
e2fs_stage1_5.exec: $(e2fs_stage1_5_exec_LDADD)
|
e2fs_stage1_5.exec: $(e2fs_stage1_5_exec_LDADD)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4a from Makefile.am
|
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
@ -10,7 +10,8 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
SHELL = @SHELL@
|
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
|
@ -31,7 +32,7 @@ mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
DISTDIR =
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
|
@ -46,7 +47,6 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
|
@ -70,7 +70,6 @@ host_vendor = @host_vendor@
|
||||||
sbingrub = @sbingrub@
|
sbingrub = @sbingrub@
|
||||||
stage2debug = @stage2debug@
|
stage2debug = @stage2debug@
|
||||||
|
|
||||||
|
|
||||||
IMPORTANT_SIZE_LIMIT = 81920
|
IMPORTANT_SIZE_LIMIT = 81920
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
|
pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
|
||||||
|
@ -82,14 +81,12 @@ noinst_PROGRAMS = fat_stage1_5.exec
|
||||||
COMPILE = $(CC) -fno-builtin -nostdinc -DFSYS_FAT=1 -DNO_DECOMPRESSION=1 \
|
COMPILE = $(CC) -fno-builtin -nostdinc -DFSYS_FAT=1 -DNO_DECOMPRESSION=1 \
|
||||||
-DSTAGE1_5=1 -DCONFIG_FILE_ASM='.string "/boot/grub/stage2"' \
|
-DSTAGE1_5=1 -DCONFIG_FILE_ASM='.string "/boot/grub/stage2"' \
|
||||||
$(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
$(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/shared_src
|
INCLUDES = -I$(top_srcdir)/shared_src
|
||||||
|
|
||||||
# asm.o absolutely needs to come first!
|
# asm.o absolutely needs to come first!
|
||||||
fat_stage1_5_exec_LDADD = asm.o common.o char_io.o disk_io.o \
|
fat_stage1_5_exec_LDADD = asm.o common.o char_io.o disk_io.o \
|
||||||
stage1_5.o fsys_fat.o bios.o
|
stage1_5.o fsys_fat.o bios.o
|
||||||
|
|
||||||
|
|
||||||
# FIXME: Automake hackery.
|
# FIXME: Automake hackery.
|
||||||
DEP_FILES = .deps/dummy.P $(wildcard .deps/*.P)
|
DEP_FILES = .deps/dummy.P $(wildcard .deps/*.P)
|
||||||
fat_stage1_5_exec_SOURCES = dummy.c # needed to drag in C Makefile variables
|
fat_stage1_5_exec_SOURCES = dummy.c # needed to drag in C Makefile variables
|
||||||
|
@ -108,21 +105,21 @@ fat_stage1_5_exec_DEPENDENCIES = asm.o common.o char_io.o disk_io.o \
|
||||||
stage1_5.o fsys_fat.o bios.o
|
stage1_5.o fsys_fat.o bios.o
|
||||||
fat_stage1_5_exec_LDFLAGS =
|
fat_stage1_5_exec_LDFLAGS =
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CCLD = $(CC)
|
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
||||||
DATA = $(pkgdata_DATA)
|
DATA = $(pkgdata_DATA)
|
||||||
|
|
||||||
DIST_COMMON = $(pkgdata_DATA) Makefile.am Makefile.in
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
GZIP = --best
|
||||||
SOURCES = $(fat_stage1_5_exec_SOURCES)
|
SOURCES = $(fat_stage1_5_exec_SOURCES)
|
||||||
OBJECTS = $(fat_stage1_5_exec_OBJECTS)
|
OBJECTS = $(fat_stage1_5_exec_OBJECTS)
|
||||||
|
|
||||||
all: all-redirect
|
all: Makefile $(PROGRAMS) $(DATA)
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .S .c .o .s
|
.SUFFIXES: .S .c .o .s
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu fat_stage1_5/Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu fat_stage1_5/Makefile
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
|
@ -159,29 +156,26 @@ install-pkgdataDATA: $(pkgdata_DATA)
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||||
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
|
if test -f $(srcdir)/$$p; then \
|
||||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
|
||||||
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
|
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
|
else if test -f $$p; then \
|
||||||
|
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \
|
||||||
|
$(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
|
fi; fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-pkgdataDATA:
|
uninstall-pkgdataDATA:
|
||||||
@$(NORMAL_UNINSTALL)
|
@$(NORMAL_UNINSTALL)
|
||||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
rm -f $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
|
||||||
awk ' { files[$$0] = 1; } \
|
|
||||||
END { for (i in files) print i; }'`; \
|
|
||||||
here=`pwd` && cd $(srcdir) \
|
here=`pwd` && cd $(srcdir) \
|
||||||
&& mkid -f$$here/ID $$unique $(LISP)
|
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
|
||||||
|
|
||||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||||
tags=; \
|
tags=; \
|
||||||
|
@ -214,13 +208,9 @@ distdir: $(DISTFILES)
|
||||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu fat_stage1_5/Makefile
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu fat_stage1_5/Makefile
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
test -f $(distdir)/$$file \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
else \
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||||
test -f $(distdir)/$$file \
|
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
||||||
fi; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
||||||
|
@ -232,101 +222,83 @@ mostlyclean-depend:
|
||||||
clean-depend:
|
clean-depend:
|
||||||
|
|
||||||
distclean-depend:
|
distclean-depend:
|
||||||
-rm -rf .deps
|
|
||||||
|
|
||||||
maintainer-clean-depend:
|
maintainer-clean-depend:
|
||||||
|
-rm -rf .deps
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@echo '$(COMPILE) -c $<'; \
|
@echo '$(COMPILE) -c $<'; \
|
||||||
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
$(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
|
||||||
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
|
||||||
tr ' ' '\012' < .deps/$(*F).pp \
|
|
||||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
||||||
>> .deps/$(*F).P; \
|
|
||||||
rm .deps/$(*F).pp
|
|
||||||
|
|
||||||
%.lo: %.c
|
%.lo: %.c
|
||||||
@echo '$(LTCOMPILE) -c $<'; \
|
@echo '$(LTCOMPILE) -c $<'; \
|
||||||
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
|
||||||
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
@-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
|
||||||
< .deps/$(*F).pp > .deps/$(*F).P; \
|
< .deps/$(*F).p > .deps/$(*F).P
|
||||||
tr ' ' '\012' < .deps/$(*F).pp \
|
@-rm -f .deps/$(*F).p
|
||||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
info:
|
||||||
>> .deps/$(*F).P; \
|
dvi:
|
||||||
rm -f .deps/$(*F).pp
|
check: all
|
||||||
info-am:
|
$(MAKE)
|
||||||
info: info-am
|
installcheck:
|
||||||
dvi-am:
|
install-exec:
|
||||||
dvi: dvi-am
|
@$(NORMAL_INSTALL)
|
||||||
check-am: all-am
|
|
||||||
check: check-am
|
|
||||||
installcheck-am:
|
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am:
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-pkgdataDATA
|
install-data: install-pkgdataDATA
|
||||||
install-data: install-data-am
|
@$(NORMAL_INSTALL)
|
||||||
|
|
||||||
|
install: install-exec install-data all
|
||||||
|
@:
|
||||||
|
|
||||||
|
uninstall: uninstall-pkgdataDATA
|
||||||
|
|
||||||
install-am: all-am
|
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-pkgdataDATA
|
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) $(DATA)
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||||||
installdirs:
|
installdirs:
|
||||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
$(mkinstalldirs) $(DATADIR)$(pkgdatadir)
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(DISTCLEANFILES)
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||||
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||||
|
mostlyclean: mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
||||||
mostlyclean-tags mostlyclean-depend mostlyclean-generic
|
mostlyclean-tags mostlyclean-depend mostlyclean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
clean: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
|
||||||
|
clean-generic mostlyclean
|
||||||
|
|
||||||
clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
|
distclean: distclean-noinstPROGRAMS distclean-compile distclean-tags \
|
||||||
clean-generic mostlyclean-am
|
distclean-depend distclean-generic clean
|
||||||
|
-rm -f config.status
|
||||||
|
|
||||||
clean: clean-am
|
maintainer-clean: maintainer-clean-noinstPROGRAMS \
|
||||||
|
|
||||||
distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \
|
|
||||||
distclean-depend distclean-generic clean-am
|
|
||||||
|
|
||||||
distclean: distclean-am
|
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-noinstPROGRAMS \
|
|
||||||
maintainer-clean-compile maintainer-clean-tags \
|
maintainer-clean-compile maintainer-clean-tags \
|
||||||
maintainer-clean-depend maintainer-clean-generic \
|
maintainer-clean-depend maintainer-clean-generic \
|
||||||
distclean-am
|
distclean
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
|
||||||
|
|
||||||
.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
||||||
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean-compile distclean-compile clean-compile \
|
||||||
maintainer-clean-compile uninstall-pkgdataDATA install-pkgdataDATA tags \
|
maintainer-clean-compile uninstall-pkgdataDATA install-pkgdataDATA tags \
|
||||||
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
|
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
|
||||||
distdir mostlyclean-depend distclean-depend clean-depend \
|
distdir mostlyclean-depend distclean-depend clean-depend \
|
||||||
maintainer-clean-depend info-am info dvi-am dvi check check-am \
|
maintainer-clean-depend info dvi installcheck install-exec install-data \
|
||||||
installcheck-am installcheck install-exec-am install-exec \
|
install uninstall all installdirs mostlyclean-generic distclean-generic \
|
||||||
install-data-am install-data install-am install uninstall-am uninstall \
|
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
maintainer-clean
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
|
||||||
mostlyclean distclean maintainer-clean
|
|
||||||
|
|
||||||
|
|
||||||
fat_stage1_5.exec: $(fat_stage1_5_exec_LDADD)
|
fat_stage1_5.exec: $(fat_stage1_5_exec_LDADD)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4a from Makefile.am
|
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
@ -10,7 +10,8 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
SHELL = @SHELL@
|
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
|
@ -31,7 +32,7 @@ mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
DISTDIR =
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
|
@ -46,7 +47,6 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
|
@ -70,7 +70,6 @@ host_vendor = @host_vendor@
|
||||||
sbingrub = @sbingrub@
|
sbingrub = @sbingrub@
|
||||||
stage2debug = @stage2debug@
|
stage2debug = @stage2debug@
|
||||||
|
|
||||||
|
|
||||||
IMPORTANT_SIZE_LIMIT = 7168
|
IMPORTANT_SIZE_LIMIT = 7168
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
|
pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
|
||||||
|
@ -83,14 +82,12 @@ COMPILE = $(CC) -fno-builtin -nostdinc -DFSYS_FFS=1 -DNO_DECOMPRESSION=1 \
|
||||||
-DSTAGE1_5=1 -DNO_BLOCK_FILES=1 \
|
-DSTAGE1_5=1 -DNO_BLOCK_FILES=1 \
|
||||||
-DCONFIG_FILE_ASM='.string "/boot/grub/stage2"' \
|
-DCONFIG_FILE_ASM='.string "/boot/grub/stage2"' \
|
||||||
$(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
$(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/shared_src
|
INCLUDES = -I$(top_srcdir)/shared_src
|
||||||
|
|
||||||
# asm.o absolutely needs to come first!
|
# asm.o absolutely needs to come first!
|
||||||
ffs_stage1_5_exec_LDADD = asm.o common.o char_io.o disk_io.o \
|
ffs_stage1_5_exec_LDADD = asm.o common.o char_io.o disk_io.o \
|
||||||
stage1_5.o fsys_ffs.o bios.o
|
stage1_5.o fsys_ffs.o bios.o
|
||||||
|
|
||||||
|
|
||||||
# FIXME: Automake hackery.
|
# FIXME: Automake hackery.
|
||||||
DEP_FILES = .deps/dummy.c $(wildcard .deps/*.P)
|
DEP_FILES = .deps/dummy.c $(wildcard .deps/*.P)
|
||||||
ffs_stage1_5_exec_SOURCES = dummy.c # needed to drag in C Makefile variables
|
ffs_stage1_5_exec_SOURCES = dummy.c # needed to drag in C Makefile variables
|
||||||
|
@ -109,21 +106,21 @@ ffs_stage1_5_exec_DEPENDENCIES = asm.o common.o char_io.o disk_io.o \
|
||||||
stage1_5.o fsys_ffs.o bios.o
|
stage1_5.o fsys_ffs.o bios.o
|
||||||
ffs_stage1_5_exec_LDFLAGS =
|
ffs_stage1_5_exec_LDFLAGS =
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CCLD = $(CC)
|
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
||||||
DATA = $(pkgdata_DATA)
|
DATA = $(pkgdata_DATA)
|
||||||
|
|
||||||
DIST_COMMON = $(pkgdata_DATA) Makefile.am Makefile.in
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
GZIP = --best
|
||||||
SOURCES = $(ffs_stage1_5_exec_SOURCES)
|
SOURCES = $(ffs_stage1_5_exec_SOURCES)
|
||||||
OBJECTS = $(ffs_stage1_5_exec_OBJECTS)
|
OBJECTS = $(ffs_stage1_5_exec_OBJECTS)
|
||||||
|
|
||||||
all: all-redirect
|
all: Makefile $(PROGRAMS) $(DATA)
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .S .c .o .s
|
.SUFFIXES: .S .c .o .s
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu ffs_stage1_5/Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu ffs_stage1_5/Makefile
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
|
@ -160,29 +157,26 @@ install-pkgdataDATA: $(pkgdata_DATA)
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||||
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
|
if test -f $(srcdir)/$$p; then \
|
||||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
|
||||||
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
|
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
|
else if test -f $$p; then \
|
||||||
|
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \
|
||||||
|
$(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
|
fi; fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-pkgdataDATA:
|
uninstall-pkgdataDATA:
|
||||||
@$(NORMAL_UNINSTALL)
|
@$(NORMAL_UNINSTALL)
|
||||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
rm -f $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
|
||||||
awk ' { files[$$0] = 1; } \
|
|
||||||
END { for (i in files) print i; }'`; \
|
|
||||||
here=`pwd` && cd $(srcdir) \
|
here=`pwd` && cd $(srcdir) \
|
||||||
&& mkid -f$$here/ID $$unique $(LISP)
|
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
|
||||||
|
|
||||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||||
tags=; \
|
tags=; \
|
||||||
|
@ -215,13 +209,9 @@ distdir: $(DISTFILES)
|
||||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ffs_stage1_5/Makefile
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ffs_stage1_5/Makefile
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
test -f $(distdir)/$$file \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
else \
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||||
test -f $(distdir)/$$file \
|
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
||||||
fi; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
||||||
|
@ -233,101 +223,83 @@ mostlyclean-depend:
|
||||||
clean-depend:
|
clean-depend:
|
||||||
|
|
||||||
distclean-depend:
|
distclean-depend:
|
||||||
-rm -rf .deps
|
|
||||||
|
|
||||||
maintainer-clean-depend:
|
maintainer-clean-depend:
|
||||||
|
-rm -rf .deps
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@echo '$(COMPILE) -c $<'; \
|
@echo '$(COMPILE) -c $<'; \
|
||||||
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
$(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
|
||||||
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
|
||||||
tr ' ' '\012' < .deps/$(*F).pp \
|
|
||||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
||||||
>> .deps/$(*F).P; \
|
|
||||||
rm .deps/$(*F).pp
|
|
||||||
|
|
||||||
%.lo: %.c
|
%.lo: %.c
|
||||||
@echo '$(LTCOMPILE) -c $<'; \
|
@echo '$(LTCOMPILE) -c $<'; \
|
||||||
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
|
||||||
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
@-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
|
||||||
< .deps/$(*F).pp > .deps/$(*F).P; \
|
< .deps/$(*F).p > .deps/$(*F).P
|
||||||
tr ' ' '\012' < .deps/$(*F).pp \
|
@-rm -f .deps/$(*F).p
|
||||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
info:
|
||||||
>> .deps/$(*F).P; \
|
dvi:
|
||||||
rm -f .deps/$(*F).pp
|
check: all
|
||||||
info-am:
|
$(MAKE)
|
||||||
info: info-am
|
installcheck:
|
||||||
dvi-am:
|
install-exec:
|
||||||
dvi: dvi-am
|
@$(NORMAL_INSTALL)
|
||||||
check-am: all-am
|
|
||||||
check: check-am
|
|
||||||
installcheck-am:
|
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am:
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-pkgdataDATA
|
install-data: install-pkgdataDATA
|
||||||
install-data: install-data-am
|
@$(NORMAL_INSTALL)
|
||||||
|
|
||||||
|
install: install-exec install-data all
|
||||||
|
@:
|
||||||
|
|
||||||
|
uninstall: uninstall-pkgdataDATA
|
||||||
|
|
||||||
install-am: all-am
|
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-pkgdataDATA
|
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) $(DATA)
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||||||
installdirs:
|
installdirs:
|
||||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
$(mkinstalldirs) $(DATADIR)$(pkgdatadir)
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(DISTCLEANFILES)
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||||
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||||
|
mostlyclean: mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
||||||
mostlyclean-tags mostlyclean-depend mostlyclean-generic
|
mostlyclean-tags mostlyclean-depend mostlyclean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
clean: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
|
||||||
|
clean-generic mostlyclean
|
||||||
|
|
||||||
clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
|
distclean: distclean-noinstPROGRAMS distclean-compile distclean-tags \
|
||||||
clean-generic mostlyclean-am
|
distclean-depend distclean-generic clean
|
||||||
|
-rm -f config.status
|
||||||
|
|
||||||
clean: clean-am
|
maintainer-clean: maintainer-clean-noinstPROGRAMS \
|
||||||
|
|
||||||
distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \
|
|
||||||
distclean-depend distclean-generic clean-am
|
|
||||||
|
|
||||||
distclean: distclean-am
|
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-noinstPROGRAMS \
|
|
||||||
maintainer-clean-compile maintainer-clean-tags \
|
maintainer-clean-compile maintainer-clean-tags \
|
||||||
maintainer-clean-depend maintainer-clean-generic \
|
maintainer-clean-depend maintainer-clean-generic \
|
||||||
distclean-am
|
distclean
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
|
||||||
|
|
||||||
.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
||||||
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean-compile distclean-compile clean-compile \
|
||||||
maintainer-clean-compile uninstall-pkgdataDATA install-pkgdataDATA tags \
|
maintainer-clean-compile uninstall-pkgdataDATA install-pkgdataDATA tags \
|
||||||
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
|
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
|
||||||
distdir mostlyclean-depend distclean-depend clean-depend \
|
distdir mostlyclean-depend distclean-depend clean-depend \
|
||||||
maintainer-clean-depend info-am info dvi-am dvi check check-am \
|
maintainer-clean-depend info dvi installcheck install-exec install-data \
|
||||||
installcheck-am installcheck install-exec-am install-exec \
|
install uninstall all installdirs mostlyclean-generic distclean-generic \
|
||||||
install-data-am install-data install-am install uninstall-am uninstall \
|
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
maintainer-clean
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
|
||||||
mostlyclean distclean maintainer-clean
|
|
||||||
|
|
||||||
|
|
||||||
ffs_stage1_5.exec: $(ffs_stage1_5_exec_LDADD)
|
ffs_stage1_5.exec: $(ffs_stage1_5_exec_LDADD)
|
||||||
|
|
146
grub/Makefile.in
146
grub/Makefile.in
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4a from Makefile.am
|
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
@ -10,7 +10,8 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
SHELL = @SHELL@
|
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
|
@ -31,7 +32,7 @@ mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
DISTDIR =
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
@ -48,7 +49,6 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
|
@ -72,7 +72,6 @@ host_vendor = @host_vendor@
|
||||||
sbingrub = @sbingrub@
|
sbingrub = @sbingrub@
|
||||||
stage2debug = @stage2debug@
|
stage2debug = @stage2debug@
|
||||||
|
|
||||||
|
|
||||||
EXTRA_PROGRAMS = grub
|
EXTRA_PROGRAMS = grub
|
||||||
sbin_PROGRAMS = $(sbingrub)
|
sbin_PROGRAMS = $(sbingrub)
|
||||||
CLEANFILES = $(EXTRA_PROGRAMS)
|
CLEANFILES = $(EXTRA_PROGRAMS)
|
||||||
|
@ -84,7 +83,6 @@ grub_SOURCES = main.c asmstub.c
|
||||||
grub_LDADD = boot.o common.o char_io.o cmdline.o disk_io.o gunzip.o \
|
grub_LDADD = boot.o common.o char_io.o cmdline.o disk_io.o gunzip.o \
|
||||||
fsys_ffs.o fsys_ext2fs.o fsys_fat.o stage2.o
|
fsys_ffs.o fsys_ext2fs.o fsys_fat.o stage2.o
|
||||||
|
|
||||||
|
|
||||||
# FIXME: Automake hackery.
|
# FIXME: Automake hackery.
|
||||||
DEP_FILES = .deps/main.P .deps/asmstub.P $(wildcard .deps/*.P)
|
DEP_FILES = .deps/main.P .deps/asmstub.P $(wildcard .deps/*.P)
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
|
@ -101,21 +99,21 @@ grub_DEPENDENCIES = boot.o common.o char_io.o cmdline.o disk_io.o \
|
||||||
gunzip.o fsys_ffs.o fsys_ext2fs.o fsys_fat.o stage2.o
|
gunzip.o fsys_ffs.o fsys_ext2fs.o fsys_fat.o stage2.o
|
||||||
grub_LDFLAGS =
|
grub_LDFLAGS =
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CCLD = $(CC)
|
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
||||||
DIST_COMMON = Makefile.am Makefile.in
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
GZIP_ENV = --best
|
GZIP = --best
|
||||||
SOURCES = $(grub_SOURCES)
|
SOURCES = $(grub_SOURCES)
|
||||||
OBJECTS = $(grub_OBJECTS)
|
OBJECTS = $(grub_OBJECTS)
|
||||||
|
|
||||||
all: all-redirect
|
all: Makefile $(PROGRAMS)
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .S .c .o .s
|
.SUFFIXES: .S .c .o .s
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu grub/Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu grub/Makefile
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
|
@ -137,17 +135,15 @@ install-sbinPROGRAMS: $(sbin_PROGRAMS)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(sbindir)
|
$(mkinstalldirs) $(DESTDIR)$(sbindir)
|
||||||
@list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
@list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
||||||
if test -f $$p; then \
|
if test -f $$p; then \
|
||||||
echo " $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed '$(transform)'`"; \
|
||||||
$(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`; \
|
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed '$(transform)'`; \
|
||||||
else :; fi; \
|
else :; fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-sbinPROGRAMS:
|
uninstall-sbinPROGRAMS:
|
||||||
@$(NORMAL_UNINSTALL)
|
@$(NORMAL_UNINSTALL)
|
||||||
@list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
||||||
file="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed '$(transform)'`; \
|
||||||
echo " rm -f $(DESTDIR)$(sbindir)/$$file"; \
|
|
||||||
rm -f $(DESTDIR)$(sbindir)/$$file; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
.s.o:
|
.s.o:
|
||||||
|
@ -173,12 +169,8 @@ grub: $(grub_OBJECTS) $(grub_DEPENDENCIES)
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
|
||||||
awk ' { files[$$0] = 1; } \
|
|
||||||
END { for (i in files) print i; }'`; \
|
|
||||||
here=`pwd` && cd $(srcdir) \
|
here=`pwd` && cd $(srcdir) \
|
||||||
&& mkid -f$$here/ID $$unique $(LISP)
|
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
|
||||||
|
|
||||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||||
tags=; \
|
tags=; \
|
||||||
|
@ -211,13 +203,9 @@ distdir: $(DISTFILES)
|
||||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu grub/Makefile
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu grub/Makefile
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
test -f $(distdir)/$$file \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
else \
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||||
test -f $(distdir)/$$file \
|
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
||||||
fi; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
||||||
|
@ -229,101 +217,83 @@ mostlyclean-depend:
|
||||||
clean-depend:
|
clean-depend:
|
||||||
|
|
||||||
distclean-depend:
|
distclean-depend:
|
||||||
-rm -rf .deps
|
|
||||||
|
|
||||||
maintainer-clean-depend:
|
maintainer-clean-depend:
|
||||||
|
-rm -rf .deps
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@echo '$(COMPILE) -c $<'; \
|
@echo '$(COMPILE) -c $<'; \
|
||||||
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
$(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
|
||||||
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
|
||||||
tr ' ' '\012' < .deps/$(*F).pp \
|
|
||||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
||||||
>> .deps/$(*F).P; \
|
|
||||||
rm .deps/$(*F).pp
|
|
||||||
|
|
||||||
%.lo: %.c
|
%.lo: %.c
|
||||||
@echo '$(LTCOMPILE) -c $<'; \
|
@echo '$(LTCOMPILE) -c $<'; \
|
||||||
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
|
||||||
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
@-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
|
||||||
< .deps/$(*F).pp > .deps/$(*F).P; \
|
< .deps/$(*F).p > .deps/$(*F).P
|
||||||
tr ' ' '\012' < .deps/$(*F).pp \
|
@-rm -f .deps/$(*F).p
|
||||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
info:
|
||||||
>> .deps/$(*F).P; \
|
dvi:
|
||||||
rm -f .deps/$(*F).pp
|
check: all
|
||||||
info-am:
|
$(MAKE)
|
||||||
info: info-am
|
installcheck:
|
||||||
dvi-am:
|
install-exec: install-sbinPROGRAMS
|
||||||
dvi: dvi-am
|
@$(NORMAL_INSTALL)
|
||||||
check-am: all-am
|
|
||||||
check: check-am
|
|
||||||
installcheck-am:
|
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am: install-sbinPROGRAMS
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am:
|
install-data:
|
||||||
install-data: install-data-am
|
@$(NORMAL_INSTALL)
|
||||||
|
|
||||||
|
install: install-exec install-data all
|
||||||
|
@:
|
||||||
|
|
||||||
|
uninstall: uninstall-sbinPROGRAMS
|
||||||
|
|
||||||
install-am: all-am
|
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-sbinPROGRAMS
|
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS)
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||||||
installdirs:
|
installdirs:
|
||||||
$(mkinstalldirs) $(DESTDIR)$(sbindir)
|
$(mkinstalldirs) $(DATADIR)$(sbindir)
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(DISTCLEANFILES)
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
mostlyclean-am: mostlyclean-sbinPROGRAMS mostlyclean-compile \
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||||
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||||
|
mostlyclean: mostlyclean-sbinPROGRAMS mostlyclean-compile \
|
||||||
mostlyclean-tags mostlyclean-depend mostlyclean-generic
|
mostlyclean-tags mostlyclean-depend mostlyclean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
clean: clean-sbinPROGRAMS clean-compile clean-tags clean-depend \
|
||||||
|
clean-generic mostlyclean
|
||||||
|
|
||||||
clean-am: clean-sbinPROGRAMS clean-compile clean-tags clean-depend \
|
distclean: distclean-sbinPROGRAMS distclean-compile distclean-tags \
|
||||||
clean-generic mostlyclean-am
|
distclean-depend distclean-generic clean
|
||||||
|
-rm -f config.status
|
||||||
|
|
||||||
clean: clean-am
|
maintainer-clean: maintainer-clean-sbinPROGRAMS \
|
||||||
|
|
||||||
distclean-am: distclean-sbinPROGRAMS distclean-compile distclean-tags \
|
|
||||||
distclean-depend distclean-generic clean-am
|
|
||||||
|
|
||||||
distclean: distclean-am
|
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-sbinPROGRAMS \
|
|
||||||
maintainer-clean-compile maintainer-clean-tags \
|
maintainer-clean-compile maintainer-clean-tags \
|
||||||
maintainer-clean-depend maintainer-clean-generic \
|
maintainer-clean-depend maintainer-clean-generic \
|
||||||
distclean-am
|
distclean
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
|
||||||
|
|
||||||
.PHONY: mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS \
|
.PHONY: mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS \
|
||||||
clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
|
clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
|
||||||
install-sbinPROGRAMS mostlyclean-compile distclean-compile \
|
install-sbinPROGRAMS mostlyclean-compile distclean-compile \
|
||||||
clean-compile maintainer-clean-compile tags mostlyclean-tags \
|
clean-compile maintainer-clean-compile tags mostlyclean-tags \
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir \
|
distclean-tags clean-tags maintainer-clean-tags distdir \
|
||||||
mostlyclean-depend distclean-depend clean-depend \
|
mostlyclean-depend distclean-depend clean-depend \
|
||||||
maintainer-clean-depend info-am info dvi-am dvi check check-am \
|
maintainer-clean-depend info dvi installcheck install-exec install-data \
|
||||||
installcheck-am installcheck install-exec-am install-exec \
|
install uninstall all installdirs mostlyclean-generic distclean-generic \
|
||||||
install-data-am install-data install-am install uninstall-am uninstall \
|
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
maintainer-clean
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
|
||||||
mostlyclean distclean maintainer-clean
|
|
||||||
|
|
||||||
|
|
||||||
@SHARED_SRC_RULES@
|
@SHARED_SRC_RULES@
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4a from Makefile.am
|
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
@ -10,7 +10,8 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
SHELL = @SHELL@
|
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
|
@ -31,7 +32,7 @@ mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
DISTDIR =
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
@ -48,7 +49,6 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
|
@ -72,29 +72,27 @@ host_vendor = @host_vendor@
|
||||||
sbingrub = @sbingrub@
|
sbingrub = @sbingrub@
|
||||||
stage2debug = @stage2debug@
|
stage2debug = @stage2debug@
|
||||||
|
|
||||||
|
|
||||||
noinst_HEADERS = apic.h defs.h dir.h disk_inode.h disk_inode_ffs.h \
|
noinst_HEADERS = apic.h defs.h dir.h disk_inode.h disk_inode_ffs.h \
|
||||||
fat.h filesys.h freebsd.h fs.h i386-elf.h imgact_aout.h \
|
fat.h filesys.h freebsd.h fs.h i386-elf.h imgact_aout.h \
|
||||||
mb_header.h mb_info.h pc_slice.h shared.h smp-imps.h
|
mb_header.h mb_info.h pc_slice.h shared.h smp-imps.h
|
||||||
|
|
||||||
|
|
||||||
EXTRA_DIST = asm.S boot.c char_io.c cmdline.c common.c disk_io.c \
|
EXTRA_DIST = asm.S boot.c char_io.c cmdline.c common.c disk_io.c \
|
||||||
fsys_ext2fs.c fsys_fat.c fsys_ffs.c gunzip.c smp-imps.c \
|
fsys_ext2fs.c fsys_fat.c fsys_ffs.c gunzip.c smp-imps.c \
|
||||||
stage1_5.c stage2.c
|
stage1_5.c stage2.c
|
||||||
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
HEADERS = $(noinst_HEADERS)
|
HEADERS = $(noinst_HEADERS)
|
||||||
|
|
||||||
DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
|
GZIP = --best
|
||||||
|
all: Makefile $(HEADERS)
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
all: all-redirect
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu shared_src/Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu shared_src/Makefile
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
|
@ -105,12 +103,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
|
||||||
awk ' { files[$$0] = 1; } \
|
|
||||||
END { for (i in files) print i; }'`; \
|
|
||||||
here=`pwd` && cd $(srcdir) \
|
here=`pwd` && cd $(srcdir) \
|
||||||
&& mkid -f$$here/ID $$unique $(LISP)
|
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
|
||||||
|
|
||||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||||
tags=; \
|
tags=; \
|
||||||
|
@ -143,73 +137,60 @@ distdir: $(DISTFILES)
|
||||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu shared_src/Makefile
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu shared_src/Makefile
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
test -f $(distdir)/$$file \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
else \
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||||
test -f $(distdir)/$$file \
|
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
||||||
fi; \
|
|
||||||
done
|
done
|
||||||
info-am:
|
info:
|
||||||
info: info-am
|
dvi:
|
||||||
dvi-am:
|
check: all
|
||||||
dvi: dvi-am
|
$(MAKE)
|
||||||
check-am: all-am
|
installcheck:
|
||||||
check: check-am
|
install-exec:
|
||||||
installcheck-am:
|
@$(NORMAL_INSTALL)
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am:
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am:
|
install-data:
|
||||||
install-data: install-data-am
|
@$(NORMAL_INSTALL)
|
||||||
|
|
||||||
|
install: install-exec install-data all
|
||||||
|
@:
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
|
||||||
install-am: all-am
|
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
||||||
install: install-am
|
|
||||||
uninstall-am:
|
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(HEADERS)
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||||||
installdirs:
|
installdirs:
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(DISTCLEANFILES)
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
mostlyclean-am: mostlyclean-tags mostlyclean-generic
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||||
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||||
|
mostlyclean: mostlyclean-tags mostlyclean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
clean: clean-tags clean-generic mostlyclean
|
||||||
|
|
||||||
clean-am: clean-tags clean-generic mostlyclean-am
|
distclean: distclean-tags distclean-generic clean
|
||||||
|
-rm -f config.status
|
||||||
|
|
||||||
clean: clean-am
|
maintainer-clean: maintainer-clean-tags maintainer-clean-generic \
|
||||||
|
distclean
|
||||||
distclean-am: distclean-tags distclean-generic clean-am
|
|
||||||
|
|
||||||
distclean: distclean-am
|
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
|
|
||||||
distclean-am
|
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
|
||||||
|
|
||||||
.PHONY: tags mostlyclean-tags distclean-tags clean-tags \
|
.PHONY: tags mostlyclean-tags distclean-tags clean-tags \
|
||||||
maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
|
maintainer-clean-tags distdir info dvi installcheck install-exec \
|
||||||
installcheck-am installcheck install-exec-am install-exec \
|
install-data install uninstall all installdirs mostlyclean-generic \
|
||||||
install-data-am install-data install-am install uninstall-am uninstall \
|
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
distclean-generic clean-generic maintainer-clean-generic clean \
|
||||||
mostlyclean distclean maintainer-clean
|
mostlyclean distclean maintainer-clean
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4a from Makefile.am
|
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
@ -10,7 +10,8 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
SHELL = @SHELL@
|
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
|
@ -31,7 +32,7 @@ mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
DISTDIR =
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
|
@ -46,7 +47,6 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
|
@ -70,7 +70,6 @@ host_vendor = @host_vendor@
|
||||||
sbingrub = @sbingrub@
|
sbingrub = @sbingrub@
|
||||||
stage2debug = @stage2debug@
|
stage2debug = @stage2debug@
|
||||||
|
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
|
pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
|
||||||
pkgdata_DATA = stage1
|
pkgdata_DATA = stage1
|
||||||
CLEANFILES = $(pkgdata_DATA)
|
CLEANFILES = $(pkgdata_DATA)
|
||||||
|
@ -94,24 +93,24 @@ stage1_exec_LDADD = $(LDADD)
|
||||||
stage1_exec_DEPENDENCIES =
|
stage1_exec_DEPENDENCIES =
|
||||||
stage1_exec_LDFLAGS =
|
stage1_exec_LDFLAGS =
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CCLD = $(CC)
|
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
||||||
DATA = $(pkgdata_DATA)
|
DATA = $(pkgdata_DATA)
|
||||||
|
|
||||||
DIST_COMMON = $(pkgdata_DATA) Makefile.am Makefile.in
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
GZIP_ENV = --best
|
GZIP = --best
|
||||||
DEP_FILES = .deps/stage1.P
|
DEP_FILES = .deps/stage1.P
|
||||||
SOURCES = $(stage1_exec_SOURCES)
|
SOURCES = $(stage1_exec_SOURCES)
|
||||||
OBJECTS = $(stage1_exec_OBJECTS)
|
OBJECTS = $(stage1_exec_OBJECTS)
|
||||||
|
|
||||||
all: all-redirect
|
all: Makefile $(PROGRAMS) $(DATA)
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .S .c .o .s
|
.SUFFIXES: .S .c .o .s
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu stage1/Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu stage1/Makefile
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
|
@ -148,29 +147,26 @@ install-pkgdataDATA: $(pkgdata_DATA)
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||||
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
|
if test -f $(srcdir)/$$p; then \
|
||||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
|
||||||
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
|
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
|
else if test -f $$p; then \
|
||||||
|
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \
|
||||||
|
$(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
|
fi; fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-pkgdataDATA:
|
uninstall-pkgdataDATA:
|
||||||
@$(NORMAL_UNINSTALL)
|
@$(NORMAL_UNINSTALL)
|
||||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
rm -f $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
|
||||||
awk ' { files[$$0] = 1; } \
|
|
||||||
END { for (i in files) print i; }'`; \
|
|
||||||
here=`pwd` && cd $(srcdir) \
|
here=`pwd` && cd $(srcdir) \
|
||||||
&& mkid -f$$here/ID $$unique $(LISP)
|
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
|
||||||
|
|
||||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||||
tags=; \
|
tags=; \
|
||||||
|
@ -203,13 +199,9 @@ distdir: $(DISTFILES)
|
||||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu stage1/Makefile
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu stage1/Makefile
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
test -f $(distdir)/$$file \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
else \
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||||
test -f $(distdir)/$$file \
|
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
||||||
fi; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
||||||
|
@ -221,101 +213,83 @@ mostlyclean-depend:
|
||||||
clean-depend:
|
clean-depend:
|
||||||
|
|
||||||
distclean-depend:
|
distclean-depend:
|
||||||
-rm -rf .deps
|
|
||||||
|
|
||||||
maintainer-clean-depend:
|
maintainer-clean-depend:
|
||||||
|
-rm -rf .deps
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@echo '$(COMPILE) -c $<'; \
|
@echo '$(COMPILE) -c $<'; \
|
||||||
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
$(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
|
||||||
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
|
||||||
tr ' ' '\012' < .deps/$(*F).pp \
|
|
||||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
||||||
>> .deps/$(*F).P; \
|
|
||||||
rm .deps/$(*F).pp
|
|
||||||
|
|
||||||
%.lo: %.c
|
%.lo: %.c
|
||||||
@echo '$(LTCOMPILE) -c $<'; \
|
@echo '$(LTCOMPILE) -c $<'; \
|
||||||
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
|
||||||
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
@-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
|
||||||
< .deps/$(*F).pp > .deps/$(*F).P; \
|
< .deps/$(*F).p > .deps/$(*F).P
|
||||||
tr ' ' '\012' < .deps/$(*F).pp \
|
@-rm -f .deps/$(*F).p
|
||||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
info:
|
||||||
>> .deps/$(*F).P; \
|
dvi:
|
||||||
rm -f .deps/$(*F).pp
|
check: all
|
||||||
info-am:
|
$(MAKE)
|
||||||
info: info-am
|
installcheck:
|
||||||
dvi-am:
|
install-exec:
|
||||||
dvi: dvi-am
|
@$(NORMAL_INSTALL)
|
||||||
check-am: all-am
|
|
||||||
check: check-am
|
|
||||||
installcheck-am:
|
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am:
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-pkgdataDATA
|
install-data: install-pkgdataDATA
|
||||||
install-data: install-data-am
|
@$(NORMAL_INSTALL)
|
||||||
|
|
||||||
|
install: install-exec install-data all
|
||||||
|
@:
|
||||||
|
|
||||||
|
uninstall: uninstall-pkgdataDATA
|
||||||
|
|
||||||
install-am: all-am
|
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-pkgdataDATA
|
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) $(DATA)
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||||||
installdirs:
|
installdirs:
|
||||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
$(mkinstalldirs) $(DATADIR)$(pkgdatadir)
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(DISTCLEANFILES)
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||||
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||||
|
mostlyclean: mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
||||||
mostlyclean-tags mostlyclean-depend mostlyclean-generic
|
mostlyclean-tags mostlyclean-depend mostlyclean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
clean: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
|
||||||
|
clean-generic mostlyclean
|
||||||
|
|
||||||
clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
|
distclean: distclean-noinstPROGRAMS distclean-compile distclean-tags \
|
||||||
clean-generic mostlyclean-am
|
distclean-depend distclean-generic clean
|
||||||
|
-rm -f config.status
|
||||||
|
|
||||||
clean: clean-am
|
maintainer-clean: maintainer-clean-noinstPROGRAMS \
|
||||||
|
|
||||||
distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \
|
|
||||||
distclean-depend distclean-generic clean-am
|
|
||||||
|
|
||||||
distclean: distclean-am
|
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-noinstPROGRAMS \
|
|
||||||
maintainer-clean-compile maintainer-clean-tags \
|
maintainer-clean-compile maintainer-clean-tags \
|
||||||
maintainer-clean-depend maintainer-clean-generic \
|
maintainer-clean-depend maintainer-clean-generic \
|
||||||
distclean-am
|
distclean
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
|
||||||
|
|
||||||
.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
||||||
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean-compile distclean-compile clean-compile \
|
||||||
maintainer-clean-compile uninstall-pkgdataDATA install-pkgdataDATA tags \
|
maintainer-clean-compile uninstall-pkgdataDATA install-pkgdataDATA tags \
|
||||||
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
|
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
|
||||||
distdir mostlyclean-depend distclean-depend clean-depend \
|
distdir mostlyclean-depend distclean-depend clean-depend \
|
||||||
maintainer-clean-depend info-am info dvi-am dvi check check-am \
|
maintainer-clean-depend info dvi installcheck install-exec install-data \
|
||||||
installcheck-am installcheck install-exec-am install-exec \
|
install uninstall all installdirs mostlyclean-generic distclean-generic \
|
||||||
install-data-am install-data install-am install uninstall-am uninstall \
|
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
maintainer-clean
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
|
||||||
mostlyclean distclean maintainer-clean
|
|
||||||
|
|
||||||
|
|
||||||
stage1.exec: stage1.o
|
stage1.exec: stage1.o
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4a from Makefile.am
|
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
@ -10,7 +10,8 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
SHELL = @SHELL@
|
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
|
@ -31,7 +32,7 @@ mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
DISTDIR =
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
|
@ -46,7 +47,6 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
|
@ -70,7 +70,6 @@ host_vendor = @host_vendor@
|
||||||
sbingrub = @sbingrub@
|
sbingrub = @sbingrub@
|
||||||
stage2debug = @stage2debug@
|
stage2debug = @stage2debug@
|
||||||
|
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
|
pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
|
||||||
pkgdata_DATA = stage2
|
pkgdata_DATA = stage2
|
||||||
CLEANFILES = $(pkgdata_DATA)
|
CLEANFILES = $(pkgdata_DATA)
|
||||||
|
@ -84,7 +83,6 @@ INCLUDES = -I$(top_srcdir)/shared_src
|
||||||
stage2_exec_LDADD = asm.o boot.o common.o char_io.o cmdline.o disk_io.o \
|
stage2_exec_LDADD = asm.o boot.o common.o char_io.o cmdline.o disk_io.o \
|
||||||
gunzip.o fsys_ffs.o fsys_ext2fs.o fsys_fat.o stage2.o bios.o
|
gunzip.o fsys_ffs.o fsys_ext2fs.o fsys_fat.o stage2.o bios.o
|
||||||
|
|
||||||
|
|
||||||
noinst_PROGRAMS = stage2.exec
|
noinst_PROGRAMS = stage2.exec
|
||||||
|
|
||||||
# FIXME: Automake hackery.
|
# FIXME: Automake hackery.
|
||||||
|
@ -105,21 +103,21 @@ stage2_exec_DEPENDENCIES = asm.o boot.o common.o char_io.o cmdline.o \
|
||||||
disk_io.o gunzip.o fsys_ffs.o fsys_ext2fs.o fsys_fat.o stage2.o bios.o
|
disk_io.o gunzip.o fsys_ffs.o fsys_ext2fs.o fsys_fat.o stage2.o bios.o
|
||||||
stage2_exec_LDFLAGS =
|
stage2_exec_LDFLAGS =
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CCLD = $(CC)
|
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
||||||
DATA = $(pkgdata_DATA)
|
DATA = $(pkgdata_DATA)
|
||||||
|
|
||||||
DIST_COMMON = $(pkgdata_DATA) Makefile.am Makefile.in
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
GZIP = --best
|
||||||
SOURCES = $(stage2_exec_SOURCES)
|
SOURCES = $(stage2_exec_SOURCES)
|
||||||
OBJECTS = $(stage2_exec_OBJECTS)
|
OBJECTS = $(stage2_exec_OBJECTS)
|
||||||
|
|
||||||
all: all-redirect
|
all: Makefile $(PROGRAMS) $(DATA)
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .S .c .o .s
|
.SUFFIXES: .S .c .o .s
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu stage2/Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu stage2/Makefile
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
|
@ -156,29 +154,26 @@ install-pkgdataDATA: $(pkgdata_DATA)
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||||
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
|
if test -f $(srcdir)/$$p; then \
|
||||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
|
||||||
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
|
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
|
else if test -f $$p; then \
|
||||||
|
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \
|
||||||
|
$(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
|
fi; fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-pkgdataDATA:
|
uninstall-pkgdataDATA:
|
||||||
@$(NORMAL_UNINSTALL)
|
@$(NORMAL_UNINSTALL)
|
||||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
rm -f $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
|
||||||
awk ' { files[$$0] = 1; } \
|
|
||||||
END { for (i in files) print i; }'`; \
|
|
||||||
here=`pwd` && cd $(srcdir) \
|
here=`pwd` && cd $(srcdir) \
|
||||||
&& mkid -f$$here/ID $$unique $(LISP)
|
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
|
||||||
|
|
||||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||||
tags=; \
|
tags=; \
|
||||||
|
@ -211,13 +206,9 @@ distdir: $(DISTFILES)
|
||||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu stage2/Makefile
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu stage2/Makefile
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
test -f $(distdir)/$$file \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
else \
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||||
test -f $(distdir)/$$file \
|
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
||||||
fi; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
||||||
|
@ -229,53 +220,40 @@ mostlyclean-depend:
|
||||||
clean-depend:
|
clean-depend:
|
||||||
|
|
||||||
distclean-depend:
|
distclean-depend:
|
||||||
-rm -rf .deps
|
|
||||||
|
|
||||||
maintainer-clean-depend:
|
maintainer-clean-depend:
|
||||||
|
-rm -rf .deps
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@echo '$(COMPILE) -c $<'; \
|
@echo '$(COMPILE) -c $<'; \
|
||||||
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
$(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
|
||||||
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
|
||||||
tr ' ' '\012' < .deps/$(*F).pp \
|
|
||||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
||||||
>> .deps/$(*F).P; \
|
|
||||||
rm .deps/$(*F).pp
|
|
||||||
|
|
||||||
%.lo: %.c
|
%.lo: %.c
|
||||||
@echo '$(LTCOMPILE) -c $<'; \
|
@echo '$(LTCOMPILE) -c $<'; \
|
||||||
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
|
||||||
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
@-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
|
||||||
< .deps/$(*F).pp > .deps/$(*F).P; \
|
< .deps/$(*F).p > .deps/$(*F).P
|
||||||
tr ' ' '\012' < .deps/$(*F).pp \
|
@-rm -f .deps/$(*F).p
|
||||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
info:
|
||||||
>> .deps/$(*F).P; \
|
dvi:
|
||||||
rm -f .deps/$(*F).pp
|
check: all
|
||||||
info-am:
|
$(MAKE)
|
||||||
info: info-am
|
installcheck:
|
||||||
dvi-am:
|
install-exec:
|
||||||
dvi: dvi-am
|
@$(NORMAL_INSTALL)
|
||||||
check-am: all-am
|
|
||||||
check: check-am
|
|
||||||
installcheck-am:
|
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am:
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-pkgdataDATA
|
install-data: install-pkgdataDATA
|
||||||
install-data: install-data-am
|
@$(NORMAL_INSTALL)
|
||||||
|
|
||||||
|
install: install-exec install-data all
|
||||||
|
@:
|
||||||
|
|
||||||
|
uninstall: uninstall-pkgdataDATA
|
||||||
|
|
||||||
install-am: all-am
|
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-pkgdataDATA
|
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) $(DATA)
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||||||
installdirs:
|
installdirs:
|
||||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
$(mkinstalldirs) $(DATADIR)$(pkgdatadir)
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
@ -285,46 +263,40 @@ clean-generic:
|
||||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(DISTCLEANFILES)
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||||
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||||
|
mostlyclean: mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
||||||
mostlyclean-tags mostlyclean-depend mostlyclean-generic
|
mostlyclean-tags mostlyclean-depend mostlyclean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
clean: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
|
||||||
|
clean-generic mostlyclean
|
||||||
|
|
||||||
clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
|
distclean: distclean-noinstPROGRAMS distclean-compile distclean-tags \
|
||||||
clean-generic mostlyclean-am
|
distclean-depend distclean-generic clean
|
||||||
|
-rm -f config.status
|
||||||
|
|
||||||
clean: clean-am
|
maintainer-clean: maintainer-clean-noinstPROGRAMS \
|
||||||
|
|
||||||
distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \
|
|
||||||
distclean-depend distclean-generic clean-am
|
|
||||||
|
|
||||||
distclean: distclean-am
|
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-noinstPROGRAMS \
|
|
||||||
maintainer-clean-compile maintainer-clean-tags \
|
maintainer-clean-compile maintainer-clean-tags \
|
||||||
maintainer-clean-depend maintainer-clean-generic \
|
maintainer-clean-depend maintainer-clean-generic \
|
||||||
distclean-am
|
distclean
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
|
||||||
|
|
||||||
.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
||||||
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean-compile distclean-compile clean-compile \
|
||||||
maintainer-clean-compile uninstall-pkgdataDATA install-pkgdataDATA tags \
|
maintainer-clean-compile uninstall-pkgdataDATA install-pkgdataDATA tags \
|
||||||
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
|
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
|
||||||
distdir mostlyclean-depend distclean-depend clean-depend \
|
distdir mostlyclean-depend distclean-depend clean-depend \
|
||||||
maintainer-clean-depend info-am info dvi-am dvi check check-am \
|
maintainer-clean-depend info dvi installcheck install-exec install-data \
|
||||||
installcheck-am installcheck install-exec-am install-exec \
|
install uninstall all installdirs mostlyclean-generic distclean-generic \
|
||||||
install-data-am install-data install-am install uninstall-am uninstall \
|
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
maintainer-clean
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
|
||||||
mostlyclean distclean maintainer-clean
|
|
||||||
|
|
||||||
|
|
||||||
stage2.exec: $(stage2_exec_LDADD)
|
stage2.exec: $(stage2_exec_LDADD)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4a from Makefile.am
|
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
@ -10,7 +10,8 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
SHELL = @SHELL@
|
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
|
@ -31,7 +32,7 @@ mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
DISTDIR =
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
|
@ -46,7 +47,6 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
|
@ -70,7 +70,6 @@ host_vendor = @host_vendor@
|
||||||
sbingrub = @sbingrub@
|
sbingrub = @sbingrub@
|
||||||
stage2debug = @stage2debug@
|
stage2debug = @stage2debug@
|
||||||
|
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
|
pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
|
||||||
pkgdata_DATA = $(stage2debug)
|
pkgdata_DATA = $(stage2debug)
|
||||||
EXTRA_DATA = stage2_debug
|
EXTRA_DATA = stage2_debug
|
||||||
|
@ -80,14 +79,12 @@ MOSTLYCLEANFILES = stage2_debug.exec
|
||||||
# We can't use builtins or standard includes.
|
# We can't use builtins or standard includes.
|
||||||
COMPILE = $(CC) -fno-builtin -nostdinc -DDEBUG=1 $(DEFS) $(INCLUDES) \
|
COMPILE = $(CC) -fno-builtin -nostdinc -DDEBUG=1 $(DEFS) $(INCLUDES) \
|
||||||
$(CPPFLAGS) $(CFLAGS)
|
$(CPPFLAGS) $(CFLAGS)
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/shared_src
|
INCLUDES = -I$(top_srcdir)/shared_src
|
||||||
|
|
||||||
# asm.o absolutely needs to come first!
|
# asm.o absolutely needs to come first!
|
||||||
stage2_debug_exec_LDADD = asm.o boot.o common.o char_io.o cmdline.o disk_io.o \
|
stage2_debug_exec_LDADD = asm.o boot.o common.o char_io.o cmdline.o disk_io.o \
|
||||||
gunzip.o fsys_ffs.o fsys_ext2fs.o fsys_fat.o stage2.o bios.o
|
gunzip.o fsys_ffs.o fsys_ext2fs.o fsys_fat.o stage2.o bios.o
|
||||||
|
|
||||||
|
|
||||||
EXTRA_PROGRAMS = stage2_debug.exec
|
EXTRA_PROGRAMS = stage2_debug.exec
|
||||||
|
|
||||||
# FIXME: Automake hackery.
|
# FIXME: Automake hackery.
|
||||||
|
@ -107,21 +104,21 @@ cmdline.o disk_io.o gunzip.o fsys_ffs.o fsys_ext2fs.o fsys_fat.o \
|
||||||
stage2.o bios.o
|
stage2.o bios.o
|
||||||
stage2_debug_exec_LDFLAGS =
|
stage2_debug_exec_LDFLAGS =
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CCLD = $(CC)
|
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
||||||
DATA = $(pkgdata_DATA)
|
DATA = $(pkgdata_DATA)
|
||||||
|
|
||||||
DIST_COMMON = $(EXTRA_DATA) $(pkgdata_DATA) Makefile.am Makefile.in
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
GZIP = --best
|
||||||
SOURCES = $(stage2_debug_exec_SOURCES)
|
SOURCES = $(stage2_debug_exec_SOURCES)
|
||||||
OBJECTS = $(stage2_debug_exec_OBJECTS)
|
OBJECTS = $(stage2_debug_exec_OBJECTS)
|
||||||
|
|
||||||
all: all-redirect
|
all: Makefile $(DATA)
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .S .c .o .s
|
.SUFFIXES: .S .c .o .s
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu stage2_debug/Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu stage2_debug/Makefile
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
|
@ -149,29 +146,26 @@ install-pkgdataDATA: $(pkgdata_DATA)
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||||
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
|
if test -f $(srcdir)/$$p; then \
|
||||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
|
||||||
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
|
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
|
else if test -f $$p; then \
|
||||||
|
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \
|
||||||
|
$(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
|
fi; fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-pkgdataDATA:
|
uninstall-pkgdataDATA:
|
||||||
@$(NORMAL_UNINSTALL)
|
@$(NORMAL_UNINSTALL)
|
||||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
rm -f $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
|
||||||
awk ' { files[$$0] = 1; } \
|
|
||||||
END { for (i in files) print i; }'`; \
|
|
||||||
here=`pwd` && cd $(srcdir) \
|
here=`pwd` && cd $(srcdir) \
|
||||||
&& mkid -f$$here/ID $$unique $(LISP)
|
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
|
||||||
|
|
||||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||||
tags=; \
|
tags=; \
|
||||||
|
@ -204,13 +198,9 @@ distdir: $(DISTFILES)
|
||||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu stage2_debug/Makefile
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu stage2_debug/Makefile
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
test -f $(distdir)/$$file \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
else \
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||||
test -f $(distdir)/$$file \
|
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
||||||
fi; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
||||||
|
@ -222,53 +212,40 @@ mostlyclean-depend:
|
||||||
clean-depend:
|
clean-depend:
|
||||||
|
|
||||||
distclean-depend:
|
distclean-depend:
|
||||||
-rm -rf .deps
|
|
||||||
|
|
||||||
maintainer-clean-depend:
|
maintainer-clean-depend:
|
||||||
|
-rm -rf .deps
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@echo '$(COMPILE) -c $<'; \
|
@echo '$(COMPILE) -c $<'; \
|
||||||
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
$(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
|
||||||
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
|
||||||
tr ' ' '\012' < .deps/$(*F).pp \
|
|
||||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
||||||
>> .deps/$(*F).P; \
|
|
||||||
rm .deps/$(*F).pp
|
|
||||||
|
|
||||||
%.lo: %.c
|
%.lo: %.c
|
||||||
@echo '$(LTCOMPILE) -c $<'; \
|
@echo '$(LTCOMPILE) -c $<'; \
|
||||||
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
|
||||||
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
@-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
|
||||||
< .deps/$(*F).pp > .deps/$(*F).P; \
|
< .deps/$(*F).p > .deps/$(*F).P
|
||||||
tr ' ' '\012' < .deps/$(*F).pp \
|
@-rm -f .deps/$(*F).p
|
||||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
info:
|
||||||
>> .deps/$(*F).P; \
|
dvi:
|
||||||
rm -f .deps/$(*F).pp
|
check: all
|
||||||
info-am:
|
$(MAKE)
|
||||||
info: info-am
|
installcheck:
|
||||||
dvi-am:
|
install-exec:
|
||||||
dvi: dvi-am
|
@$(NORMAL_INSTALL)
|
||||||
check-am: all-am
|
|
||||||
check: check-am
|
|
||||||
installcheck-am:
|
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am:
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-pkgdataDATA
|
install-data: install-pkgdataDATA
|
||||||
install-data: install-data-am
|
@$(NORMAL_INSTALL)
|
||||||
|
|
||||||
|
install: install-exec install-data all
|
||||||
|
@:
|
||||||
|
|
||||||
|
uninstall: uninstall-pkgdataDATA
|
||||||
|
|
||||||
install-am: all-am
|
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-pkgdataDATA
|
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(DATA)
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||||||
installdirs:
|
installdirs:
|
||||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
$(mkinstalldirs) $(DATADIR)$(pkgdatadir)
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
@ -278,43 +255,36 @@ clean-generic:
|
||||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(DISTCLEANFILES)
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
mostlyclean-am: mostlyclean-compile mostlyclean-tags mostlyclean-depend \
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||||
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||||
|
mostlyclean: mostlyclean-compile mostlyclean-tags mostlyclean-depend \
|
||||||
mostlyclean-generic
|
mostlyclean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
clean: clean-compile clean-tags clean-depend clean-generic mostlyclean
|
||||||
|
|
||||||
clean-am: clean-compile clean-tags clean-depend clean-generic \
|
distclean: distclean-compile distclean-tags distclean-depend \
|
||||||
mostlyclean-am
|
distclean-generic clean
|
||||||
|
-rm -f config.status
|
||||||
|
|
||||||
clean: clean-am
|
maintainer-clean: maintainer-clean-compile maintainer-clean-tags \
|
||||||
|
|
||||||
distclean-am: distclean-compile distclean-tags distclean-depend \
|
|
||||||
distclean-generic clean-am
|
|
||||||
|
|
||||||
distclean: distclean-am
|
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-compile maintainer-clean-tags \
|
|
||||||
maintainer-clean-depend maintainer-clean-generic \
|
maintainer-clean-depend maintainer-clean-generic \
|
||||||
distclean-am
|
distclean
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
|
||||||
|
|
||||||
.PHONY: mostlyclean-compile distclean-compile clean-compile \
|
.PHONY: mostlyclean-compile distclean-compile clean-compile \
|
||||||
maintainer-clean-compile uninstall-pkgdataDATA install-pkgdataDATA tags \
|
maintainer-clean-compile uninstall-pkgdataDATA install-pkgdataDATA tags \
|
||||||
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
|
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
|
||||||
distdir mostlyclean-depend distclean-depend clean-depend \
|
distdir mostlyclean-depend distclean-depend clean-depend \
|
||||||
maintainer-clean-depend info-am info dvi-am dvi check check-am \
|
maintainer-clean-depend info dvi installcheck install-exec install-data \
|
||||||
installcheck-am installcheck install-exec-am install-exec \
|
install uninstall all installdirs mostlyclean-generic distclean-generic \
|
||||||
install-data-am install-data install-am install uninstall-am uninstall \
|
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
maintainer-clean
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
|
||||||
mostlyclean distclean maintainer-clean
|
|
||||||
|
|
||||||
|
|
||||||
stage2_debug.exec: $(stage2_debug_exec_LDADD)
|
stage2_debug.exec: $(stage2_debug_exec_LDADD)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue