diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-12-18 04:09:40 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-12-18 04:09:40 +0000 |
commit | ae4519c48556e939d0867dcef7751a06e15dd513 (patch) | |
tree | ed2bedd87117eef0d48e3b370336f00ea639a09a /stubs | |
parent | 103e341e7a8b0cfcea75370ec5e761ef3f97af92 (diff) | |
download | anaconda-ae4519c48556e939d0867dcef7751a06e15dd513.tar.gz anaconda-ae4519c48556e939d0867dcef7751a06e15dd513.tar.xz anaconda-ae4519c48556e939d0867dcef7751a06e15dd513.zip |
always enter stubs dir. but don't build libbz2 stub on ia64 still
Diffstat (limited to 'stubs')
-rw-r--r-- | stubs/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/stubs/Makefile b/stubs/Makefile index 3aac5f14e..59a69da25 100644 --- a/stubs/Makefile +++ b/stubs/Makefile @@ -3,7 +3,13 @@ include ../Makefile.inc LIBBZ = libbz2.so.1 LIBUTF8 = libunicode-lite.so.1 -all: $(LIBBZ) $(LIBUTF8) +TARGETS= $(LIBUTF8) + +ifneq (ia64, $(ARCH)) +TARGETS += $(LIBBZ) +endif + +all: $(TARGETS) $(LIBBZ): bzip.c gcc -fPIC -shared -o $@ $< @@ -15,7 +21,7 @@ clean: rm -f *.so.* *.o install: - install $(LIBBZ) $(DESTDIR)/$(RUNTIMEDIR) - install $(LIBUTF8) $(DESTDIR)/$(RUNTIMEDIR) + mkdir -p $(DESTDIR)/$(RUNTIMEDIR) + for lib in $(TARGETS) ; do install $$lib $(DESTDIR)/$(RUNTIMEDIR) ; done depend: |