xref: /freebsd/lib/librtld_db/Makefile (revision 3fc36ee018bb836bd1796067cf4ef8683f166ebc)
1# $FreeBSD$
2
3.include <bsd.own.mk>
4
5PACKAGE=lib${LIB}
6LIB=		rtld_db
7SHLIB_MAJOR= 	2
8MAN=		librtld_db.3
9
10SRCS=		rtld_db.c
11INCS=		rtld_db.h
12
13CFLAGS+= -I${.CURDIR}
14# Avoid circular dependency, we only need the libproc.h header here.
15CFLAGS+= -I${.CURDIR:H}/libproc
16
17LIBADD+=	elf procstat
18
19.include <bsd.lib.mk>
20