Source-Changes-HG archive

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

[src/trunk]: src Change `LNFILES' to `BUILDSYMLINKS', to more accurately desc...



details:   https://anonhg.NetBSD.org/src/rev/c32668cc5b94
branches:  trunk
changeset: 552151:c32668cc5b94
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Sep 20 06:20:41 2003 +0000

description:
Change `LNFILES' to `BUILDSYMLINKS', to more accurately describe its purpose.
Per discussion with Simon Gerraty.

diffstat:

 share/mk/bsd.README                |   4 ++--
 share/mk/bsd.files.mk              |  22 +++++++++++-----------
 sys/lkm/dev/vnd/Makefile           |   4 ++--
 sys/lkm/exec/ultrix_ecoff/Makefile |   4 ++--
 usr.sbin/sup/lib/Makefile          |   4 ++--
 x11/Xserver/cfb/Makefile.cfb       |   6 +++---
 x11/Xserver/include/Makefile       |  16 ++++++++--------
 x11/Xserver/mfb/Makefile           |   4 ++--
 x11/Xserver/xkb/Makefile           |   6 +++---
 x11/bin/beforelight/Makefile       |   5 +++--
 x11/bin/bitmap/Makefile            |   4 ++--
 x11/bin/ccmakedep/Makefile         |   4 ++--
 x11/bin/editres/Makefile           |   4 ++--
 x11/bin/gccmakedep/Makefile        |   4 ++--
 x11/bin/makedepend/Makefile        |   4 ++--
 x11/bin/oclock/Makefile            |   4 ++--
 x11/bin/rstart/Makefile            |   4 ++--
 x11/bin/ssh-askpass/Makefile       |   4 ++--
 x11/bin/x11perf/Makefile           |   6 +++---
 x11/bin/xcalc/Makefile             |   4 ++--
 x11/bin/xditview/Makefile          |   4 ++--
 x11/bin/xdm/config/Makefile        |   4 ++--
 x11/bin/xfs/Makefile               |   4 ++--
 x11/bin/xlogo/Makefile             |   4 ++--
 x11/bin/xlsclients/Makefile        |   4 ++--
 x11/bin/xsetpointer/Makefile       |   4 ++--
 x11/bin/xterm/Makefile             |   8 ++++----
 x11/lib/X11/Makefile.libx11        |   4 ++--
 x11/lib/font/Makefile              |   6 +++---
 x11/share/cf/Makefile              |   5 +++--
 x11/share/fonts/util/Makefile      |  36 ++++++++++++++++++------------------
 x11/share/man/GL/gl/Makefile       |   5 +++--
 x11/share/man/GL/glx/Makefile      |   5 +++--
 x11/share/man/GLU/Makefile         |   5 +++--
 x11/share/man/GLw/Makefile         |   5 +++--
 x11/share/man/X11/Makefile         |   5 +++--
 x11/share/man/Xext/Makefile        |   5 +++--
 x11/share/man/Xext/dbe/Makefile    |   5 +++--
 x11/share/man/Xi/Makefile          |   5 +++--
 x11/share/man/Xt/Makefile          |   5 +++--
 x11/share/man/general/Makefile     |   7 ++++---
 x11/tools/pswrap/Makefile          |   4 ++--
 42 files changed, 134 insertions(+), 122 deletions(-)

diffs (truncated from 864 to 300 lines):

diff -r d4f9927adf6a -r c32668cc5b94 share/mk/bsd.README
--- a/share/mk/bsd.README       Sat Sep 20 05:14:41 2003 +0000
+++ b/share/mk/bsd.README       Sat Sep 20 06:20:41 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.README,v 1.138 2003/09/13 19:08:26 lukem Exp $
+#      $NetBSD: bsd.README,v 1.139 2003/09/20 06:20:41 lukem Exp $
 #      @(#)bsd.README  8.2 (Berkeley) 4/2/94
 
 This is the README file for the new make "include" files for the BSD
@@ -460,7 +460,7 @@
 
 FILESNAME.<fn> Optional name to install <fn> as.
 
-LNFILES                List of two word items:
+BUILDSYMLINKS  List of two word items:
                        lnsrc lntgt
                For each lnsrc item, create a symlink named lntgt.
                The lntgt symlinks are removed by the cleandir target.
diff -r d4f9927adf6a -r c32668cc5b94 share/mk/bsd.files.mk
--- a/share/mk/bsd.files.mk     Sat Sep 20 05:14:41 2003 +0000
+++ b/share/mk/bsd.files.mk     Sat Sep 20 06:20:41 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.files.mk,v 1.23 2003/09/03 07:09:39 lukem Exp $
+#      $NetBSD: bsd.files.mk,v 1.24 2003/09/20 06:20:41 lukem Exp $
 
 .if !defined(_BSD_FILES_MK_)
 _BSD_FILES_MK_=1
