VirtualBox

source: vbox/trunk/src/libs/liblzf-3.4/Makefile.in@ 34079

Last change on this file since 34079 was 17027, checked in by vboxsync, 16 years ago

liblzf-3.4: exporting (in progress).

File size: 1.3 KB
Line 
1VERSION = 3.0
2
3prefix = @prefix@
4exec_prefix = @exec_prefix@
5libdir = @libdir@
6bindir = @bindir@
7includedir = @includedir@
8
9VPATH = @srcdir@
10
11CC = @CC@
12CPPFLAGS = -I. @CPPFLAGS@
13CFLAGS = @CFLAGS@
14LDFLAGS = @LDFLAGS@
15RANLIB = @RANLIB@
16INSTALL = @INSTALL@
17INSTALL_DATA = @INSTALL_DATA@
18
19all: Makefile lzf
20
21clean:
22 -rm -f *.o *.a lzf bench
23
24lzf_c.o: lzf_c.c lzfP.h
25
26lzf_d.o: lzf_d.c lzfP.h
27
28lzf.o: lzf.c
29
30lzf: lzf.o liblzf.a
31
32lzfP.h: lzf.h config.h
33
34liblzf.a: lzf_c.o lzf_d.o
35 rm -f $@
36 $(AR) rc $@ $^
37 $(RANLIB) $@
38
39install: 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
47dist:
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
61Makefile: Makefile.in
62 ./config.status
63
64bench: 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.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette