freebsd-skq/gnu/lib/Makefile
marius b0e42f970b - Record dependencies of gdb/gdbtui/kgdb on binutils/lib{bfd,iberty,opcodes},
fixing parallel builds.
- Don't build gdb/gdbtui/kgdb or libreadline when MK_BINUTILS is "no" for
  obvious reasons.

MFC after:	3 days
2015-07-19 00:38:19 +00:00

30 lines
491 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_BINUTILS} != "no" && ${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>