@@ -55,24 +55,24 @@
 
 
 #
-# LNFILES
+# BUILDSYMLINKS
 #
-.if defined(LNFILES)                                           # {
+.if defined(BUILDSYMLINKS)                                     # {
 
-.for _SL _TL in ${LNFILES}
-LNFILES.s+=    ${_SL}
-LNFILES.t+=    ${_TL}
+.for _SL _TL in ${BUILDSYMLINKS}
+BUILDSYMLINKS.s+=      ${_SL}
+BUILDSYMLINKS.t+=      ${_TL}
 ${_TL}: ${_SL}
        rm -f ${.TARGET}
        ln -s ${.ALLSRC} ${.TARGET}
 .endfor
 
-realall: ${LNFILES.t}
+realall: ${BUILDSYMLINKS.t}
 
-.PHONY:   cleanlnfiles
-cleandir: cleanlnfiles
-cleanlnfiles:
-       rm -f ${LNFILES.t}
+.PHONY:   cleanbuildsymlinks
+cleandir: cleanbuildsymlinks
+cleanbuildsymlinks:
+       rm -f ${BUILDSYMLINKS.t}
 
 .endif                                                         # }
 
diff -r d4f9927adf6a -r c32668cc5b94 sys/lkm/dev/vnd/Makefile
--- a/sys/lkm/dev/vnd/Makefile  Sat Sep 20 05:14:41 2003 +0000
+++ b/sys/lkm/dev/vnd/Makefile  Sat Sep 20 06:20:41 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2003/09/04 07:18:01 lukem Exp $
+#      $NetBSD: Makefile,v 1.3 2003/09/20 06:20:42 lukem Exp $
 
 .include "../Makefile.inc"
 
@@ -8,6 +8,6 @@
 
 SRCS=   lkminit_vnd.c real-vnd.c
 
-LNFILES+=${S}/dev/vnd.c real-vnd.c
+BUILDSYMLINKS+=${S}/dev/vnd.c real-vnd.c
 
 .include <bsd.kmod.mk>
diff -r d4f9927adf6a -r c32668cc5b94 sys/lkm/exec/ultrix_ecoff/Makefile
--- a/sys/lkm/exec/ultrix_ecoff/Makefile        Sat Sep 20 05:14:41 2003 +0000
+++ b/sys/lkm/exec/ultrix_ecoff/Makefile        Sat Sep 20 06:20:41 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2003/09/04 07:18:02 lukem Exp $
+#      $NetBSD: Makefile,v 1.8 2003/09/20 06:20:43 lukem Exp $
 
 .include "../Makefile.inc"
 
@@ -11,6 +11,6 @@
 SRCS=  lkminit_exec.c
 SRCS+= ultrix_exec_ecoff.c
 
-LNFILES+=${S}/arch/mips/include mips
+BUILDSYMLINKS+=${S}/arch/mips/include mips
 
 .include <bsd.kmod.mk>
diff -r d4f9927adf6a -r c32668cc5b94 usr.sbin/sup/lib/Makefile
--- a/usr.sbin/sup/lib/Makefile Sat Sep 20 05:14:41 2003 +0000
+++ b/usr.sbin/sup/lib/Makefile Sat Sep 20 06:20:41 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2003/09/04 06:42:50 lukem Exp $
+#      $NetBSD: Makefile,v 1.8 2003/09/20 06:20:43 lukem Exp $
 
 NOLINT=        # defined
 NOPIC= # defined
@@ -13,7 +13,7 @@
 
 .PATH: ${.CURDIR}/../source
 
-LNFILES=       ${.CURDIR}/../source/netcryptvoid.c netcrypt.c
+BUILDSYMLINKS= ${.CURDIR}/../source/netcryptvoid.c netcrypt.c
 
 # only needed during build
 libinstall::
diff -r d4f9927adf6a -r c32668cc5b94 x11/Xserver/cfb/Makefile.cfb
--- a/x11/Xserver/cfb/Makefile.cfb      Sat Sep 20 05:14:41 2003 +0000
+++ b/x11/Xserver/cfb/Makefile.cfb      Sat Sep 20 06:20:41 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.cfb,v 1.2 2003/09/19 18:32:41 lukem Exp $
+#      $NetBSD: Makefile.cfb,v 1.3 2003/09/20 06:20:44 lukem Exp $
 
 .include <bsd.own.mk>
 
@@ -27,7 +27,7 @@
                cfbzerarcC.c cfbzerarcG.c cfbzerarcX.c \
                cfbmodule.c
 
