summaryrefslogtreecommitdiff
path: root/lib/libpthread/tests/Makefile
diff options
context:
space:
mode:
authorPeter Galbavy <peter@cvs.openbsd.org>1998-07-21 19:48:10 +0000
committerPeter Galbavy <peter@cvs.openbsd.org>1998-07-21 19:48:10 +0000
commit57c8ec29e7edfecff534599d5b59c7ab27a2ca03 (patch)
tree019102de27932c5251f0c0d0d7e8008213395080 /lib/libpthread/tests/Makefile
parent85951770ba93251f4179cb19db5aea7acd61a541 (diff)
this will now compile on i386 if you move arch/i386/machdep.h to
arch/i386/pthread/machdep.h - not an ideal solution. Correct fix is welcome. I am quiting work on this for today, so other hackers are welcome to take it up for the rest of the day/night. More from me tomorrow.
Diffstat (limited to 'lib/libpthread/tests/Makefile')
-rw-r--r--lib/libpthread/tests/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/libpthread/tests/Makefile b/lib/libpthread/tests/Makefile
index 5ba9f9a3927..626cc39e93f 100644
--- a/lib/libpthread/tests/Makefile
+++ b/lib/libpthread/tests/Makefile
@@ -8,17 +8,11 @@
# -Initial cut for pthreads.
#
-CC = ../pgcc -notinstalled
-CPP = gcc -E
-srctop = /dr1/my/masters/mysql/mit-pthreads
-srcdir = /dr1/my/masters/mysql/mit-pthreads/tests
-VPATH = /dr1/my/masters/mysql/mit-pthreads/tests
CDEBUGFLAGS = -g -O2 -Werror
-INCLUDES= -I../include -I.. -I$(srctop)/include
+INCLUDES= -I../arch/${MACHINE} -I../include -I.. -I$(srctop)/include
CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(ADDL_CFLAGS) -DSRCDIR=\"$(srcdir)\"
-LIBS = -lm -lgcc -L../obj/ -lpthread
-#LIBS = -static
+LIBS = -static -lm -lgcc -L../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 \