blob: 138c7183a8d2083fc2b06f26a4c2588c3245c345 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
include ../Makefile.inc
LIBUTF8 = libunicode-lite.so.1
OBJECTS = unicode-lite.o
TARGETS= $(LIBUTF8)
all: $(TARGETS) libunicode-lite.a
$(LIBUTF8): unicode-lite.c
gcc -fPIC -shared -o $@ $< -D_FORTIFY_SOURCE=2
libunicode-lite.a: libunicode-lite.a($(OBJECTS))
clean:
rm -f *.so.* *.o *.a
install:
mkdir -p $(DESTDIR)/$(RUNTIMEDIR)
for lib in $(TARGETS) ; do install $$lib $(DESTDIR)/$(RUNTIMEDIR) ; done
depend:
|