blob: c3c8a0887f37727755d11daee43fdbf554998001 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $OpenBSD: Makefile.inc,v 1.5 2002/06/17 04:48:24 marc Exp $
# Copyright (c) 1993 Chris Provenzano, proven@athena.mit.edu
LIBC_R?= /usr/lib/libc_r.a
LIBPTHREAD?= /usr/lib/libpthread.a
USELIBPTHREAD?= no
.if ${USELIBPTHREAD:L} == yes
# this tests using libpthread/libc
LDADD+= -lpthread
DPADD+= ${LIBPTHREAD}
.else
# This tests using libc_r
LDADD+= -pthread
DPADD+= ${LIBC_R}
.endif
CFLAGS+= -Wall # -Werror
#DEBUG= -ggdb
CFLAGS+= -DSRCDIR='"${.CURDIR}"'
CFLAGS+= -I${.CURDIR}/../include
NOMAN=
REGRESSMAXTIME?=30
|