mirror of
https://github.com/opnsense/src.git
synced 2026-03-12 05:32:15 -04:00
threaded process. Current, only libpthread is supported, but macrel will work on it to support libthr and libc_r.
19 lines
456 B
Makefile
19 lines
456 B
Makefile
# $FreeBSD$
|
|
|
|
LIB=pthread_db
|
|
INTERNALLIB=yes
|
|
NOPROFILE=yes
|
|
NOPIC=yes
|
|
CFLAGS+=-DPTHREAD_KERNEL -fpic -DPIC
|
|
CFLAGS+=-I${.CURDIR}/../include \
|
|
-I${.CURDIR}/../../libc/include -I${.CURDIR}/../../libpthread/thread \
|
|
-I${.CURDIR}/../../../include
|
|
CFLAGS+=-I${.CURDIR}/../../libpthread/arch/${MACHINE_ARCH}/include
|
|
CFLAGS+=-I${.CURDIR}/../../libpthread/sys
|
|
CFLAGS+=-Wall
|
|
|
|
.PATH: ${.CURDIR}
|
|
|
|
SRCS+=pthread_db.c pthread_db_${MACHINE_ARCH}.c
|
|
|
|
.include <bsd.lib.mk>
|