2002-12-27 08:53:07 +00:00
|
|
|
# -*- makefile -*-
|
|
|
|
#
|
2005-02-27 21:19:06 +00:00
|
|
|
# Copyright (C) 1994,1995,1996,1997,1998,1999,2000,2001,2002,2004,2005 Free Software Foundation, Inc.
|
2002-12-27 08:53:07 +00:00
|
|
|
#
|
|
|
|
# This Makefile.in is free software; the author
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
### The configure script will replace these variables.
|
|
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
|
|
|
|
@SET_MAKE@
|
|
|
|
|
|
|
|
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@
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE_TARNAME@/$(host_cpu)-$(host_vendor)
|
|
|
|
pkglibdir = $(libdir)/@PACKAGE_TARNAME@
|
|
|
|
|
|
|
|
PACKAGE_NAME = @PACKAGE_NAME@
|
|
|
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|
|
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
|
|
|
PACKAGE_STRING = @PACKAGE_STRING@
|
|
|
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|
|
|
|
|
|
|
host_cpu = @host_cpu@
|
|
|
|
host_vendor = @host_vendor@
|
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
|
|
|
|
|
|
mkinstalldirs = $(srcdir)/mkinstalldirs
|
|
|
|
|
|
|
|
CC = @CC@
|
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
CPPFLAGS = -I. -Iinclude -I$(srcdir)/include -Wall -W
|
2002-12-27 08:57:45 +00:00
|
|
|
BUILD_CC = @BUILD_CC@
|
2002-12-27 08:53:07 +00:00
|
|
|
BUILD_CFLAGS = -g -O2
|
|
|
|
BUILD_CPPFLAGS = -I. -Iinclude -I$(srcdir)/include -Wall -W \
|
2004-04-04 13:46:03 +00:00
|
|
|
-DGRUB_DATADIR=\"$(pkgdatadir)\"
|
2002-12-27 08:53:07 +00:00
|
|
|
OBJCOPY = @OBJCOPY@
|
|
|
|
STRIP = @STRIP@
|
|
|
|
NM = @NM@
|
2002-12-27 14:14:06 +00:00
|
|
|
LD = @LD@
|
2002-12-27 08:53:07 +00:00
|
|
|
RUBY = @RUBY@
|
2005-08-07 17:12:52 +00:00
|
|
|
LIBCURSES = @LIBCURSES@
|
2005-08-08 23:15:21 +00:00
|
|
|
LIBLZO = @LIBLZO@
|
2006-01-03 17:58:02 +00:00
|
|
|
YACC = @YACC@
|
2002-12-27 08:53:07 +00:00
|
|
|
|
|
|
|
### General variables.
|
|
|
|
|
2005-11-18 Timothy Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
* genmk.rb: Fixed list rules moved to Makefile.in. Recognise
appending to variables with "+=".
(PModule): Use full pathname to generate *.lst filenames.
* Makefile.in: Fixed list rules moved from genmk.rb.
(.DELETE_ON_ERROR): New special target.
(RMKFILES): Add common.rmk and sparc64-ieee1275.rmk.
* conf/i386-pc.rmk: Include conf/common.mk.
(pkgdata_MODULES): Removed fshelp.mod, fat.mod, ext2.mod, ufs.mod,
minux.mod, hfs.mod, jfs.mod, xfs.mod, affs.mod, sfs.mod,
hello.mod, boot.mod, terminal.mod, ls.mod, cmp.mod, cat.mod,
help.mod, font.mod, terminfo.mod, amiga.mod, apple.mod, pc.mod,
sun.mod, acorn.mod, loopback.mod, default.mod, timeout.mod,
configfile.mod, search.mod, gzio.mod and test.mod.
(symlist.c, grub_script.tab.c, grub_script.tab.h, kernel_syms.lst)
(grub_modules_init.lst, grub_modules_init.h, grub_emu_init.c)
(fshelp_mod_SOURCES, fshelp_mod_CFLAGS, fshelp_mod_LDFLAGS)
(fat_mod_SOURCES, fat_mod_CFLAGS, fat_mod_LDFLAGS)
(ext2_mod_SOURCES, ext2_mod_CFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_SOURCES, ufs_mod_CFLAGS, ufs_mod_LDFLAGS)
(minix_mod_SOURCES, minix_mod_CFLAGS, minix_mod_LDFLAGS)
(hfs_mod_SOURCES, hfs_mod_CFLAGS, hfs_mod_LDFLAGS, jfs_mod_SOURCES)
(jfs_mod_CFLAGS, jfs_mod_LDFLAGS, iso9660_mod_SOURCES)
(iso9660_mod_CFLAGS, iso9660_mod_LDFLAGS, xfs_mod_SOURCES)
(xfs_mod_CFLAGS, xfs_mod_LDFLAGS, affs_mod_SOURCES)
(affs_mod_CFLAGS, affs_mod_LDFLAGS, sfs_mod_SOURCES)
(sfs_mod_CFLAGS, sfs_mod_LDFLAGS, hello_mod_SOURCES)
(hello_mod_CFLAGS, hello_mod_LDFLAGS, boot_mod_SOURCES)
(boot_mod_CFLAGS, boot_mod_LDFLAGS, terminal_mod_SOURCES)
(terminal_mod_CFLAGS, terminal_mod_LDFLAGS, ls_mod_SOURCES)
(ls_mod_CFLAGS, ls_mod_LDFLAGS, cmp_mod_SOURCES, cmp_mod_CFLAGS)
(cmp_mod_LDFLAGS, cat_mod_SOURCES, cat_mod_CFLAGS, cat_mod_LDFLAGS)
(help_mod_SOURCES, help_mod_CFLAGS, help_mod_LDFLAGS)
(font_mod_SOURCES, font_mod_CFLAGS, font_mod_LDFLAGS)
(terminfo_mod_SOURCES, terminfo_mod_CFLAGS, terminfo_mod_LDFLAGS)
(amiga_mod_SOURCES, amiga_mod_CFLAGS, amiga_mod_LDFLAGS)
(apple_mod_SOURCES, apple_mod_CFLAGS, apple_mod_LDFLAG): Move from
here...
* conf/common.rmk: ... to here. New file.
* conf/common.mk: New file.
2005-11-18 14:56:55 +00:00
|
|
|
RMKFILES = $(addprefix conf/,common.rmk i386-pc.rmk powerpc-ieee1275.rmk \
|
2006-04-18 Yoshinori K. Okuji <okuji@enbug.org>
* DISTLIST: Added conf/i386-efi.mk, conf/i386-efi.rmk,
include/grub/efi/api.h, include/grub/efi/console_control.h,
include/grub/efi/efi.h, include/grub/efi/pe32.h,
include/grub/i386/efi/time.h, kern/efi/efi.c,
kern/i386/efi/init.c, kern/i386/efi/startup.S,
and util/i386/efi/grub-mkimage.c.
* Makefile.in (RMKFILES): Added i386-efi.rmk.
* genmk.rb (PModule#rule): Do not export symbols if
#{prefix}_EXPORTS is set to "no".
* conf/i386-efi.mk: New file.
* conf/i386-efi.rmk: Likewise.
* include/grub/efi/api.h: Likewise.
* include/grub/efi/console_control.h: Likewise.
* include/grub/efi/efi.h: Likewise.
* include/grub/efi/pe32.h: Likewise.
* include/grub/i386/efi/time.h: Likewise.
* kern/efi/efi.c: Likewise.
* kern/i386/efi/init.c: Likewise.
* kern/i386/efi/startup.S: Likewise.
* util/i386/efi/grub-mkimage.c: Likewise.
2006-04-18 06:18:15 +00:00
|
|
|
sparc64-ieee1275.rmk i386-efi.rmk)
|
2002-12-27 08:53:07 +00:00
|
|
|
MKFILES = $(patsubst %.rmk,%.mk,$(RMKFILES))
|
|
|
|
|
2005-03-02 21:52:38 +00:00
|
|
|
DATA = $(pkgdata_IMAGES) $(pkgdata_MODULES) $(pkgdata_PROGRAMS) \
|
|
|
|
$(pkgdata_DATA)
|
2002-12-27 08:53:07 +00:00
|
|
|
PROGRAMS = $(bin_UTILITIES) $(sbin_UTILITIES)
|
2005-07-24 18:16:26 +00:00
|
|
|
SCRIPTS = $(sbin_SCRIPTS)
|
2002-12-27 08:53:07 +00:00
|
|
|
|
|
|
|
CLEANFILES =
|
|
|
|
MOSTLYCLEANFILES =
|
|
|
|
DISTCLEANFILES = config.status config.cache config.log config.h \
|
2004-04-04 13:46:03 +00:00
|
|
|
Makefile stamp-h include/grub/cpu include/grub/machine
|
2002-12-27 08:53:07 +00:00
|
|
|
MAINTAINER_CLEANFILES = $(srcdir)/configure $(addprefix $(srcdir)/,$(MKFILES))
|
|
|
|
|
|
|
|
# The default target.
|
|
|
|
all: all-local
|
|
|
|
|
|
|
|
### Include an arch-specific Makefile.
|
|
|
|
$(addprefix $(srcdir)/,$(MKFILES)): %.mk: %.rmk genmk.rb
|
|
|
|
if test "x$(RUBY)" = x; then \
|
|
|
|
touch $@; \
|
|
|
|
else \
|
|
|
|
$(RUBY) $(srcdir)/genmk.rb < $< > $@; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
include $(srcdir)/conf/$(host_cpu)-$(host_vendor).mk
|
|
|
|
|
|
|
|
### General targets.
|
|
|
|
|
2005-11-18 Timothy Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
* genmk.rb: Fixed list rules moved to Makefile.in. Recognise
appending to variables with "+=".
(PModule): Use full pathname to generate *.lst filenames.
* Makefile.in: Fixed list rules moved from genmk.rb.
(.DELETE_ON_ERROR): New special target.
(RMKFILES): Add common.rmk and sparc64-ieee1275.rmk.
* conf/i386-pc.rmk: Include conf/common.mk.
(pkgdata_MODULES): Removed fshelp.mod, fat.mod, ext2.mod, ufs.mod,
minux.mod, hfs.mod, jfs.mod, xfs.mod, affs.mod, sfs.mod,
hello.mod, boot.mod, terminal.mod, ls.mod, cmp.mod, cat.mod,
help.mod, font.mod, terminfo.mod, amiga.mod, apple.mod, pc.mod,
sun.mod, acorn.mod, loopback.mod, default.mod, timeout.mod,
configfile.mod, search.mod, gzio.mod and test.mod.
(symlist.c, grub_script.tab.c, grub_script.tab.h, kernel_syms.lst)
(grub_modules_init.lst, grub_modules_init.h, grub_emu_init.c)
(fshelp_mod_SOURCES, fshelp_mod_CFLAGS, fshelp_mod_LDFLAGS)
(fat_mod_SOURCES, fat_mod_CFLAGS, fat_mod_LDFLAGS)
(ext2_mod_SOURCES, ext2_mod_CFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_SOURCES, ufs_mod_CFLAGS, ufs_mod_LDFLAGS)
(minix_mod_SOURCES, minix_mod_CFLAGS, minix_mod_LDFLAGS)
(hfs_mod_SOURCES, hfs_mod_CFLAGS, hfs_mod_LDFLAGS, jfs_mod_SOURCES)
(jfs_mod_CFLAGS, jfs_mod_LDFLAGS, iso9660_mod_SOURCES)
(iso9660_mod_CFLAGS, iso9660_mod_LDFLAGS, xfs_mod_SOURCES)
(xfs_mod_CFLAGS, xfs_mod_LDFLAGS, affs_mod_SOURCES)
(affs_mod_CFLAGS, affs_mod_LDFLAGS, sfs_mod_SOURCES)
(sfs_mod_CFLAGS, sfs_mod_LDFLAGS, hello_mod_SOURCES)
(hello_mod_CFLAGS, hello_mod_LDFLAGS, boot_mod_SOURCES)
(boot_mod_CFLAGS, boot_mod_LDFLAGS, terminal_mod_SOURCES)
(terminal_mod_CFLAGS, terminal_mod_LDFLAGS, ls_mod_SOURCES)
(ls_mod_CFLAGS, ls_mod_LDFLAGS, cmp_mod_SOURCES, cmp_mod_CFLAGS)
(cmp_mod_LDFLAGS, cat_mod_SOURCES, cat_mod_CFLAGS, cat_mod_LDFLAGS)
(help_mod_SOURCES, help_mod_CFLAGS, help_mod_LDFLAGS)
(font_mod_SOURCES, font_mod_CFLAGS, font_mod_LDFLAGS)
(terminfo_mod_SOURCES, terminfo_mod_CFLAGS, terminfo_mod_LDFLAGS)
(amiga_mod_SOURCES, amiga_mod_CFLAGS, amiga_mod_LDFLAGS)
(apple_mod_SOURCES, apple_mod_CFLAGS, apple_mod_LDFLAG): Move from
here...
* conf/common.rmk: ... to here. New file.
* conf/common.mk: New file.
2005-11-18 14:56:55 +00:00
|
|
|
CLEANFILES += moddep.lst command.lst fs.lst
|
|
|
|
pkgdata_DATA += moddep.lst command.lst fs.lst
|
|
|
|
moddep.lst: $(DEFSYMFILES) $(UNDSYMFILES) genmoddep
|
|
|
|
cat $(DEFSYMFILES) /dev/null | ./genmoddep $(UNDSYMFILES) > $@ \
|
|
|
|
|| (rm -f $@; exit 1)
|
|
|
|
|
|
|
|
command.lst: $(COMMANDFILES)
|
|
|
|
cat $^ /dev/null | sort > $@
|
|
|
|
|
|
|
|
fs.lst: $(FSFILES)
|
|
|
|
cat $^ /dev/null | sort > $@
|
|
|
|
|
2005-02-27 21:19:06 +00:00
|
|
|
all-local: $(PROGRAMS) $(DATA) $(SCRIPTS) $(MKFILES)
|
2002-12-27 08:53:07 +00:00
|
|
|
|
|
|
|
install: install-local
|
|
|
|
|
|
|
|
install-local: all
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
2005-11-03 05:05:05 +00:00
|
|
|
@list='$(DATA)'; \
|
2005-03-02 21:52:38 +00:00
|
|
|
for file in $$list; do \
|
2002-12-27 08:53:07 +00:00
|
|
|
if test -f "$$file"; then dir=; else dir="$(srcdir)"; fi; \
|
|
|
|
dest="`echo $$file | sed 's,.*/,,'`"; \
|
|
|
|
$(INSTALL_DATA) $$dir$$file $(DESTDIR)$(pkgdatadir)/$$dest; \
|
|
|
|
done
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
|
|
@list='$(bin_UTILITIES)'; for file in $$list; do \
|
|
|
|
if test -f "$$file"; then dir=; else dir="$(srcdir)"; fi; \
|
|
|
|
dest="`echo $$file | sed 's,.*/,,'`"; \
|
|
|
|
$(INSTALL_PROGRAM) $$dir$$file $(DESTDIR)$(bindir)/$$dest; \
|
|
|
|
done
|
2003-01-02 20:12:33 +00:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(sbindir)
|
|
|
|
@list='$(sbin_UTILITIES)'; for file in $$list; do \
|
|
|
|
if test -f "$$file"; then dir=; else dir="$(srcdir)"; fi; \
|
|
|
|
dest="`echo $$file | sed 's,.*/,,'`"; \
|
|
|
|
$(INSTALL_PROGRAM) $$dir$$file $(DESTDIR)$(sbindir)/$$dest; \
|
|
|
|
done
|
2005-07-24 18:16:26 +00:00
|
|
|
@list='$(sbin_SCRIPTS)'; for file in $$list; do \
|
|
|
|
if test -f "$$file"; then dir=; else dir="$(srcdir)"; fi; \
|
|
|
|
dest="`echo $$file | sed 's,.*/,,'`"; \
|
|
|
|
$(INSTALL_SCRIPT) $$dir$$file $(DESTDIR)$(sbindir)/$$dest; \
|
|
|
|
done
|
2002-12-27 08:53:07 +00:00
|
|
|
|
|
|
|
install-strip:
|
|
|
|
$(MAKE) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" install
|
|
|
|
|
|
|
|
uninstall:
|
2005-11-03 05:05:05 +00:00
|
|
|
@list='$(DATA)'; \
|
2005-03-19 17:49:19 +00:00
|
|
|
for file in $$list; do \
|
2002-12-27 08:53:07 +00:00
|
|
|
dest="`echo $$file | sed 's,.*/,,'`"; \
|
|
|
|
rm -f $(DESTDIR)$(pkgdatadir)/$$dest; \
|
|
|
|
done
|
2003-01-02 20:12:33 +00:00
|
|
|
@list='$(bin_UTILITIES)'; for file in $$list; do \
|
2002-12-27 08:53:07 +00:00
|
|
|
dest="`echo $$file | sed 's,.*/,,'`"; \
|
|
|
|
rm -f $(DESTDIR)$(bindir)/$$dest; \
|
|
|
|
done
|
2005-07-24 18:16:26 +00:00
|
|
|
@list='$(sbin_UTILITIES) $(sbin_SCRIPTS)'; for file in $$list; do \
|
2003-01-02 20:12:33 +00:00
|
|
|
dest="`echo $$file | sed 's,.*/,,'`"; \
|
|
|
|
rm -f $(DESTDIR)$(sbindir)/$$dest; \
|
|
|
|
done
|
2002-12-27 08:53:07 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
|
|
|
|
mostlyclean: clean
|
|
|
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
|
|
|
|
|
|
|
distclean: mostlyclean
|
|
|
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
|
|
-rm -rf $(srcdir)/autom4te.cache
|
|
|
|
|
|
|
|
maintainer-clean: distclean
|
|
|
|
-test -z "$(MAINTAINER_CLEANFILES)" || rm -f $(MAINTAINER_CLEANFILES)
|
|
|
|
|
|
|
|
info:
|
|
|
|
|
|
|
|
dvi:
|
|
|
|
|
|
|
|
distdir=$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
|
|
|
|
|
2005-03-19 17:49:19 +00:00
|
|
|
DISTLIST: gendistlist.sh
|
|
|
|
sh $(srcdir)/gendistlist.sh > $(srcdir)/DISTLIST
|
|
|
|
|
|
|
|
distdir: DISTLIST
|
2002-12-27 08:53:07 +00:00
|
|
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
|
|
|
$(mkinstalldirs) $(distdir)
|
2005-03-19 17:49:19 +00:00
|
|
|
for i in `cat $(srcdir)/DISTLIST`; do \
|
2002-12-27 08:53:07 +00:00
|
|
|
dir=`echo "$$i" | sed 's:/[^/]*$$::'`; \
|
|
|
|
if test -d $(srcdir)/$$dir; then \
|
|
|
|
$(mkinstalldirs) $(distdir)/$$dir; \
|
|
|
|
fi; \
|
|
|
|
cp -p $(srcdir)/$$i $(distdir)/$$i || exit 1; \
|
|
|
|
done
|
|
|
|
chmod -R a+r $(distdir)
|
|
|
|
|
|
|
|
GZIP_ENV = --best
|
|
|
|
|
|
|
|
dist: distdir
|
|
|
|
tar chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
|
|
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
|
|
|
|
|
|
|
distcheck: dist
|
|
|
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
|
|
|
GZIP=$(GZIP_ENV) gzip -cd $(distdir).tar.gz | tar xf -
|
|
|
|
chmod -R a-w $(distdir)
|
|
|
|
chmod a+w $(distdir)
|
|
|
|
mkdir $(distdir)/=build
|
|
|
|
mkdir $(distdir)/=inst
|
|
|
|
chmod a-w $(distdir)
|
|
|
|
dc_instdir=`CDPATH=: && cd $(distdir)/=inst && pwd` \
|
|
|
|
&& cd $(distdir)/=build \
|
|
|
|
&& ../configure --srcdir=.. --prefix=$$dc_instdir \
|
|
|
|
&& $(MAKE) all dvi check install uninstall \
|
|
|
|
&& (test `find $$dc_instdir -type f -print | wc -l` -le 1 \
|
|
|
|
|| (echo "Error: files left after uninstall" 1>&2; \
|
|
|
|
exit 1)) \
|
|
|
|
&& $(MAKE) dist distclean \
|
|
|
|
&& rm -f $(distdir).tar.gz \
|
|
|
|
&& (test `find . -type f -print | wc -l` -eq 0 \
|
|
|
|
|| (echo "Error: files left after distclean" 1>&2; \
|
|
|
|
exit 1))
|
|
|
|
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
|
|
|
@echo "$(distdir).tar.gz is ready for distribution" | \
|
|
|
|
sed 'h;s/./=/g;p;x;p;x'
|
|
|
|
|
|
|
|
check:
|
|
|
|
|
|
|
|
.SUFFIX:
|
|
|
|
.SUFFIX: .c .o .S .d
|
|
|
|
|
|
|
|
# Regenerate configure and Makefile automatically.
|
|
|
|
$(srcdir)/configure: configure.ac aclocal.m4
|
|
|
|
cd $(srcdir) && autoconf
|
|
|
|
|
|
|
|
$(srcdir)/config.h.in: stamp-h.in
|
|
|
|
$(srcdir)/stamp-h.in: configure.ac aclocal.m4
|
|
|
|
cd $(srcdir) && autoheader
|
|
|
|
echo timestamp > $(srcdir)/stamp-h.in
|
|
|
|
|
|
|
|
config.h: stamp-h
|
|
|
|
stamp-h: config.h.in config.status
|
|
|
|
./config.status
|
|
|
|
|
|
|
|
Makefile: Makefile.in config.status
|
|
|
|
./config.status
|
|
|
|
|
|
|
|
config.status: configure
|
|
|
|
./config.status --recheck
|
|
|
|
|
|
|
|
.PHONY: all install install-strip uninstall clean mostlyclean distclean
|
|
|
|
.PHONY: maintainer-clean info dvi dist check
|
|
|
|
|
|
|
|
# Prevent an overflow.
|
|
|
|
.NOEXPORT:
|
2005-11-18 Timothy Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
* genmk.rb: Fixed list rules moved to Makefile.in. Recognise
appending to variables with "+=".
(PModule): Use full pathname to generate *.lst filenames.
* Makefile.in: Fixed list rules moved from genmk.rb.
(.DELETE_ON_ERROR): New special target.
(RMKFILES): Add common.rmk and sparc64-ieee1275.rmk.
* conf/i386-pc.rmk: Include conf/common.mk.
(pkgdata_MODULES): Removed fshelp.mod, fat.mod, ext2.mod, ufs.mod,
minux.mod, hfs.mod, jfs.mod, xfs.mod, affs.mod, sfs.mod,
hello.mod, boot.mod, terminal.mod, ls.mod, cmp.mod, cat.mod,
help.mod, font.mod, terminfo.mod, amiga.mod, apple.mod, pc.mod,
sun.mod, acorn.mod, loopback.mod, default.mod, timeout.mod,
configfile.mod, search.mod, gzio.mod and test.mod.
(symlist.c, grub_script.tab.c, grub_script.tab.h, kernel_syms.lst)
(grub_modules_init.lst, grub_modules_init.h, grub_emu_init.c)
(fshelp_mod_SOURCES, fshelp_mod_CFLAGS, fshelp_mod_LDFLAGS)
(fat_mod_SOURCES, fat_mod_CFLAGS, fat_mod_LDFLAGS)
(ext2_mod_SOURCES, ext2_mod_CFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_SOURCES, ufs_mod_CFLAGS, ufs_mod_LDFLAGS)
(minix_mod_SOURCES, minix_mod_CFLAGS, minix_mod_LDFLAGS)
(hfs_mod_SOURCES, hfs_mod_CFLAGS, hfs_mod_LDFLAGS, jfs_mod_SOURCES)
(jfs_mod_CFLAGS, jfs_mod_LDFLAGS, iso9660_mod_SOURCES)
(iso9660_mod_CFLAGS, iso9660_mod_LDFLAGS, xfs_mod_SOURCES)
(xfs_mod_CFLAGS, xfs_mod_LDFLAGS, affs_mod_SOURCES)
(affs_mod_CFLAGS, affs_mod_LDFLAGS, sfs_mod_SOURCES)
(sfs_mod_CFLAGS, sfs_mod_LDFLAGS, hello_mod_SOURCES)
(hello_mod_CFLAGS, hello_mod_LDFLAGS, boot_mod_SOURCES)
(boot_mod_CFLAGS, boot_mod_LDFLAGS, terminal_mod_SOURCES)
(terminal_mod_CFLAGS, terminal_mod_LDFLAGS, ls_mod_SOURCES)
(ls_mod_CFLAGS, ls_mod_LDFLAGS, cmp_mod_SOURCES, cmp_mod_CFLAGS)
(cmp_mod_LDFLAGS, cat_mod_SOURCES, cat_mod_CFLAGS, cat_mod_LDFLAGS)
(help_mod_SOURCES, help_mod_CFLAGS, help_mod_LDFLAGS)
(font_mod_SOURCES, font_mod_CFLAGS, font_mod_LDFLAGS)
(terminfo_mod_SOURCES, terminfo_mod_CFLAGS, terminfo_mod_LDFLAGS)
(amiga_mod_SOURCES, amiga_mod_CFLAGS, amiga_mod_LDFLAGS)
(apple_mod_SOURCES, apple_mod_CFLAGS, apple_mod_LDFLAG): Move from
here...
* conf/common.rmk: ... to here. New file.
* conf/common.mk: New file.
2005-11-18 14:56:55 +00:00
|
|
|
|
|
|
|
.DELETE_ON_ERROR:
|