| # Makefile.in generated automatically by automake 1.3 from Makefile.am |
| |
| # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. |
| # This Makefile.in is free software; the Free Software Foundation |
| # gives unlimited permission to copy and/or distribute it, |
| # with or without modifications, as long as this notice is preserved. |
| |
| # This program is distributed in the hope that it will be useful, |
| # but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
| # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| # PARTICULAR PURPOSE. |
| |
| # 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@ |
| top_srcdir = @top_srcdir@ |
| VPATH = @srcdir@ |
| prefix = @prefix@ |
| exec_prefix = @exec_prefix@ |
| |
| bindir = @bindir@ |
| sbindir = @sbindir@ |
| libexecdir = @libexecdir@ |
| datadir = @datadir@ |
| sysconfdir = @sysconfdir@ |
| sharedstatedir = @sharedstatedir@ |
| localstatedir = @localstatedir@ |
| libdir = @libdir@ |
| infodir = @infodir@ |
| mandir = @mandir@ |
| includedir = @includedir@ |
| oldincludedir = /usr/include |
| |
| DISTDIR = |
| pkglibdir = $(libdir)/@PACKAGE@ |
| pkgincludedir = $(includedir)/@PACKAGE@ |
| |
| top_builddir = .. |
| |
| ACLOCAL = @ACLOCAL@ |
| AUTOCONF = @AUTOCONF@ |
| AUTOMAKE = @AUTOMAKE@ |
| AUTOHEADER = @AUTOHEADER@ |
| |
| INSTALL = @INSTALL@ |
| INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| INSTALL_DATA = @INSTALL_DATA@ |
| INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
| transform = @program_transform_name@ |
| |
| NORMAL_INSTALL = : |
| PRE_INSTALL = : |
| POST_INSTALL = : |
| NORMAL_UNINSTALL = : |
| PRE_UNINSTALL = : |
| POST_UNINSTALL = : |
| host_alias = @host_alias@ |
| host_triplet = @host@ |
| CC = @CC@ |
| LD = @LD@ |
| MAKEINFO = @MAKEINFO@ |
| OBJCOPY = @OBJCOPY@ |
| PACKAGE = @PACKAGE@ |
| VERSION = @VERSION@ |
| host_cpu = @host_cpu@ |
| host_vendor = @host_vendor@ |
| sbingrub = @sbingrub@ |
| stage2debug = @stage2debug@ |
| |
| IMPORTANT_SIZE_LIMIT = 81920 |
| |
| pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor) |
| pkgdata_DATA = ffs_stage1_5 |
| CLEANFILES = $(pkgdata_DATA) $(pkgdata_DATA)T |
| noinst_PROGRAMS = ffs_stage1_5.exec |
| |
| # We can't use builtins or standard includes. |
| COMPILE = $(CC) -fno-builtin -nostdinc -DFSYS_FFS=1 -DNO_DECOMPRESSION=1 \ |
| -DSTAGE1_5=1 -DNO_BLOCK_FILES=1 \ |
| -DCONFIG_FILE_ASM='.string "/boot/grub/stage2"' \ |
| $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) |
| INCLUDES = -I$(top_srcdir)/shared_src |
| |
| # asm.o absolutely needs to come first! |
| ffs_stage1_5_exec_LDADD = asm.o common.o char_io.o disk_io.o \ |
| stage1_5.o fsys_ffs.o |
| |
| # FIXME: Automake hackery. |
| DEP_FILES = .deps/dummy.c $(wildcard .deps/*.P) |
| ffs_stage1_5_exec_SOURCES = dummy.c # needed to drag in C Makefile variables |
| DISTFILES = $(DIST_COMMON) |
| mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
| CONFIG_CLEAN_FILES = |
| PROGRAMS = $(noinst_PROGRAMS) |
| |
| |
| DEFS = @DEFS@ -I. -I$(srcdir) |
| CPPFLAGS = @CPPFLAGS@ |
| LDFLAGS = @LDFLAGS@ |
| LIBS = @LIBS@ |
| ffs_stage1_5_exec_OBJECTS = dummy.o |
| ffs_stage1_5_exec_DEPENDENCIES = asm.o common.o char_io.o disk_io.o \ |
| stage1_5.o fsys_ffs.o |
| ffs_stage1_5_exec_LDFLAGS = |
| CFLAGS = @CFLAGS@ |
| LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ |
| DATA = $(pkgdata_DATA) |
| |
| DIST_COMMON = Makefile.am Makefile.in |
| |
| |
| TAR = tar |
| GZIP = --best |
| SOURCES = $(ffs_stage1_5_exec_SOURCES) |
| OBJECTS = $(ffs_stage1_5_exec_OBJECTS) |
| |
| all: Makefile $(PROGRAMS) $(DATA) |
| |
| .SUFFIXES: |
| .SUFFIXES: .S .c .o .s |
| $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
| cd $(top_srcdir) && $(AUTOMAKE) --gnu ffs_stage1_5/Makefile |
| |
| Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) |
| cd $(top_builddir) \ |
| && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
| |
| |
| mostlyclean-noinstPROGRAMS: |
| |
| clean-noinstPROGRAMS: |
| -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) |
| |
| distclean-noinstPROGRAMS: |
| |
| maintainer-clean-noinstPROGRAMS: |
| |
| .s.o: |
| $(COMPILE) -c $< |
| |
| .S.o: |
| $(COMPILE) -c $< |
| |
| mostlyclean-compile: |
| -rm -f *.o core *.core |
| |
| clean-compile: |
| |
| distclean-compile: |
| -rm -f *.tab.c |
| |
| maintainer-clean-compile: |
| |
| install-pkgdataDATA: $(pkgdata_DATA) |
| @$(NORMAL_INSTALL) |
| $(mkinstalldirs) $(DESTDIR)$(pkgdatadir) |
| @list='$(pkgdata_DATA)'; for p in $$list; do \ |
| if test -f $(srcdir)/$$p; then \ |
| echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \ |
| $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \ |
| else if test -f $$p; then \ |
| echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \ |
| $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \ |
| fi; fi; \ |
| done |
| |
| uninstall-pkgdataDATA: |
| @$(NORMAL_UNINSTALL) |
| list='$(pkgdata_DATA)'; for p in $$list; do \ |
| rm -f $(DESTDIR)$(pkgdatadir)/$$p; \ |
| done |
| |
| tags: TAGS |
| |
| ID: $(HEADERS) $(SOURCES) $(LISP) |
| here=`pwd` && cd $(srcdir) \ |
| && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP) |
| |
| TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) |
| tags=; \ |
| here=`pwd`; \ |
| list='$(SOURCES) $(HEADERS)'; \ |
| unique=`for i in $$list; do echo $$i; done | \ |
| awk ' { files[$$0] = 1; } \ |
| END { for (i in files) print i; }'`; \ |
| test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ |
| || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) |
| |
| mostlyclean-tags: |
| |
| clean-tags: |
| |
| distclean-tags: |
| -rm -f TAGS ID |
| |
| maintainer-clean-tags: |
| |
| distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) |
| |
| subdir = ffs_stage1_5 |
| |
| distdir: $(DISTFILES) |
| here=`cd $(top_builddir) && pwd`; \ |
| top_distdir=`cd $(top_distdir) && pwd`; \ |
| distdir=`cd $(distdir) && pwd`; \ |
| cd $(top_srcdir) \ |
| && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ffs_stage1_5/Makefile |
| @for file in $(DISTFILES); do \ |
| d=$(srcdir); \ |
| test -f $(distdir)/$$file \ |
| || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
| || cp -p $$d/$$file $(distdir)/$$file; \ |
| done |
| |
| DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) |
| |
| -include $(DEP_FILES) |
| |
| mostlyclean-depend: |
| |
| clean-depend: |
| |
| distclean-depend: |
| |
| maintainer-clean-depend: |
| -rm -rf .deps |
| |
| %.o: %.c |
| @echo '$(COMPILE) -c $<'; \ |
| $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $< |
| |
| %.lo: %.c |
| @echo '$(LTCOMPILE) -c $<'; \ |
| $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $< |
| @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \ |
| < .deps/$(*F).p > .deps/$(*F).P |
| @-rm -f .deps/$(*F).p |
| info: |
| dvi: |
| check: all |
| $(MAKE) |
| installcheck: |
| install-exec: |
| @$(NORMAL_INSTALL) |
| |
| install-data: install-pkgdataDATA |
| @$(NORMAL_INSTALL) |
| |
| install: install-exec install-data all |
| @: |
| |
| uninstall: uninstall-pkgdataDATA |
| |
| install-strip: |
| $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install |
| installdirs: |
| $(mkinstalldirs) $(DATADIR)$(pkgdatadir) |
| |
| |
| mostlyclean-generic: |
| -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) |
| |
| clean-generic: |
| -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
| |
| distclean-generic: |
| -rm -f Makefile $(DISTCLEANFILES) |
| -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: |
| -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 |
| |
| clean: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ |
| clean-generic mostlyclean |
| |
| distclean: distclean-noinstPROGRAMS distclean-compile distclean-tags \ |
| distclean-depend distclean-generic clean |
| -rm -f config.status |
| |
| maintainer-clean: maintainer-clean-noinstPROGRAMS \ |
| maintainer-clean-compile maintainer-clean-tags \ |
| maintainer-clean-depend maintainer-clean-generic \ |
| distclean |
| @echo "This command is intended for maintainers to use;" |
| @echo "it deletes files that may require special tools to rebuild." |
| |
| .PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ |
| clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ |
| mostlyclean-compile distclean-compile clean-compile \ |
| maintainer-clean-compile uninstall-pkgdataDATA install-pkgdataDATA tags \ |
| mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \ |
| distdir mostlyclean-depend distclean-depend clean-depend \ |
| maintainer-clean-depend info dvi installcheck install-exec install-data \ |
| install uninstall all installdirs mostlyclean-generic distclean-generic \ |
| clean-generic maintainer-clean-generic clean mostlyclean distclean \ |
| maintainer-clean |
| |
| |
| ffs_stage1_5.exec: $(ffs_stage1_5_exec_LDADD) |
| $(LD) -N -Ttext 2000 -o $@ $(ffs_stage1_5_exec_LDADD) |
| |
| ffs_stage1_5: ffs_stage1_5.exec |
| rm -f $@T $@ |
| $(OBJCOPY) -O binary ffs_stage1_5.exec $@T |
| @set dummy `ls -l $@T`; size=$$6; \ |
| if test $$size -le $(IMPORTANT_SIZE_LIMIT); then \ |
| :; \ |
| else \ |
| echo "WARNING: stage 1.5 is too big for boot block area ($$size > $(IMPORTANT_SIZE_LIMIT))."; \ |
| fi |
| mv -f $@T $@ |
| |
| @SHARED_SRC_RULES@ |
| |
| # Tell versions [3.59,3.63) of GNU make to not export all variables. |
| # Otherwise a system limit (for SysV at least) may be exceeded. |
| .NOEXPORT: |