aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2014-10-29 21:15:35 +0200
committerLasse Collin <lasse.collin@tukaani.org>2014-10-29 21:15:35 +0200
commitc923b140b27d1a055db6284e10fd546ad1a7fcdb (patch)
tree9be8130b208f7d44c7bdf014b005565a5d3834e5 /src
parentTranslations: Update the Italian translation. (diff)
downloadxz-c923b140b27d1a055db6284e10fd546ad1a7fcdb.tar.xz
Build: Prepare to support Automake's subdir-objects.
Due to a bug in Automake, subdir-objects won't be enabled for now. http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354 Thanks to Daniel Richard G. for the original patches.
Diffstat (limited to '')
-rw-r--r--src/Makefile.am22
-rw-r--r--src/liblzma/Makefile.am4
-rw-r--r--src/lzmainfo/Makefile.am4
-rw-r--r--src/xz/Makefile.am10
-rw-r--r--src/xzdec/Makefile.am8
5 files changed, 34 insertions, 14 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 9fb4caad..d199e858 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,4 +19,24 @@ if COND_SCRIPTS
SUBDIRS += scripts
endif
-EXTRA_DIST = common
+EXTRA_DIST = \
+ common/common_w32res.rc \
+ common/mythread.h \
+ common/sysdefs.h \
+ common/tuklib_common.h \
+ common/tuklib_config.h \
+ common/tuklib_cpucores.c \
+ common/tuklib_cpucores.h \
+ common/tuklib_exit.c \
+ common/tuklib_exit.h \
+ common/tuklib_gettext.h \
+ common/tuklib_integer.h \
+ common/tuklib_mbstr_fw.c \
+ common/tuklib_mbstr.h \
+ common/tuklib_mbstr_width.c \
+ common/tuklib_open_stdxxx.c \
+ common/tuklib_open_stdxxx.h \
+ common/tuklib_physmem.c \
+ common/tuklib_physmem.h \
+ common/tuklib_progname.c \
+ common/tuklib_progname.h
diff --git a/src/liblzma/Makefile.am b/src/liblzma/Makefile.am
index 1b409108..3720532f 100644
--- a/src/liblzma/Makefile.am
+++ b/src/liblzma/Makefile.am
@@ -32,10 +32,10 @@ liblzma_la_LDFLAGS += \
-Wl,--version-script=$(top_srcdir)/src/liblzma/liblzma.map
endif
-liblzma_la_SOURCES += $(top_srcdir)/src/common/tuklib_physmem.c
+liblzma_la_SOURCES += ../common/tuklib_physmem.c
if COND_THREADS
-liblzma_la_SOURCES += $(top_srcdir)/src/common/tuklib_cpucores.c
+liblzma_la_SOURCES += ../common/tuklib_cpucores.c
endif
include $(srcdir)/common/Makefile.inc
diff --git a/src/lzmainfo/Makefile.am b/src/lzmainfo/Makefile.am
index b90b3b3d..ff7172b5 100644
--- a/src/lzmainfo/Makefile.am
+++ b/src/lzmainfo/Makefile.am
@@ -9,8 +9,8 @@ bin_PROGRAMS = lzmainfo
lzmainfo_SOURCES = \
lzmainfo.c \
- $(top_srcdir)/src/common/tuklib_progname.c \
- $(top_srcdir)/src/common/tuklib_exit.c
+ ../common/tuklib_progname.c \
+ ../common/tuklib_exit.c
if COND_W32
lzmainfo_SOURCES += lzmainfo_w32res.rc
diff --git a/src/xz/Makefile.am b/src/xz/Makefile.am
index 088319b3..1f4a2791 100644
--- a/src/xz/Makefile.am
+++ b/src/xz/Makefile.am
@@ -33,11 +33,11 @@ xz_SOURCES = \
suffix.h \
util.c \
util.h \
- $(top_srcdir)/src/common/tuklib_open_stdxxx.c \
- $(top_srcdir)/src/common/tuklib_progname.c \
- $(top_srcdir)/src/common/tuklib_exit.c \
- $(top_srcdir)/src/common/tuklib_mbstr_width.c \
- $(top_srcdir)/src/common/tuklib_mbstr_fw.c
+ ../common/tuklib_open_stdxxx.c \
+ ../common/tuklib_progname.c \
+ ../common/tuklib_exit.c \
+ ../common/tuklib_mbstr_width.c \
+ ../common/tuklib_mbstr_fw.c
if COND_W32
xz_SOURCES += xz_w32res.rc
diff --git a/src/xzdec/Makefile.am b/src/xzdec/Makefile.am
index 70746c0c..5ff8e373 100644
--- a/src/xzdec/Makefile.am
+++ b/src/xzdec/Makefile.am
@@ -14,8 +14,8 @@
xzdec_SOURCES = \
xzdec.c \
- $(top_srcdir)/src/common/tuklib_progname.c \
- $(top_srcdir)/src/common/tuklib_exit.c
+ ../common/tuklib_progname.c \
+ ../common/tuklib_exit.c
if COND_W32
xzdec_SOURCES += xzdec_w32res.rc
@@ -37,8 +37,8 @@ xzdec_LDADD += $(LTLIBINTL)
lzmadec_SOURCES = \
xzdec.c \
- $(top_srcdir)/src/common/tuklib_progname.c \
- $(top_srcdir)/src/common/tuklib_exit.c
+ ../common/tuklib_progname.c \
+ ../common/tuklib_exit.c
if COND_W32
lzmadec_SOURCES += lzmadec_w32res.rc