summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihail Konev <k.mvc@ya.ru>2017-01-03 23:40:18 +0500
committerAdam Jackson <ajax@redhat.com>2017-01-12 13:25:52 -0500
commit45546219e117c1b6129fd9f9be2ce5b592486feb (patch)
tree716e78d7d3df946083b880cbc9737b325fc029fb
parent785053d033e73d2deb0ded4b97eabfd881991978 (diff)
tests: Avoid libtool message
The "copying selected object files" message appears as some source files have the same name, and some objects are included twice. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Mihail Konev <k.mvc@ya.ru>
-rw-r--r--hw/xfree86/os-support/linux/Makefile.am5
-rw-r--r--hw/xfree86/ramdac/Makefile.am2
-rw-r--r--hw/xfree86/ramdac/xf86CursorRD.c (renamed from hw/xfree86/ramdac/xf86Cursor.c)0
-rw-r--r--test/Makefile.am6
-rw-r--r--test/test_xkb.c (renamed from test/xkb.c)0
5 files changed, 7 insertions, 6 deletions
diff --git a/hw/xfree86/os-support/linux/Makefile.am b/hw/xfree86/os-support/linux/Makefile.am
index d8cb17777..26e40bb93 100644
--- a/hw/xfree86/os-support/linux/Makefile.am
+++ b/hw/xfree86/os-support/linux/Makefile.am
@@ -9,7 +9,10 @@ liblinuxev56_la_SOURCES = lnx_ev56.c
endif
if LNXACPI
-ACPI_SRCS = lnx_acpi.c lnx_apm.c
+ACPI_SRCS = lnx_acpi.c
+if !LNXAPM
+ACPI_SRCS += lnx_apm.c
+endif
XORG_CFLAGS += -DHAVE_ACPI
endif
diff --git a/hw/xfree86/ramdac/Makefile.am b/hw/xfree86/ramdac/Makefile.am
index a3d77628c..59e0996ad 100644
--- a/hw/xfree86/ramdac/Makefile.am
+++ b/hw/xfree86/ramdac/Makefile.am
@@ -1,7 +1,7 @@
noinst_LTLIBRARIES = libramdac.la
libramdac_la_SOURCES = xf86RamDac.c xf86RamDacCmap.c \
- xf86Cursor.c xf86HWCurs.c IBM.c BT.c TI.c
+ xf86CursorRD.c xf86HWCurs.c IBM.c BT.c TI.c
sdk_HEADERS = BT.h IBM.h TI.h xf86Cursor.h xf86RamDac.h
diff --git a/hw/xfree86/ramdac/xf86Cursor.c b/hw/xfree86/ramdac/xf86CursorRD.c
index afcce5353..afcce5353 100644
--- a/hw/xfree86/ramdac/xf86Cursor.c
+++ b/hw/xfree86/ramdac/xf86CursorRD.c
diff --git a/test/Makefile.am b/test/Makefile.am
index 064e1c5b7..bbf66913a 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -57,6 +57,8 @@ if SPECIAL_DTRACE_OBJECTS
TEST_LDADD += $(OS_LIB) $(DIX_LIB)
endif
+xkb_SOURCES = test_xkb.c
+
xkb_LDADD=$(TEST_LDADD)
input_LDADD=$(TEST_LDADD)
xtest_LDADD=$(TEST_LDADD)
@@ -99,10 +101,6 @@ if DRI2
libxservertest_la_LIBADD += $(top_builddir)/hw/xfree86/dri2/libdri2.la
endif
-if DRI3
-libxservertest_la_LIBADD += $(top_builddir)/dri3/libdri3.la
-endif
-
else
nodist_libxservertest_la_SOURCES = \
ddxstubs.c \
diff --git a/test/xkb.c b/test/test_xkb.c
index 9047f594c..9047f594c 100644
--- a/test/xkb.c
+++ b/test/test_xkb.c