-LNFILES=       cfbline.c cfbseg.c \
+BUILDSYMLINKS= cfbline.c cfbseg.c \
                cfbfillarc.c cfbfillarcC.c \
                cfbfillarc.c cfbfillarcG.c \
                cfbzerarc.c cfbzerarcC.c \
@@ -57,7 +57,7 @@
 
 .if ${PIXELSIZE} == 8                                                  # {
 SRCS+=         cfb8bit.c cfbteblt8.c cfbglrop8.c cfbpush8.c cfbrctstp8.c
-LNFILES+=      cfbglblt8.c cfbglrop8.c
+BUILDSYMLINKS+=        cfbglblt8.c cfbglrop8.c
 .endif                                                                 # }
 
 XSERVERINCDIR!=        cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}
diff -r d4f9927adf6a -r c32668cc5b94 x11/Xserver/include/Makefile
--- a/x11/Xserver/include/Makefile      Sat Sep 20 05:14:41 2003 +0000
+++ b/x11/Xserver/include/Makefile      Sat Sep 20 06:20:41 2003 +0000
@@ -1,16 +1,16 @@
-#      $NetBSD: Makefile,v 1.2 2003/09/19 18:36:46 lukem Exp $
+#      $NetBSD: Makefile,v 1.3 2003/09/20 06:20:44 lukem Exp $
 
 .include <bsd.own.mk>
 
 XF86SRC=${X11SRCDIR.xc}/programs/Xserver/hw/xfree86
 
-LNFILES=${XF86SRC}/common/xf86Module.h         xf86Module.h \
-       ${XF86SRC}/common/xf86Opt.h             xf86Opt.h \
-       ${XF86SRC}/os-support/xf86_libc.h       xf86_libc.h \
-       ${XF86SRC}/os-support/xf86_ansic.h      xf86_ansic.h \
-       ${XF86SRC}/os-support/bus/xf86Pci.h     xf86Pci.h \
-       ${XF86SRC}/xf86Version.h                xf86Version.h \
-       ${XF86SRC}/common/compiler.h            compiler.h
+BUILDSYMLINKS= ${XF86SRC}/common/xf86Module.h          xf86Module.h \
+               ${XF86SRC}/common/xf86Opt.h             xf86Opt.h \
+               ${XF86SRC}/os-support/xf86_libc.h       xf86_libc.h \
+               ${XF86SRC}/os-support/xf86_ansic.h      xf86_ansic.h \
+               ${XF86SRC}/os-support/bus/xf86Pci.h     xf86Pci.h \
+               ${XF86SRC}/xf86Version.h                xf86Version.h \
+               ${XF86SRC}/common/compiler.h            compiler.h
 
 .include <bsd.x11.mk>
 .include <bsd.prog.mk>
diff -r d4f9927adf6a -r c32668cc5b94 x11/Xserver/mfb/Makefile
--- a/x11/Xserver/mfb/Makefile  Sat Sep 20 05:14:41 2003 +0000
+++ b/x11/Xserver/mfb/Makefile  Sat Sep 20 06:20:41 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1.1.1 2003/09/11 18:37:05 lukem Exp $
+#      $NetBSD: Makefile,v 1.2 2003/09/20 06:20:44 lukem Exp $
 
 .include <bsd.own.mk>
 
@@ -18,7 +18,7 @@
                mfbtewhite.c mfbtileC.c mfbtileG.c mfbwindow.c \
                mfbzerarc.c
 
-LNFILES=       mfbline.c mfbseg.c \
+BUILDSYMLINKS= mfbline.c mfbseg.c \
                mfbplygblt.c mfbpgbwht.c \
                mfbplygblt.c mfbpgbblak.c \
                mfbplygblt.c mfbpgbinv.c \
diff -r d4f9927adf6a -r c32668cc5b94 x11/Xserver/xkb/Makefile
--- a/x11/Xserver/xkb/Makefile  Sat Sep 20 05:14:41 2003 +0000
+++ b/x11/Xserver/xkb/Makefile  Sat Sep 20 06:20:41 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1.1.1 2003/09/11 18:37:06 lukem Exp $
+#      $NetBSD: Makefile,v 1.2 2003/09/20 06:20:45 lukem Exp $
 
 .include <bsd.own.mk>
 
@@ -15,7 +15,7 @@
                xkbPrOtherEv.c xkbSwap.c xkbUtils.c xkbconfig.c xkberrs.c \
                xkbfmisc.c xkbout.c xkbtext.c xkmread.c
 
-LNFILES+=      xkbmisc.c xkbfmisc.c
+BUILDSYMLINKS+=        xkbmisc.c xkbfmisc.c
 
 XSERVERINCDIR!=        cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}
 
