hex2bin
AM_CPPFLAGS = \
- -I@top_srcdir@/src/common \
- -I@top_srcdir@/src/liblzma/api
+ -I$(top_srcdir)/src/common \
+ -I$(top_srcdir)/src/liblzma/api
AM_LDFLAGS = -static
-LDADD = \
- @top_builddir@/src/liblzma/liblzma.la \
- @LTLIBINTL@
+LDADD = $(top_builddir)/src/liblzma/liblzma.la
if COND_GNULIB
-LDADD += @top_builddir@/lib/libgnu.a
+LDADD += $(top_builddir)/lib/libgnu.a
endif
+
+LDADD += $(LTLIBINTL)
check.h \
crc_macros.h
libcheck_la_CPPFLAGS = \
- -I@top_srcdir@/src/liblzma/api \
- -I@top_srcdir@/src/liblzma/common
+ -I$(top_srcdir)/src/liblzma/api \
+ -I$(top_srcdir)/src/liblzma/common
if COND_CHECK_CRC32
if COND_SMALL
noinst_LTLIBRARIES = libcommon.la
libcommon_la_CPPFLAGS = \
- -I@top_srcdir@/src/liblzma/api \
- -I@top_srcdir@/src/liblzma/check \
- -I@top_srcdir@/src/liblzma/rangecoder \
- -I@top_srcdir@/src/liblzma/lz \
- -I@top_srcdir@/src/liblzma/lzma \
- -I@top_srcdir@/src/liblzma/subblock \
- -I@top_srcdir@/src/liblzma/delta \
- -I@top_srcdir@/src/liblzma/simple
+ -I$(top_srcdir)/src/liblzma/api \
+ -I$(top_srcdir)/src/liblzma/check \
+ -I$(top_srcdir)/src/liblzma/rangecoder \
+ -I$(top_srcdir)/src/liblzma/lz \
+ -I$(top_srcdir)/src/liblzma/lzma \
+ -I$(top_srcdir)/src/liblzma/subblock \
+ -I$(top_srcdir)/src/liblzma/delta \
+ -I$(top_srcdir)/src/liblzma/simple
libcommon_la_SOURCES = \
common.c \
noinst_LTLIBRARIES = libdelta.la
libdelta_la_CPPFLAGS = \
- -I@top_srcdir@/src/liblzma/api \
- -I@top_srcdir@/src/liblzma/common
+ -I$(top_srcdir)/src/liblzma/api \
+ -I$(top_srcdir)/src/liblzma/common
libdelta_la_SOURCES = \
delta_common.c \
noinst_LTLIBRARIES = liblz.la
liblz_la_CPPFLAGS = \
- -I@top_srcdir@/src/liblzma/api \
- -I@top_srcdir@/src/liblzma/common \
- -I@top_srcdir@/src/liblzma/check
+ -I$(top_srcdir)/src/liblzma/api \
+ -I$(top_srcdir)/src/liblzma/common \
+ -I$(top_srcdir)/src/liblzma/check
liblz_la_SOURCES =
## Using liblzma2 since liblzma is already used for the final library.
noinst_LTLIBRARIES = liblzma2.la
liblzma2_la_CPPFLAGS = \
- -I@top_srcdir@/src/liblzma/api \
- -I@top_srcdir@/src/liblzma/common \
- -I@top_srcdir@/src/liblzma/lz \
- -I@top_srcdir@/src/liblzma/rangecoder
+ -I$(top_srcdir)/src/liblzma/api \
+ -I$(top_srcdir)/src/liblzma/common \
+ -I$(top_srcdir)/src/liblzma/lz \
+ -I$(top_srcdir)/src/liblzma/rangecoder
liblzma2_la_SOURCES = lzma_common.h
librangecoder_la_SOURCES = range_common.h
librangecoder_la_CPPFLAGS = \
- -I@top_srcdir@/src/liblzma/api \
- -I@top_srcdir@/src/liblzma/common
+ -I$(top_srcdir)/src/liblzma/api \
+ -I$(top_srcdir)/src/liblzma/common
if COND_ENCODER_LZMA1
librangecoder_la_SOURCES += \
noinst_LTLIBRARIES = libsimple.la
libsimple_la_CPPFLAGS = \
- -I@top_srcdir@/src/liblzma/api \
- -I@top_srcdir@/src/liblzma/common
+ -I$(top_srcdir)/src/liblzma/api \
+ -I$(top_srcdir)/src/liblzma/common
libsimple_la_SOURCES = \
simple_coder.c \
simple_coder.h \
noinst_LTLIBRARIES = libsubblock.la
libsubblock_la_SOURCES =
libsubblock_la_CPPFLAGS = \
- -I@top_srcdir@/src/liblzma/api \
- -I@top_srcdir@/src/liblzma/common
+ -I$(top_srcdir)/src/liblzma/api \
+ -I$(top_srcdir)/src/liblzma/common
if COND_ENCODER_SUBBLOCK
libsubblock_la_SOURCES += \
xz_CPPFLAGS = \
-DLOCALEDIR=\"$(localedir)\" \
- -I@top_srcdir@/src/common \
- -I@top_srcdir@/src/liblzma/api \
- -I@top_builddir@/lib \
- -I@top_srcdir@/lib \
- @STATIC_CPPFLAGS@
+ -I$(top_srcdir)/src/common \
+ -I$(top_srcdir)/src/liblzma/api \
+ -I$(top_builddir)/lib \
+ -I$(top_srcdir)/lib \
+ $(STATIC_CPPFLAGS)
-xz_LDFLAGS = @STATIC_LDFLAGS@
-xz_LDADD = \
- @top_builddir@/src/liblzma/liblzma.la \
- @LTLIBINTL@
+xz_LDFLAGS = $(STATIC_LDFLAGS)
+xz_LDADD = $(top_builddir)/src/liblzma/liblzma.la
if COND_GNULIB
-xz_LDADD += @top_builddir@/lib/libgnu.a
+xz_LDADD += $(top_builddir)/lib/libgnu.a
endif
+# libgnu.a may need these libs, so this must be after libgnu.a.
+xz_LDADD += $(LTLIBINTL)
+
## Create symlinks for unxz and xzcat for convenicen. Create symlinks also
## for lzma, unlzma, and lzcat for compatibility with LZMA Utils 4.32.x.
xzdec_SOURCES = xzdec.c
xzdec_CPPFLAGS = \
- -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@
+ -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
if COND_GNULIB
-xzdec_LDADD += @top_builddir@/lib/libgnu.a
+xzdec_LDADD += $(top_builddir)/lib/libgnu.a
endif
+xzdec_LDADD += $(LTLIBINTL)
+
+
lzmadec_SOURCES = $(xzdec_SOURCES)
lzmadec_CPPFLAGS = $(xzdec_CPPFLAGS) -DLZMADEC
lzmadec_LDFLAGS = $(xzdec_LDFLAGS)
compress_prepared_bcj_x86
AM_CPPFLAGS = \
- -I@top_srcdir@/src/common \
- -I@top_srcdir@/src/liblzma/api \
- -I@top_builddir@/lib
+ -I$(top_srcdir)/src/common \
+ -I$(top_srcdir)/src/liblzma/api \
+ -I$(top_builddir)/lib
-LDADD = @top_builddir@/src/liblzma/liblzma.la
+LDADD = $(top_builddir)/src/liblzma/liblzma.la
if COND_GNULIB
-LDADD += @top_builddir@/lib/libgnu.a
+LDADD += $(top_builddir)/lib/libgnu.a
endif
+LDADD += $(LTLIBINTL)
+
check_PROGRAMS = \
create_compress_files \
test_check \