freebsd-skq/lib/librtld_db/Makefile
Bryan Drewery db548a6148 META MODE: Rework circular dependency guard for librtld_db/libproc.
librtld_db only needs libutil.h to build, not the libproc library.  So
it can safely use its header and allow libproc to depend on librtld_rb
to be built first to link.  This is required after fixing ld --sysroot
in r291226.

Sponsored by:	EMC / Isilon Storage Division
2015-11-25 19:13:35 +00:00

17 lines
267 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
LIB= rtld_db
SHLIB_MAJOR= 2
MAN= librtld_db.3
SRCS= rtld_db.c
INCS= rtld_db.h
CFLAGS+= -I${.CURDIR}
# Avoid circular dependency, we only need the libproc.h header here.
CFLAGS+= -I${.CURDIR:H}/libproc
.include <bsd.lib.mk>