summaryrefslogtreecommitdiff
path: root/regress/lib/libpthread/Makefile.inc
blob: 318c7040af949202d01d0d9366b54cba1fb8c0fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $OpenBSD: Makefile.inc,v 1.4 2002/04/20 00:15:36 art Exp $
# Copyright (c) 1993 Chris Provenzano, proven@athena.mit.edu

LIBC_R?=	/usr/lib/libc_r.a
LIBPTHREAD?=	/usr/lib/libpthread.a

.if 1 # ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc"
LDADD+=		-lpthread
DPADD+=		${LIBPTHREAD}
.else
LDADD+=		-pthread
DPADD+=		${LIBC_R}
.endif

CFLAGS+=	-Wall # -Werror
DEBUG=		-ggdb
CFLAGS+=	-DSRCDIR='"${.CURDIR}"'
CFLAGS+=	-I${.CURDIR}/../include

NOMAN=

REGRESSMAXTIME?=30