diff options
author | Matt Wilson <msw@redhat.com> | 2002-12-17 03:47:55 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2002-12-17 03:47:55 +0000 |
commit | 5cf18d1e83b4a27e91f5b5ab0293f3d57c4f30e4 (patch) | |
tree | b2a67acc290620af1ccfe4615d1411b0d4da78a6 /loader2/Makefile | |
parent | 8db4f8841ae0c9a01e0dc8088e09242cd086874a (diff) | |
download | anaconda-5cf18d1e83b4a27e91f5b5ab0293f3d57c4f30e4.tar.gz anaconda-5cf18d1e83b4a27e91f5b5ab0293f3d57c4f30e4.tar.xz anaconda-5cf18d1e83b4a27e91f5b5ab0293f3d57c4f30e4.zip |
clean up lang.c, remove duplicate codew
fix the Welcome to Red Hat Linux redraw problem
eradicate kon2 references, pull in bterm files for initrd/loader stuff
use -Os for loader
misc. cleanups
Diffstat (limited to 'loader2/Makefile')
-rw-r--r-- | loader2/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/loader2/Makefile b/loader2/Makefile index 3559e2559..bfdf17e50 100644 --- a/loader2/Makefile +++ b/loader2/Makefile @@ -40,11 +40,10 @@ SOURCES = $(subst .o,.c,$(OBJS)) loader.c HWLIBS = -lkudzu_loader -lpci DEBUG = -ggdb -COPTS = $(DEBUG) -Wall -DVERSION='"$(VERSION)"' +COPTS = $(DEBUG) -Os -Wall -DVERSION='"$(VERSION)"' CFLAGS = $(COPTS) -ffunction-sections -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DHAVE_LIBIO_H -DPRODUCTNAME='$(PRODUCTNAME)' STATIC = -static - ifeq (1, $(USEDIET)) CFLAGS += -DGZLIB=1 DIET=diet @@ -69,7 +68,14 @@ LANGS = $(shell awk '{ print $$2 }' ../lang-table | egrep -v '(^en$$)') TR = $(patsubst %,tr/%.tr,$(LANGS)) TRFILES = $(patsubst %,%.tr,$(LANGS)) -all: $(BINS) loader.tr +all: $(BINS) loader.tr font.bgf.gz + +font.bgf.gz: /usr/lib/bogl/font.bdf.gz /usr/bin/reduce-font + zcat /usr/lib/bogl/font.bdf.gz > font.bdf + (for I in ../po/*.po; do msgconv -t utf-8 $$I; done) | reduce-font > font-reduced.bdf + bdftobogl -b font.bdf > font.bgf + rm -f font.bdf font-reduced.bdf + gzip -9 -f font.bgf loader.tr: $(TR) ../lang-table (cd tr; ls $(TRFILES) | cpio --quiet -Hcrc -o |gzip -9) > $@ @@ -110,7 +116,7 @@ loader: loader.o $(OBJS) $(NETOBJS) clean: rm -f *.o *~ .depend init ctype.c mkctype \ - loader loader-pcmcia loader-local loader-network + loader depend: ctype.c $(CPP) $(CFLAGS) -DHAVE_CONFIG_H -M $(SOURCES) > .depend @@ -123,6 +129,7 @@ install: all done install -m 644 loader.tr $(DESTDIR)/$(RUNTIMEDIR)/loader install -m 644 module-info $(DESTDIR)/$(RUNTIMEDIR)/loader + install -m 644 font.bgf.gz $(DESTDIR)/$(RUNTIMEDIR)/loader ifeq (.depend,$(wildcard .depend)) include .depend |