2009-12-15 08:23:25 +03:00
|
|
|
# $NetBSD: compatsubdir.mk,v 1.3 2009/12/15 05:23:25 mrg Exp $
|
2009-12-13 12:27:13 +03:00
|
|
|
|
|
|
|
# Build netbsd libraries.
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
.if ${MKCOMPAT} != "no"
|
|
|
|
.if !make(includes)
|
|
|
|
|
|
|
|
# make sure we get an objdir built early enough
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
|
|
|
# XXX make this use MAKEOBJDIR
|
|
|
|
MAKEDIRTARGETENV= MAKEOBJDIRPREFIX=${.OBJDIR} MKOBJDIRS=yes MKSHARE=no BSD_MK_COMPAT_FILE=${BSD_MK_COMPAT_FILE}
|
|
|
|
|
|
|
|
# XXX fix the "library" list to include all 'external' libs?
|
|
|
|
.if defined(BOOTSTRAP_SUBDIRS)
|
|
|
|
SUBDIR= ${BOOTSTRAP_SUBDIRS}
|
|
|
|
.else
|
|
|
|
SUBDIR= ../../../gnu/lib/crtstuff4 .WAIT \
|
|
|
|
../../../lib/csu .WAIT \
|
|
|
|
../../../gnu/lib/libgcc4 .WAIT \
|
|
|
|
../../../lib/libc .WAIT \
|
|
|
|
../../../lib/libutil .WAIT \
|
|
|
|
../../../lib .WAIT \
|
|
|
|
../../../gnu/lib \
|
|
|
|
../../../external/bsd/bind/lib \
|
|
|
|
../../../external/bsd/libevent/lib \
|
|
|
|
../../../external/bsd/file/lib \
|
|
|
|
../../../libexec/ld.elf_so
|
2009-12-15 07:12:43 +03:00
|
|
|
|
|
|
|
.if ${MKATF} != "no"
|
|
|
|
SUBDIR+= ../../../external/bsd/atf/lib
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if (${MKLDAP} != "no")
|
|
|
|
SUBDIR+= ../../../external/bsd/openldap/lib
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if (${MKBINUTILS} != "no")
|
|
|
|
SUBDIR+= ../../../external/gpl3/binutils/lib
|
|
|
|
.endif
|
|
|
|
|
2009-12-15 08:23:25 +03:00
|
|
|
.if (${MKISCSI} != "no")
|
|
|
|
SUBDIR+= ../../../external/bsd/iscsi/lib
|
|
|
|
.endif
|
|
|
|
|
2009-12-13 12:27:13 +03:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|
|
|
|
|
|
|
|
.endif
|
|
|
|
.endif
|