Makefile.libcompat (eb61f7bdf266d0baa4469c6ddd0e9cafe4262aa3) Makefile.libcompat (75766799863334570acf7a65510361f470ce3b3e)
1# $FreeBSD$
2
3.if !targets(__<${_this:T}>__)
4__<${_this:T}>__:
5
6# Makefile for the compatibility libraries.
7# - 32-bit compat libraries on MIPS, PowerPC, and AMD64.
8

--- 48 unchanged lines hidden (view full) ---

57
58
59# Shared logic
60build${libcompat}: .PHONY
61 @echo
62 @echo "--------------------------------------------------------------"
63 @echo ">>> stage 4.3: building lib${libcompat} shim libraries"
64 @echo "--------------------------------------------------------------"
1# $FreeBSD$
2
3.if !targets(__<${_this:T}>__)
4__<${_this:T}>__:
5
6# Makefile for the compatibility libraries.
7# - 32-bit compat libraries on MIPS, PowerPC, and AMD64.
8

--- 48 unchanged lines hidden (view full) ---

57
58
59# Shared logic
60build${libcompat}: .PHONY
61 @echo
62 @echo "--------------------------------------------------------------"
63 @echo ">>> stage 4.3: building lib${libcompat} shim libraries"
64 @echo "--------------------------------------------------------------"
65.if !defined(NO_CLEAN)
65.if ${MK_CLEAN} == "yes"
66 rm -rf ${LIBCOMPATTMP}
67.else
68 ${_+_}@if [ -e "${LIBCOMPATTMP}" ]; then \
69 echo ">>> Deleting stale files in build${libcompat} tree..."; \
70 cd ${.CURDIR}; ${WMAKE} -DBATCH_DELETE_OLD_FILES \
71 DESTDIR=${LIBCOMPATTMP} \
72 delete-old delete-old-libs >/dev/null; \
73 fi
66 rm -rf ${LIBCOMPATTMP}
67.else
68 ${_+_}@if [ -e "${LIBCOMPATTMP}" ]; then \
69 echo ">>> Deleting stale files in build${libcompat} tree..."; \
70 cd ${.CURDIR}; ${WMAKE} -DBATCH_DELETE_OLD_FILES \
71 DESTDIR=${LIBCOMPATTMP} \
72 delete-old delete-old-libs >/dev/null; \
73 fi
74.endif # !defined(NO_CLEAN)
74.endif # MK_CLEAN == "yes"
75
76 mkdir -p ${LIBCOMPATTMP}/usr/include
77 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.usr.dist \
78 -p ${LIBCOMPATTMP}/usr >/dev/null
79 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.include.dist \
80 -p ${LIBCOMPATTMP}/usr/include >/dev/null
81 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.lib${libcompat}.dist \
82 -p ${LIBCOMPATTMP}/usr >/dev/null

--- 37 unchanged lines hidden ---
75
76 mkdir -p ${LIBCOMPATTMP}/usr/include
77 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.usr.dist \
78 -p ${LIBCOMPATTMP}/usr >/dev/null
79 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.include.dist \
80 -p ${LIBCOMPATTMP}/usr/include >/dev/null
81 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.lib${libcompat}.dist \
82 -p ${LIBCOMPATTMP}/usr >/dev/null

--- 37 unchanged lines hidden ---