freebsd-dev/gnu/lib/Makefile
Baptiste Daroussin 40f51e7543 Only build libreadline if gdb is going to be built
gdb is the only consumer of libreadline which is an INTERNALLIB
2015-05-18 16:05:41 +00:00

30 lines
465 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
SUBDIR= csu libgcc libdialog libregex
.if ${MK_GCC} != "no"
SUBDIR+= libgcov libgomp
.endif
.if ${MK_SSP} != "no"
SUBDIR+= libssp
.endif
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif
.if ${MK_GDB} != "no"
SUBDIR+= libreadline
.endif
# libsupc++ uses libstdc++ headers, although 'make includes' should
# have taken care of that already.
.if ${MK_GNUCXX} != "no"
SUBDIR+= libstdc++ libsupc++
.endif
.include <bsd.subdir.mk>