From 72b7786ff14504eea9a16c738216aed549f7f1cc Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Thu, 7 Jan 2010 15:05:27 +0100 Subject: nptl_test: sysdep headers re-factoring Update nptl and tls Makefiles according to new sysdep headers structure Signed-off-by: Carmelo Amoroso --- test/nptl/Makefile | 1 + test/nptl/Makefile.in | 3 +++ 2 files changed, 4 insertions(+) (limited to 'test/nptl') diff --git a/test/nptl/Makefile b/test/nptl/Makefile index a99c5d16f..c22b635b7 100644 --- a/test/nptl/Makefile +++ b/test/nptl/Makefile @@ -2,6 +2,7 @@ # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. top_builddir=../../ +top_srcdir=../../ include ../Rules.mak -include Makefile.in include ../Test.mak diff --git a/test/nptl/Makefile.in b/test/nptl/Makefile.in index 0bca63b78..b8e140bc1 100644 --- a/test/nptl/Makefile.in +++ b/test/nptl/Makefile.in @@ -58,8 +58,11 @@ GLIBC_TESTS_DISABLED += tst-tls3_glibc tst-tls4_glibc tst-tls5_glibc endif PTDIR := $(top_builddir)libpthread/nptl +SYSDEPS_DIR := $(top_srcdir)libc/sysdeps EXTRA_CFLAGS := -DNOT_IN_libc=1 -D_LIBC -D__USE_GNU -std=gnu99 \ + -I$(SYSDEPS_DIR)/linux \ + -I$(SYSDEPS_DIR)/linux/$(TARGET_ARCH) \ -I$(PTDIR) -I$(PTDIR)/sysdeps/unix/sysv/linux/$(TARGET_ARCH) \ -I$(PTDIR)/sysdeps/$(TARGET_ARCH) \ -I$(PTDIR)/sysdeps/unix/sysv/linux \ -- cgit v1.2.3