summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.README
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/bsd.README')
-rw-r--r--share/mk/bsd.README14
1 files changed, 14 insertions, 0 deletions
diff --git a/share/mk/bsd.README b/share/mk/bsd.README
index 8121c63..5f0c165 100644
--- a/share/mk/bsd.README
+++ b/share/mk/bsd.README
@@ -251,6 +251,20 @@ PROG_CXX If defined, the name of the program to build. Also
standard C++ library. PROG_CXX overrides the value
of PROG if PROG is also set.
+PROGS When used with <bsd.progs.mk>, allow building multiple
+PROGS_CXX PROG and PROGS_CXX in one Makefile. To define
+ individual variables for each program the VAR.prog
+ syntax should be used. For example:
+
+ PROGS= foo bar
+ SRCS.foo= foo_src.c
+ LDADD.foo= -lutil
+ SRCS.bar= bar_src.c
+
+ The supported variables are BINDIR BINGRP BINMODE BINOWN
+ CFLAGS CPPFLAGS CXXFLAGS DPADD DPLIBS DPSRCS LDADD
+ LDFLAGS MAN MLINKS PROGNAME SRCS.
+
PROGNAME The name that the above program will be installed as, if
different from ${PROG}.
OpenPOWER on IntegriCloud