2 ## Copyright (C) 2007 Lasse Collin
4 ## This program is free software; you can redistribute it and/or
5 ## modify it under the terms of the GNU Lesser General Public
6 ## License as published by the Free Software Foundation; either
7 ## version 2.1 of the License, or (at your option) any later version.
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 ## Lesser General Public License for more details.
41 -DLOCALEDIR=\"$(localedir)\" \
42 -I@top_srcdir@/src/common \
43 -I@top_srcdir@/src/liblzma/api \
44 -I@top_builddir@/lib \
48 xz_LDFLAGS = @STATIC_LDFLAGS@
50 @top_builddir@/src/liblzma/liblzma.la \
54 xz_LDADD += @top_builddir@/lib/libgnu.a
58 ## Create symlinks for unxz and xzcat for convenicen. Create symlinks also
59 ## for lzma, unlzma, and lzcat for compatibility with LZMA Utils 4.32.x.
61 cd $(DESTDIR)$(bindir) && \
62 rm -f unxz xzcat lzma unlzma lzcat && \
66 $(LN_S) xz unlzma && \
70 cd $(DESTDIR)$(bindir) && \
71 rm -f unxz xzcat lzma unlzma lzcat