Source-Changes-HG archive

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

[src/trunk]: src/share/mk document PROGS and PROGS_CXX, and default c++ SRCS



details:   https://anonhg.NetBSD.org/src/rev/2f4380d6671b
branches:  trunk
changeset: 934971:2f4380d6671b
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Jun 21 13:29:05 2020 +0000

description:
document PROGS and PROGS_CXX, and default c++ SRCS

diffstat:

 share/mk/bsd.README |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r c824fec23ef1 -r 2f4380d6671b share/mk/bsd.README
--- a/share/mk/bsd.README       Sun Jun 21 08:02:43 2020 +0000
+++ b/share/mk/bsd.README       Sun Jun 21 13:29:05 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.README,v 1.407 2020/06/15 01:57:31 christos Exp $
+#      $NetBSD: bsd.README,v 1.408 2020/06/21 13:29:05 lukem Exp $
 #      @(#)bsd.README  8.2 (Berkeley) 4/2/94
 
 This is the README file for the make "include" files for the NetBSD
@@ -1645,8 +1645,16 @@
 PROGNAME       The name that the above program will be installed as, if
                different from ${PROG}.
 
+PROGS          Multiple programs to build from a single directory.
+               Defaults to PROG. For each program ${_P} in ${PROGS},
+               uses SRCS.${_P}, defaulting to ${_P}.c.
+
+PROGS_CXX      Multiple C++ programs to build from a single directory.
+               Defaults to PROG_CXX. For each program ${_P} in ${PROGS_CXX},
+               uses SRCS.${_P}, defaulting to ${_P}.cc.
+
 SRCS           List of source files to build the program.  If SRCS is not
-               defined, it's assumed to be ${PROG}.c.
+               defined, it's assumed to be ${PROG}.c or ${PROG_CXX}.cc.
 
 DPSRCS         List of source files which are needed for generating
                dependencies, but are not needed in ${SRCS}.



Home | Main Index | Thread Index | Old Index