aboutsummaryrefslogtreecommitdiff
path: root/src/xzdec/Makefile.am
diff options
context:
space:
mode:
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)