Module Name: src Committed By: matt Date: Thu Jan 20 18:43:53 UTC 2011
Modified Files: src/compat: compatsubdir.mk Log Message: Change to use MAKEOBJDIR instead of MAKEOBJDIRPREFIX To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/compat/compatsubdir.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/compat/compatsubdir.mk diff -u src/compat/compatsubdir.mk:1.5 src/compat/compatsubdir.mk:1.6 --- src/compat/compatsubdir.mk:1.5 Fri Dec 3 21:38:48 2010 +++ src/compat/compatsubdir.mk Thu Jan 20 18:43:52 2011 @@ -1,4 +1,4 @@ -# $NetBSD: compatsubdir.mk,v 1.5 2010/12/03 21:38:48 plunky Exp $ +# $NetBSD: compatsubdir.mk,v 1.6 2011/01/20 18:43:52 matt Exp $ # Build netbsd libraries. @@ -10,8 +10,7 @@ # 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} +MAKEDIRTARGETENV= MAKEOBJDIR='$${.CURDIR:C,^${NETBSDSRCDIR},${.OBJDIR},}' MKOBJDIRS=yes MKSHARE=no BSD_MK_COMPAT_FILE=${BSD_MK_COMPAT_FILE} .if defined(BOOTSTRAP_SUBDIRS) SUBDIR= ${BOOTSTRAP_SUBDIRS}