2 ## Author: Lasse Collin
4 ## This file has been put into the public domain.
5 ## You can do whatever you want with this file.
34 -DLOCALEDIR=\"$(localedir)\" \
35 -I$(top_srcdir)/src/common \
36 -I$(top_srcdir)/src/liblzma/api \
37 -I$(top_builddir)/lib \
41 xz_LDFLAGS = $(STATIC_LDFLAGS)
42 xz_LDADD = $(top_builddir)/src/liblzma/liblzma.la
45 xz_LDADD += $(top_builddir)/lib/libgnu.a
48 # libgnu.a may need these libs, so this must be after libgnu.a.
49 xz_LDADD += $(LTLIBINTL)
52 ## Create symlinks for unxz and xzcat for convenicen. Create symlinks also
53 ## for lzma, unlzma, and lzcat for compatibility with LZMA Utils 4.32.x.
55 cd $(DESTDIR)$(bindir) && \
56 rm -f unxz xzcat lzma unlzma lzcat && \
60 $(LN_S) xz unlzma && \
64 cd $(DESTDIR)$(bindir) && \
65 rm -f unxz xzcat lzma unlzma lzcat