diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-08-13 12:55:45 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-08-13 12:55:45 +0300 |
commit | e51b4e49e800bd84e6d589dca2964d3985e88139 (patch) | |
tree | b1aa08694cb4b00a220ca35d5ce62ec7f7b8792e /src/lzmainfo/Makefile.am | |
parent | Sync some error messages from xz to xzdec. (diff) | |
download | xz-e51b4e49e800bd84e6d589dca2964d3985e88139.tar.xz |
Add lzmainfo for backward compatibility with LZMA Utils.
lzmainfo now links against static liblzma. In contrast
to other command line tools in XZ Utils, linking lzmainfo
against static liblzma by default is dumb. This will be
fixed once I have fixed some related issues in configure.ac.
Diffstat (limited to '')
-rw-r--r-- | src/lzmainfo/Makefile.am | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/lzmainfo/Makefile.am b/src/lzmainfo/Makefile.am new file mode 100644 index 00000000..e04a1d99 --- /dev/null +++ b/src/lzmainfo/Makefile.am @@ -0,0 +1,29 @@ +## +## Author: Lasse Collin +## +## This file has been put into the public domain. +## You can do whatever you want with this file. +## + +bin_PROGRAMS = lzmainfo + +lzmainfo_SOURCES = lzmainfo.c + +lzmainfo_CPPFLAGS = \ + -DLOCALEDIR=\"$(localedir)\" \ + -I$(top_srcdir)/src/common \ + -I$(top_srcdir)/src/liblzma/api \ + -I$(top_builddir)/lib \ + $(STATIC_CPPFLAGS) + +lzmainfo_LDFLAGS = $(STATIC_LDFLAGS) +lzmainfo_LDADD = $(top_builddir)/src/liblzma/liblzma.la + +if COND_GNULIB +lzmainfo_LDADD += $(top_builddir)/lib/libgnu.a +endif + +lzmainfo_LDADD += $(LTLIBINTL) + + +dist_man_MANS = lzmainfo.1 |