Last change
on this file since 98092 was 96429, checked in by vboxsync, 2 years ago |
src/libs: Switch to liblzf-3.6, bugref:8515
|
-
Property svn:eol-style
set to
native
|
File size:
1.3 KB
|
Line | |
---|
1 | VERSION = 3.6
|
---|
2 |
|
---|
3 | prefix = @prefix@
|
---|
4 | exec_prefix = @exec_prefix@
|
---|
5 | libdir = @libdir@
|
---|
6 | bindir = @bindir@
|
---|
7 | includedir = @includedir@
|
---|
8 |
|
---|
9 | VPATH = @srcdir@
|
---|
10 |
|
---|
11 | CC = @CC@
|
---|
12 | CPPFLAGS = -I. @CPPFLAGS@
|
---|
13 | CFLAGS = @CFLAGS@
|
---|
14 | LDFLAGS = @LDFLAGS@
|
---|
15 | RANLIB = @RANLIB@
|
---|
16 | INSTALL = @INSTALL@
|
---|
17 | INSTALL_DATA = @INSTALL_DATA@
|
---|
18 |
|
---|
19 | all: Makefile lzf
|
---|
20 |
|
---|
21 | clean:
|
---|
22 | -rm -f *.o *.a lzf bench
|
---|
23 |
|
---|
24 | lzf_c.o: lzf_c.c lzfP.h
|
---|
25 |
|
---|
26 | lzf_d.o: lzf_d.c lzfP.h
|
---|
27 |
|
---|
28 | lzf.o: lzf.c
|
---|
29 |
|
---|
30 | lzf: lzf.o liblzf.a
|
---|
31 |
|
---|
32 | lzfP.h: lzf.h config.h
|
---|
33 |
|
---|
34 | liblzf.a: lzf_c.o lzf_d.o
|
---|
35 | rm -f $@
|
---|
36 | $(AR) rc $@ $^
|
---|
37 | $(RANLIB) $@
|
---|
38 |
|
---|
39 | install: all
|
---|
40 | $(INSTALL) -d $(bindir)
|
---|
41 | $(INSTALL) -m 755 lzf $(bindir)
|
---|
42 | $(INSTALL) -d $(includedir)
|
---|
43 | $(INSTALL_DATA) lzf.h $(includedir)
|
---|
44 | $(INSTALL) -d $(libdir)
|
---|
45 | $(INSTALL_DATA) liblzf.a $(libdir)
|
---|
46 |
|
---|
47 | dist:
|
---|
48 | mkdir liblzf-$(VERSION)
|
---|
49 | tar c LICENSE README Makefile.in config.h.in \
|
---|
50 | configure configure.ac install-sh \
|
---|
51 | cs/README cs/CLZF.cs \
|
---|
52 | lzf.h lzfP.h lzf_c.c lzf_d.c \
|
---|
53 | crc32.h lzf.c Changes \
|
---|
54 | | tar xpC liblzf-$(VERSION)
|
---|
55 | -chown -R root.root liblzf-$(VERSION)
|
---|
56 | chmod -R u=rwX,go=rX liblzf-$(VERSION)
|
---|
57 | tar cvf - liblzf-$(VERSION) | gzip -9 >liblzf-$(VERSION).tar.gz
|
---|
58 | rm -rf liblzf-$(VERSION)
|
---|
59 | ls -l liblzf-$(VERSION).tar.gz
|
---|
60 |
|
---|
61 | Makefile: Makefile.in
|
---|
62 | ./config.status
|
---|
63 |
|
---|
64 | bench: Makefile liblzf.a bench.c
|
---|
65 | $(CC) $(CPPFLAGS) $(CFLAGS) -g -o bench bench.c -L. -llzf
|
---|
66 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.