summaryrefslogtreecommitdiff
path: root/lib/libpthread/tests
diff options
context:
space:
mode:
authorPeter Galbavy <peter@cvs.openbsd.org>1998-07-22 10:46:59 +0000
committerPeter Galbavy <peter@cvs.openbsd.org>1998-07-22 10:46:59 +0000
commit1dfa52bc2a08fd6abce250b86ed676ed75e7f9a7 (patch)
tree552e94cccaeaddcf88e37c344c473b6fe12596fa /lib/libpthread/tests
parent55fc30f96bf26fbc4ef03930e5ba827c3304c58a (diff)
o removed more unused or old, left over files
o general changes so that now the library compiles and many of the tests run correctly o pthreads/Makefile.inc rebuilt using libc/sys/Makefile.inc as a template. this should be kept in sync in case of new syscalls soon TODO: figure out why remaining tests fail and fix look at building .so version of library tidy up arch/i386 directory - no longer uses syscall-template.S port other arch's from libc syscall templates
Diffstat (limited to 'lib/libpthread/tests')
-rw-r--r--lib/libpthread/tests/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libpthread/tests/Makefile b/lib/libpthread/tests/Makefile
index 626cc39e93f..97f81b5d4e3 100644
--- a/lib/libpthread/tests/Makefile
+++ b/lib/libpthread/tests/Makefile
@@ -9,10 +9,9 @@
#
CDEBUGFLAGS = -g -O2 -Werror
-
-INCLUDES= -I../arch/${MACHINE} -I../include -I.. -I$(srctop)/include
-CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(ADDL_CFLAGS) -DSRCDIR=\"$(srcdir)\"
-LIBS = -static -lm -lgcc -L../obj.${MACHINE}/ -lpthread
+INCLUDES= -I/usr/include/pthread
+CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) -DSRCDIR="\"${.CURDIR}\""
+LIBS = -static -lm -lgcc -L${.CURDIR}/../obj.${MACHINE}/ -lpthread
# This list used to include test_select, but that test doesn't terminate.
TESTS = test_create test_pthread_join test_switch test_sleep test_readdir \