cab0e8ff75
fixing parallel builds. - Don't build gdb/gdbtui/kgdb or libreadline when MK_BINUTILS is "no" for obvious reasons. MFC after: 3 days
30 lines
491 B
Makefile
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>
|