pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Use the mipspro-ucode bits if we're usin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f7c81d30bdaa
branches:  trunk
changeset: 469060:f7c81d30bdaa
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Feb 19 13:17:13 2004 +0000

description:
Use the mipspro-ucode bits if we're using the mipspro-ucode compiler.

diffstat:

 mk/buildlink3/bsd.buildlink3.mk |  31 ++++++++++++++++++++++++++++++-
 1 files changed, 30 insertions(+), 1 deletions(-)

diffs (59 lines):

diff -r 0c53615faeb4 -r f7c81d30bdaa mk/buildlink3/bsd.buildlink3.mk
--- a/mk/buildlink3/bsd.buildlink3.mk   Thu Feb 19 12:51:20 2004 +0000
+++ b/mk/buildlink3/bsd.buildlink3.mk   Thu Feb 19 13:17:13 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.96 2004/02/19 12:50:47 jlam Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.97 2004/02/19 13:17:13 jlam Exp $
 #
 # An example package buildlink3.mk file:
 #
@@ -1122,6 +1122,23 @@
 _BLNK_WRAP_POST_LOGIC.CXX=             ${BUILDLINK_DIR}/bin/.mipspro-cc-post-logic
 .endif # mipspro
 
+.if !empty(PKGSRC_COMPILER:Mmipspro-ucode)
+_BLNK_WRAP_PRIVATE_PRE_CACHE.CC=       ${_BLNK_WRAP_PRE_CACHE}
+_BLNK_WRAP_PRIVATE_CACHE_ADD.CC=       ${BUILDLINK_DIR}/bin/.mipspro-ucode-cc-cache-add
+_BLNK_WRAP_PRIVATE_CACHE.CC=           ${BUILDLINK_DIR}/bin/.mipspro-ucode-cc-cache
+_BLNK_WRAP_PRIVATE_POST_CACHE.CC=      ${BUILDLINK_DIR}/bin/.mipspro-ucode-cc-post-cache
+_BLNK_WRAP_POST_LOGIC.CC=              ${BUILDLINK_DIR}/bin/.mipspro-ucode-cc-post-logic
+#
+# The MIPSpro ucode C++ compiler wrapper shares cache information with the C
+# compiler.
+#
+_BLNK_WRAP_PRIVATE_PRE_CACHE.CXX=      ${_BLNK_WRAP_PRE_CACHE}
+_BLNK_WRAP_PRIVATE_CACHE_ADD.CXX=      ${BUILDLINK_DIR}/bin/.mipspro-ucode-cc-cache-add
+_BLNK_WRAP_PRIVATE_CACHE.CXX=          ${BUILDLINK_DIR}/bin/.mipspro-ucode-cc-cache
+_BLNK_WRAP_PRIVATE_POST_CACHE.CXX=     ${BUILDLINK_DIR}/bin/.mipspro-ucode-cc-post-cache
+_BLNK_WRAP_POST_LOGIC.CXX=             ${BUILDLINK_DIR}/bin/.mipspro-ucode-cc-post-logic
+.endif # mipspro-ucode
+
 .if !empty(PKGSRC_COMPILER:Msunpro)
 _BLNK_WRAP_PRIVATE_PRE_CACHE.CC=       ${_BLNK_WRAP_PRE_CACHE}
 _BLNK_WRAP_PRIVATE_CACHE_ADD.CC=       ${BUILDLINK_DIR}/bin/.sunpro-cc-cache-add
@@ -1411,6 +1428,12 @@
        ${_PKG_SILENT}${_PKG_DEBUG}${CAT} ${.ALLSRC}                    \
                | ${_BLNK_SH_CRUNCH_FILTER} > ${.TARGET}
 
+${BUILDLINK_DIR}/bin/.mipspro-ucode-cc-post-cache:                     \
+               ${.CURDIR}/../../mk/buildlink3/mipspro-ucode-cc-post-cache
+       ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${.TARGET:H}
+       ${_PKG_SILENT}${_PKG_DEBUG}${CAT} ${.ALLSRC}                    \
+               | ${_BLNK_SH_CRUNCH_FILTER} > ${.TARGET}
+
 ${BUILDLINK_DIR}/bin/.sunpro-cc-post-cache:                            \
                ${.CURDIR}/../../mk/buildlink3/sunpro-cc-post-cache
        ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${.TARGET:H}
@@ -1488,6 +1511,12 @@
        ${_PKG_SILENT}${_PKG_DEBUG}${CAT} ${.ALLSRC}                    \
                | ${_BLNK_SH_CRUNCH_FILTER} > ${.TARGET}
 
+${BUILDLINK_DIR}/bin/.mipspro-ucode-cc-post-logic:                     \
+               ${.CURDIR}/../../mk/buildlink3/mipspro-ucode-cc-post-logic
+       ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${.TARGET:H}
+       ${_PKG_SILENT}${_PKG_DEBUG}${CAT} ${.ALLSRC}                    \
+               | ${_BLNK_SH_CRUNCH_FILTER} > ${.TARGET}
+
 ${BUILDLINK_DIR}/bin/.sunpro-cc-post-logic:                            \
                ${.CURDIR}/../../mk/buildlink3/sunpro-cc-post-logic
        ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${.TARGET:H}



Home | Main Index | Thread Index | Old Index