summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-03-01 14:53:36 +0000
committerjhb <jhb@FreeBSD.org>2011-03-01 14:53:36 +0000
commit95c58f1cdb470f7bd55b74409b7ccc69def87e74 (patch)
treef18090660cc3094076ac99b32ca81e7cc6f4a104 /Makefile.inc1
parentd64a5d112c6bb28a44c7b9377ca38c1876b8005b (diff)
downloadFreeBSD-src-95c58f1cdb470f7bd55b74409b7ccc69def87e74.zip
FreeBSD-src-95c58f1cdb470f7bd55b74409b7ccc69def87e74.tar.gz
Use a suitable DIRPRFX for each invocation of make in the build32 and
install32 targets so that the full path to each program or library is displayed in the make output. MFC after: 1 week
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc124
1 files changed, 13 insertions, 11 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 3faaece..e30de3e 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -463,36 +463,38 @@ build32:
.for _t in obj depend all
cd ${.CURDIR}/kerberos5/tools; \
MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} SSP_CFLAGS= DESTDIR= \
- ${_t}
+ DIRPRFX=kerberos5/tools/ ${_t}
.endfor
.endif
.for _t in obj includes
- cd ${.CURDIR}/include; ${LIB32WMAKE} ${_t}
- cd ${.CURDIR}/lib; ${LIB32WMAKE} ${_t}
+ cd ${.CURDIR}/include; ${LIB32WMAKE} DIRPRFX=include/ ${_t}
+ cd ${.CURDIR}/lib; ${LIB32WMAKE} DIRPRFX=lib/ ${_t}
.if ${MK_CDDL} != "no"
- cd ${.CURDIR}/cddl/lib; ${LIB32WMAKE} ${_t}
+ cd ${.CURDIR}/cddl/lib; ${LIB32WMAKE} DIRPRFX=cddl/lib/ ${_t}
.endif
- cd ${.CURDIR}/gnu/lib; ${LIB32WMAKE} ${_t}
+ cd ${.CURDIR}/gnu/lib; ${LIB32WMAKE} DIRPRFX=gnu/lib/ ${_t}
.if ${MK_CRYPT} != "no"
- cd ${.CURDIR}/secure/lib; ${LIB32WMAKE} ${_t}
+ cd ${.CURDIR}/secure/lib; ${LIB32WMAKE} DIRPRFX=secure/lib/ ${_t}
.endif
.if ${MK_KERBEROS} != "no"
- cd ${.CURDIR}/kerberos5/lib; ${LIB32WMAKE} ${_t}
+ cd ${.CURDIR}/kerberos5/lib; ${LIB32WMAKE} DIRPRFX=kerberos5/lib ${_t}
.endif
.endfor
.for _dir in usr.bin/lex/lib
- cd ${.CURDIR}/${_dir}; ${LIB32WMAKE} obj
+ cd ${.CURDIR}/${_dir}; ${LIB32WMAKE} DIRPRFX=${_dir}/ obj
.endfor
.for _dir in lib/ncurses/ncurses lib/ncurses/ncursesw lib/libmagic
cd ${.CURDIR}/${_dir}; \
MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} SSP_CFLAGS= DESTDIR= \
- build-tools
+ DIRPRFX=${_dir}/ build-tools
.endfor
cd ${.CURDIR}; \
${LIB32WMAKE} -f Makefile.inc1 libraries
.for _t in obj depend all
- cd ${.CURDIR}/libexec/rtld-elf; PROG=ld-elf32.so.1 ${LIB32WMAKE} ${_t}
- cd ${.CURDIR}/usr.bin/ldd; PROG=ldd32 ${LIB32WMAKE} ${_t}
+ cd ${.CURDIR}/libexec/rtld-elf; PROG=ld-elf32.so.1 ${LIB32WMAKE} \
+ DIRPRFX=libexec/rtld-elf/ ${_t}
+ cd ${.CURDIR}/usr.bin/ldd; PROG=ldd32 ${LIB32WMAKE} \
+ DIRPRFX=usr.bin/ldd ${_t}
.endfor
distribute32 install32:
OpenPOWER on IntegriCloud