42f8c5b580
debug files for userland programs and libraries. The "-g" debug flag is automatically applied when WITH_DEBUG_FILES is set. The debug files are now named ${prog}.debug and ${shlib}.debug for consistency with other systems and documentation. In addition they are installed under /usr/lib/debug, to simplify the process of installing them if needed after a crash. Users of bsd.{prog,lib}.mk outside of the base system place the standalone debug files in a .debug subdirectory. GDB automatically searches both of these directories for standalone debug files. Thanks to everyone who contributed changes, review, and testing during development.
34 lines
603 B
Makefile
34 lines
603 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
FILES= ${_BIND.chroot.dist} \
|
|
${_BIND.include.dist} \
|
|
${_BSD.debug.dist} \
|
|
BSD.include.dist \
|
|
BSD.root.dist \
|
|
${_BSD.sendmail.dist} \
|
|
BSD.usr.dist \
|
|
BSD.var.dist
|
|
|
|
.if ${MK_BIND} != "no"
|
|
_BIND.chroot.dist= BIND.chroot.dist
|
|
.if ${MK_BIND_LIBS} != "no"
|
|
_BIND.include.dist= BIND.include.dist
|
|
.endif
|
|
.endif
|
|
.if ${MK_DEBUG_FILES} != "no"
|
|
_BSD.debug.dist= BSD.debug.dist
|
|
.endif
|
|
.if ${MK_GROFF} != "no"
|
|
_BSD.groff.dist= BSD.groff.dist
|
|
.endif
|
|
.if ${MK_SENDMAIL} != "no"
|
|
_BSD.sendmail.dist= BSD.sendmail.dist
|
|
.endif
|
|
|
|
NO_OBJ=
|
|
FILESDIR= /etc/mtree
|
|
|
|
.include <bsd.prog.mk>
|