summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.README
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-04-11 10:44:30 +0000
committerru <ru@FreeBSD.org>2002-04-11 10:44:30 +0000
commit42b9c98c9a8730a1060f643d70d77684b2327b38 (patch)
treefcd5c6f5712449594ac94975fbce7f723caa26b6 /share/mk/bsd.README
parent7cbe328a88eda9b9baa7d15ba80c4fa79ae59e0a (diff)
downloadFreeBSD-src-42b9c98c9a8730a1060f643d70d77684b2327b38.zip
FreeBSD-src-42b9c98c9a8730a1060f643d70d77684b2327b38.tar.gz
Implement PROG_CXX for <bsd.prog.mk>.
Obtained from: NetBSD (with some mods) Reviewed by: peter
Diffstat (limited to 'share/mk/bsd.README')
-rw-r--r--share/mk/bsd.README8
1 files changed, 7 insertions, 1 deletions
diff --git a/share/mk/bsd.README b/share/mk/bsd.README
index 9a7140e..3c292aa 100644
--- a/share/mk/bsd.README
+++ b/share/mk/bsd.README
@@ -226,11 +226,17 @@ MAN Manual pages (should end in .1 - .9). If no MAN variable
PROG The name of the program to build. If not supplied, nothing
is built.
+PROG_CXX If defined, the name of the program to build. Also
+ causes <bsd.prog.mk> to link the program with the
+ standard C++ library. PROG_CXX overrides the value
+ of PROG if PROG is also set.
+
PROGNAME The name that the above program will be installed as, if
different from ${PROG}.
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, if PROG_CXX is
+ defined, ${PROG_CXX}.cc.
DPADD Additional dependencies for the program. Usually used for
libraries. For example, to depend on the compatibility and
OpenPOWER on IntegriCloud