diff options
author | imp <imp@FreeBSD.org> | 2006-08-24 17:02:26 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-08-24 17:02:26 +0000 |
commit | bf45440613f3fd9e190d786e0a1d1228eb524aa7 (patch) | |
tree | 8a1db4bcaf54964500f9852e0504845f568306d0 | |
parent | 2b65f3157a2ad2b1335e87e68f5b7388da0dd062 (diff) | |
download | FreeBSD-src-bf45440613f3fd9e190d786e0a1d1228eb524aa7.zip FreeBSD-src-bf45440613f3fd9e190d786e0a1d1228eb524aa7.tar.gz |
Always make obj when building the libraries. This never hurts, and
helps some cross-architecture building tool installation patches that
I'm developing.
-rw-r--r-- | Makefile.inc1 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index e837903..3a6ad84 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1032,8 +1032,9 @@ _generic_libs+= usr.bin/lex/lib .for _lib in ${_startup_libs} ${_prebuild_libs:Nlib/libpam} ${_generic_libs} ${_lib}__L: .PHONY .if exists(${.CURDIR}/${_lib}) - ${_+_}@${ECHODIR} "===> ${_lib} (depend,all,install)"; \ + ${_+_}@${ECHODIR} "===> ${_lib} (obj,depend,all,install)"; \ cd ${.CURDIR}/${_lib}; \ + ${MAKE} DIRPRFX=${_lib}/ obj; \ ${MAKE} DIRPRFX=${_lib}/ depend; \ ${MAKE} DIRPRFX=${_lib}/ all; \ ${MAKE} DIRPRFX=${_lib}/ install @@ -1044,8 +1045,9 @@ ${_lib}__L: .PHONY # static PAM library, and dynamic PAM library before dynamic PAM # modules. lib/libpam__L: .PHONY - ${_+_}@${ECHODIR} "===> lib/libpam (depend,all,install)"; \ + ${_+_}@${ECHODIR} "===> lib/libpam (obj,depend,all,install)"; \ cd ${.CURDIR}/lib/libpam; \ + ${MAKE} DIRPRFX=lib/libpam/ obj; \ ${MAKE} DIRPRFX=lib/libpam/ depend; \ ${MAKE} DIRPRFX=lib/libpam/ -D_NO_LIBPAM_SO_YET all; \ ${MAKE} DIRPRFX=lib/libpam/ -D_NO_LIBPAM_SO_YET install |