Source-Changes-HG archive

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

[src/trunk]: src/share/mk Need to provide alternate definitions of __archive{...



details:   https://anonhg.NetBSD.org/src/rev/8875912d5066
branches:  trunk
changeset: 556673:8875912d5066
user:      rtr <rtr%NetBSD.org@localhost>
date:      Tue Dec 23 10:30:02 2003 +0000

description:
Need to provide alternate definitions of __archive{build,install} for x11.
approved by lukem

diffstat:

 share/mk/bsd.lib.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 287e8145e7c4 -r 8875912d5066 share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk       Tue Dec 23 10:26:37 2003 +0000
+++ b/share/mk/bsd.lib.mk       Tue Dec 23 10:30:02 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.lib.mk,v 1.242 2003/12/07 12:56:45 simonb Exp $
+#      $NetBSD: bsd.lib.mk,v 1.243 2003/12/23 10:30:02 rtr Exp $
 #      @(#)bsd.lib.mk  8.3 (Berkeley) 4/22/94
 
 .include <bsd.init.mk>
@@ -385,16 +385,20 @@
 
 realall: ${SRCS} ${ALLOBJS:O} ${_LIBS}
 
+.if !target(__archivebuild)
 __archivebuild: .USE
        ${_MKTARGET_BUILD}
        rm -f ${.TARGET}
        ${AR} cq ${.TARGET} `NM=${NM} ${LORDER} ${.ALLSRC:M*o} | ${TSORT}`
        ${RANLIB} ${.TARGET}
+.endif
 
+.if !target(__archiveinstall)
 __archiveinstall: .USE
        ${_MKTARGET_INSTALL}
        ${INSTALL_FILE} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
            ${UPDATE:D:U-a "${RANLIB} -t"} ${SYSPKGTAG} ${.ALLSRC} ${.TARGET}
+.endif
 
 __archivesymlinkpic: .USE
        ${_MKTARGET_INSTALL}



Home | Main Index | Thread Index | Old Index