diff options
Diffstat (limited to 'share/mk/bsd.README')
-rw-r--r-- | share/mk/bsd.README | 36 |
1 files changed, 31 insertions, 5 deletions
diff --git a/share/mk/bsd.README b/share/mk/bsd.README index bda9a8c..e386955 100644 --- a/share/mk/bsd.README +++ b/share/mk/bsd.README @@ -314,9 +314,27 @@ PROGS_CXX PROG and PROGS_CXX in one Makefile. To define LDADD.foo= -lutil SRCS.bar= bar_src.c - The supported variables are BINDIR BINGRP BINMODE BINOWN - CFLAGS CXXFLAGS DPADD DPSRCS LDADD - LDFLAGS LIBADD MAN MLINKS PROGNAME SRCS. + The supported variables are: + - BINDIR + - BINGRP + - BINMODE + - BINOWN + - CFLAGS + - CXXFLAGS + - DEBUG_FLAGS + - DPADD + - DPSRCS + - LDADD + - LDFLAGS + - LIBADD + - LINKS + - MAN + - MLINKS + - NO_WERROR + - PROGNAME + - SRCS + - STRIP + - WARNS PROGNAME The name that the above program will be installed as, if different from ${PROG}. @@ -401,12 +419,16 @@ with the current needs of the BSD tree. It sets/uses the following variables: -LIB The name of the library to build. +LIB The name of the library to build. Both a shared and static + library will be built. NO_PIC can be set to only build a + static library. LIB_CXX The name of the library to build. It also causes <bsd.lib.mk> to link the library with the standard C++ library. LIB_CXX overrides the value - of LIB if LIB is also set. + of LIB if LIB is also set. Both a shared and static library + will be built. NO_PIC can be set to only build a static + library. LIBDIR Target directory for libraries. @@ -431,6 +453,10 @@ SRCS List of source files to build the library. Suffix types to .c files of the same name. (This is not the default for versions of make.) +SHLIB Like LIB but only builds a shared library. + +SHLIB_CXX Like LIB_CXX but only builds a shared library. + SHLIB_LDSCRIPT Template file to generate shared library linker script. Unless used, a simple symlink is created to the real shared object. |