2007-12-08 23:42:33 +01:00
|
|
|
##
|
|
|
|
## Copyright (C) 2007 Lasse Collin
|
|
|
|
##
|
|
|
|
## This program is free software; you can redistribute it and/or
|
|
|
|
## modify it under the terms of the GNU Lesser General Public
|
|
|
|
## License as published by the Free Software Foundation; either
|
|
|
|
## version 2.1 of the License, or (at your option) any later version.
|
|
|
|
##
|
|
|
|
## This program is distributed in the hope that it will be useful,
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
## Lesser General Public License for more details.
|
|
|
|
##
|
|
|
|
|
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)
|