diff options
author | ru <ru@FreeBSD.org> | 2002-04-11 10:44:30 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-04-11 10:44:30 +0000 |
commit | 42b9c98c9a8730a1060f643d70d77684b2327b38 (patch) | |
tree | fcd5c6f5712449594ac94975fbce7f723caa26b6 /share/mk/bsd.README | |
parent | 7cbe328a88eda9b9baa7d15ba80c4fa79ae59e0a (diff) | |
download | FreeBSD-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.README | 8 |
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 |