xref: /freebsd/lib/librtld_db/Makefile (revision eb69d1f144a6fcc765d1b9d44a5ae8082353e70b)
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