2007-12-08 23:42:33 +01:00
|
|
|
##
|
2009-04-13 10:27:40 +02:00
|
|
|
## Author: Lasse Collin
|
2007-12-08 23:42:33 +01:00
|
|
|
##
|
2009-04-13 10:27:40 +02:00
|
|
|
## This file has been put into the public domain.
|
|
|
|
## You can do whatever you want with this file.
|
2007-12-08 23:42:33 +01:00
|
|
|
##
|
|
|
|
|
2008-11-20 17:05:52 +01:00
|
|
|
bin_PROGRAMS = xzdec lzmadec
|
2007-12-08 23:42:33 +01:00
|
|
|
|
2008-11-19 22:52:24 +01:00
|
|
|
xzdec_SOURCES = xzdec.c
|
|
|
|
xzdec_CPPFLAGS = \
|
2007-12-08 23:42:33 +01:00
|
|
|
-I@top_srcdir@/src/common \
|
|
|
|
-I@top_srcdir@/src/liblzma/api \
|
2009-02-07 20:17:07 +01:00
|
|
|
-I@top_builddir@/lib \
|
|
|
|
@STATIC_CPPFLAGS@
|
|
|
|
xzdec_LDFLAGS = @STATIC_LDFLAGS@
|
2008-11-19 22:52:24 +01:00
|
|
|
xzdec_LDADD = \
|
2007-12-11 13:10:53 +01:00
|
|
|
@top_builddir@/src/liblzma/liblzma.la \
|
|
|
|
@LTLIBINTL@
|
2007-12-08 23:42:33 +01:00
|
|
|
|
|
|
|
if COND_GNULIB
|
2008-11-19 22:52:24 +01:00
|
|
|
xzdec_LDADD += @top_builddir@/lib/libgnu.a
|
2007-12-08 23:42:33 +01:00
|
|
|
endif
|
2008-11-20 17:05:52 +01:00
|
|
|
|
|
|
|
lzmadec_SOURCES = $(xzdec_SOURCES)
|
|
|
|
lzmadec_CPPFLAGS = $(xzdec_CPPFLAGS) -DLZMADEC
|
|
|
|
lzmadec_LDFLAGS = $(xzdec_LDFLAGS)
|
|
|
|
lzmadec_LDADD = $(xzdec_LDADD)
|
2009-06-04 22:42:12 +02:00
|
|
|
|
|
|
|
dist_man_MANS = xzdec.1
|
|
|
|
|
|
|
|
install-data-hook:
|
|
|
|
cd $(DESTDIR)$(mandir)/man1 && \
|
|
|
|
rm -f lzmadec.1 && \
|
|
|
|
$(LN_S) xzdec.1 lzmadec.1
|
|
|
|
|
|
|
|
uninstall-hook:
|
|
|
|
cd $(DESTDIR)$(mandir)/man1 && \
|
|
|
|
rm -f lzmadec.1
|