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 convenience. Create symlinks also
53 ## for lzma, unlzma, and lzcat for compatibility with LZMA Utils 4.32.x.
54 xzlinks = unxz xzcat lzma unlzma lzcat
57 cd $(DESTDIR)$(bindir) && \
58 target=`echo xz | $(SED) '$(transform)'` && \
59 for name in $(xzlinks); do \
60 link=`echo $$name | $(SED) '$(transform)'` && \
62 $(LN_S) $$target $$link; \
66 cd $(DESTDIR)$(bindir) && \
67 for name in $(xzlinks); do \
68 link=`echo $$name | $(SED) '$(transform)'` && \