summaryrefslogtreecommitdiffstats
path: root/stubs/Makefile
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-01-24 18:19:22 +0000
committerChris Lumens <clumens@redhat.com>2006-01-24 18:19:22 +0000
commite9a7f43a63f67c3b9cb1733eae6bfa220a40da5d (patch)
tree159668cf6b82593dd41dfed47d62bb1c85396a62 /stubs/Makefile
parent2c9cc4130c021558ac3165d1b5a922fa1e3e491c (diff)
downloadanaconda-e9a7f43a63f67c3b9cb1733eae6bfa220a40da5d.tar.gz
anaconda-e9a7f43a63f67c3b9cb1733eae6bfa220a40da5d.tar.xz
anaconda-e9a7f43a63f67c3b9cb1733eae6bfa220a40da5d.zip
Sync up libunicode-lite with wcstubs and build it as a static library to
link into the loader (#178386).
Diffstat (limited to 'stubs/Makefile')
-rw-r--r--stubs/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/stubs/Makefile b/stubs/Makefile
index e424e6fac..65307d001 100644
--- a/stubs/Makefile
+++ b/stubs/Makefile
@@ -2,15 +2,19 @@ include ../Makefile.inc
LIBUTF8 = libunicode-lite.so.1
+OBJECTS = unicode-lite.o
+
TARGETS= $(LIBUTF8)
-all: $(TARGETS)
+all: $(TARGETS) libunicode-lite.a
$(LIBUTF8): unicode-lite.c
gcc -fPIC -shared -o $@ $< -lwlite -D_FORTIFY_SOURCE=2
+libunicode-lite.a: libunicode-lite.a($(OBJECTS))
+
clean:
- rm -f *.so.* *.o
+ rm -f *.so.* *.o *.a
install:
mkdir -p $(DESTDIR)/$(RUNTIMEDIR)