ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/liblzf/Makefile.in
Revision: 1.14
Committed: Mon Feb 7 16:39:26 2011 UTC (13 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-3_6, HEAD
Changes since 1.13: +1 -1 lines
Log Message:
3.6

File Contents

# Content
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