From 3c59c7c06925c977720f88e24eb041ccc21de6ba Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Fri, 16 Nov 2001 21:57:20 +0000 Subject: we only have the libisys-diet.a on i386 now... --- utils/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'utils/Makefile') diff --git a/utils/Makefile b/utils/Makefile index e9aac399f..fbd255e84 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -3,7 +3,12 @@ include ../Makefile.inc ARCH := $(patsubst i%86,i386,$(shell uname -m)) ARCH := $(patsubst sparc%,sparc,$(ARCH)) -LOADLIBES = -L../isys -lisys -lpopt +ISYSLIB=isys +ifeq ($(ARCH),i386) +ISYSLIB=isys-diet +endif + +LOADLIBES = -L../isys -l$(ISYSLIB) -lpopt CFLAGS = -Wall -g -I/usr/include/rpm -I.. LDFLAGS = -g -static MODDEPS = moddeps @@ -18,7 +23,7 @@ everything: $(TARGET) all: modlist $(MODDEPS) genhdlist snarffont mapshdr readmap -modlist: modlist.o ../isys/libisys.a +modlist: modlist.o moddeps: moddeps.o $(CC) $(LDFLAGS) -o moddeps moddeps.o ../loader/modules.o \ -- cgit