blob: 59a69da25559a720dbec385015a8b29872589256 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
include ../Makefile.inc
LIBBZ = libbz2.so.1
LIBUTF8 = libunicode-lite.so.1
TARGETS= $(LIBUTF8)
ifneq (ia64, $(ARCH))
TARGETS += $(LIBBZ)
endif
all: $(TARGETS)
$(LIBBZ): bzip.c
gcc -fPIC -shared -o $@ $<
$(LIBUTF8): unicode-lite.c
gcc -fPIC -shared -o $@ $< -lwlite
clean:
rm -f *.so.* *.o
install:
mkdir -p $(DESTDIR)/$(RUNTIMEDIR)
for lib in $(TARGETS) ; do install $$lib $(DESTDIR)/$(RUNTIMEDIR) ; done
depend:
|