aboutsummaryrefslogtreecommitdiff
path: root/src/xzdec/Makefile.am
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-11-20 18:05:52 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-11-20 18:05:52 +0200
commitf901a290eef67b8ea4720ccdf5f46edf775ed9d7 (patch)
tree264906c7ab654cc6661a6c5cd70a2cf50deb90c3 /src/xzdec/Makefile.am
parentMinor cleanups to xzdec. (diff)
downloadxz-f901a290eef67b8ea4720ccdf5f46edf775ed9d7.tar.xz
Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz
files and lzmadec only .lzma files.
Diffstat (limited to 'src/xzdec/Makefile.am')
-rw-r--r--src/xzdec/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xzdec/Makefile.am b/src/xzdec/Makefile.am
index 8c8cae80..84183fc0 100644
--- a/src/xzdec/Makefile.am
+++ b/src/xzdec/Makefile.am
@@ -12,7 +12,7 @@
## Lesser General Public License for more details.
##
-bin_PROGRAMS = xzdec
+bin_PROGRAMS = xzdec lzmadec
xzdec_SOURCES = xzdec.c
xzdec_CPPFLAGS = \
@@ -27,3 +27,8 @@ xzdec_LDADD = \
if COND_GNULIB
xzdec_LDADD += @top_builddir@/lib/libgnu.a
endif
+
+lzmadec_SOURCES = $(xzdec_SOURCES)
+lzmadec_CPPFLAGS = $(xzdec_CPPFLAGS) -DLZMADEC
+lzmadec_LDFLAGS = $(xzdec_LDFLAGS)
+lzmadec_LDADD = $(xzdec_LDADD)