@@ -36,7 +36,7 @@
 .for _S _T in  ddxKillSrv.c xf86KillSrv.c \
                ddxVT.c xf86VT.c \
                ddxPrivate.c xf86Private.c
-LNFILES+=              ${_S} ${_T}
+BUILDSYMLINKS+=                ${_S} ${_T}
 BUILDOBJS+=            ${_T:R}.o
 CPPFLAGS.${_T}=                -DXF86DDXACTIONS
 .endfor
diff -r d4f9927adf6a -r c32668cc5b94 x11/bin/beforelight/Makefile
--- a/x11/bin/beforelight/Makefile      Sat Sep 20 05:14:41 2003 +0000
+++ b/x11/bin/beforelight/Makefile      Sat Sep 20 06:20:41 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2003/09/13 20:18:01 lukem Exp $
+#      $NetBSD: Makefile,v 1.3 2003/09/20 06:20:45 lukem Exp $
 
 .include <bsd.own.mk>
 
@@ -7,7 +7,8 @@
 
 APPDEFS=Beforelight.ad
 
-LNFILES=b4light.man beforelight.man B4light.ad Beforelight.ad
+BUILDSYMLINKS= b4light.man beforelight.man \
+               B4light.ad Beforelight.ad
 
 LDADD+=        -lXss -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
 DPADD+=        ${LIBXSS} ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
diff -r d4f9927adf6a -r c32668cc5b94 x11/bin/bitmap/Makefile
--- a/x11/bin/bitmap/Makefile   Sat Sep 20 05:14:41 2003 +0000
+++ b/x11/bin/bitmap/Makefile   Sat Sep 20 06:20:41 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2003/09/14 06:36:59 lukem Exp $
+#      $NetBSD: Makefile,v 1.4 2003/09/20 06:20:46 lukem Exp $
 
 .include <bsd.own.mk>
 
@@ -13,7 +13,7 @@
 
 APPDEFS=Bitmap.ad Bitmap-color.ad
 
-LNFILES=Bitmap-co.ad Bitmap-color.ad
+BUILDSYMLINKS= Bitmap-co.ad Bitmap-color.ad
 
 LDADD+=        -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lm
 DPADD+=        ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
diff -r d4f9927adf6a -r c32668cc5b94 x11/bin/ccmakedep/Makefile
--- a/x11/bin/ccmakedep/Makefile        Sat Sep 20 05:14:41 2003 +0000
+++ b/x11/bin/ccmakedep/Makefile        Sat Sep 20 06:20:41 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2003/09/15 08:31:02 lukem Exp $
+#      $NetBSD: Makefile,v 1.2 2003/09/20 06:20:46 lukem Exp $
 
 .include <bsd.own.mk>
 
@@ -7,7 +7,7 @@
 SCRIPTS=       ${CPPSCRIPTS}
 MAN=           ccmakedep.1
 
-LNFILES=       mdepend.cpp ccmakedep.cpp
+BUILDSYMLINKS= mdepend.cpp ccmakedep.cpp
 
 .PATH: ${X11SRCDIR.xc}/config/util
 
diff -r d4f9927adf6a -r c32668cc5b94 x11/bin/editres/Makefile
--- a/x11/bin/editres/Makefile  Sat Sep 20 05:14:41 2003 +0000
+++ b/x11/bin/editres/Makefile  Sat Sep 20 06:20:41 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2003/09/13 20:18:03 lukem Exp $
+#      $NetBSD: Makefile,v 1.3 2003/09/20 06:20:46 lukem Exp $
 
 .include <bsd.own.mk>
 
@@ -8,7 +8,7 @@
 
 APPDEFS=Editres.ad Editres-color.ad
 
-LNFILES=Edit-col.ad Editres-color.ad
+BUILDSYMLINKS= Edit-col.ad Editres-color.ad
 
 LDADD+=        -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
 DPADD+=        ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
diff -r d4f9927adf6a -r c32668cc5b94 x11/bin/gccmakedep/Makefile
--- a/x11/bin/gccmakedep/Makefile       Sat Sep 20 05:14:41 2003 +0000
+++ b/x11/bin/gccmakedep/Makefile       Sat Sep 20 06:20:41 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2003/09/15 08:31:03 lukem Exp $
+#      $NetBSD: Makefile,v 1.2 2003/09/20 06:20:47 lukem Exp $
 
 .include <bsd.own.mk>
 
@@ -8,7 +8,7 @@
 SCRIPTS=       ${CPPSCRIPTS}
 MAN=           gccmakedep.1
 



Home | Main Index | Thread Index | Old Index