1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00
xz-archive/src/xzdec/Makefile.am

40 lines
824 B
Text
Raw Normal View History

2007-12-08 23:42:33 +01:00
##
## Author: Lasse Collin
2007-12-08 23:42:33 +01: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
##
bin_PROGRAMS = xzdec lzmadec
2007-12-08 23:42:33 +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 \
-I@top_builddir@/lib \
@STATIC_CPPFLAGS@
xzdec_LDFLAGS = @STATIC_LDFLAGS@
xzdec_LDADD = \
@top_builddir@/src/liblzma/liblzma.la \
@LTLIBINTL@
2007-12-08 23:42:33 +01:00
if COND_GNULIB
xzdec_LDADD += @top_builddir@/lib/libgnu.a
2007-12-08 23:42:33 +01:00
endif
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