Changeset View
Changeset View
Standalone View
Standalone View
share/mk/bsd.README
Show First 20 Lines • Show All 482 Lines • ▼ Show 20 Lines | ${MOD}_oid.h A header which programmatically describes the MIB root and | ||||
The files are generated via "gensnmptree -e". | The files are generated via "gensnmptree -e". | ||||
See gensnmptree(1) for more details. | See gensnmptree(1) for more details. | ||||
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | ||||
The include file <bsd.subdir.mk> contains the default targets for building | The include file <bsd.subdir.mk> contains the default targets for building | ||||
subdirectories. It has the same seven targets as <bsd.prog.mk>: all, clean, | subdirectories. It has the same seven targets as <bsd.prog.mk>: all, clean, | ||||
cleandir, depend, install, lint, and tags. For all of the directories | cleandir, depend, install, lint, and tags. For all of the directories | ||||
bdrewery: lint | |||||
listed in the variable SUBDIRS, the specified directory will be visited | listed in the variable SUBDIRS, the specified directory will be visited | ||||
and the target made. There is also a default target which allows the | and the target made. There is also a default target which allows the | ||||
command "make subdir" where subdir is any directory listed in the variable | command "make subdir" where subdir is any directory listed in the variable | ||||
SUBDIRS. | SUBDIRS. | ||||
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | ||||
The include file <bsd.lib.mk> has support for building libraries. It has | The include file <bsd.lib.mk> has support for building libraries. It has | ||||
the same seven targets as <bsd.prog.mk>: all, clean, cleandir, depend, | the same seven targets as <bsd.prog.mk>: all, clean, cleandir, depend, | ||||
install, lint, and tags. It has a limited number of suffixes, consistent | install, lint, and tags. It has a limited number of suffixes, consistent | ||||
bdreweryUnsubmitted Not Done Inline Actionslint bdrewery: lint | |||||
with the current needs of the BSD tree. | with the current needs of the BSD tree. | ||||
It sets/uses the following variables: | It sets/uses the following variables: | ||||
LDADD Additional loader objects. | LDADD Additional loader objects. | ||||
LIB The name of the library to build. Both a shared and static | 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 | library will be built. NO_PIC can be set to only build a | ||||
Show All 15 Lines | |||||
LIB_CXX The name of the library to build. It also causes | LIB_CXX The name of the library to build. It also causes | ||||
<bsd.lib.mk> to link the library with the | <bsd.lib.mk> to link the library with the | ||||
standard C++ library. LIB_CXX overrides the value | standard C++ library. LIB_CXX overrides the value | ||||
of LIB if LIB is also set. Both a shared and static library | 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 | will be built. NO_PIC can be set to only build a static | ||||
library. | library. | ||||
LINTLIBDIR Target directory for lint libraries. | |||||
MAN The manual pages to be installed. See bsd.man.mk for more | MAN The manual pages to be installed. See bsd.man.mk for more | ||||
details. | details. | ||||
SHLIB Like LIB but only builds a shared library. | SHLIB Like LIB but only builds a shared library. | ||||
SHLIB_CXX Like LIB_CXX 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. | SHLIB_LDSCRIPT Template file to generate shared library linker script. | ||||
Show All 40 Lines | depend: | ||||
make the dependencies for the source files, and store | make the dependencies for the source files, and store | ||||
them in the file .depend. | them in the file .depend. | ||||
install: | install: | ||||
install the test programs and their data files; if the | install the test programs and their data files; if the | ||||
Makefile does not itself define the target install, the | Makefile does not itself define the target install, the | ||||
targets beforeinstall and afterinstall may also be used | targets beforeinstall and afterinstall may also be used | ||||
to cause actions immediately before and after the | to cause actions immediately before and after the | ||||
install target is executed. | install target is executed. | ||||
lint: | lint: | ||||
run lint on the source files. | run lint on the source files. | ||||
bdreweryUnsubmitted Not Done Inline Actionsthis is still here bdrewery: this is still here | |||||
tags: | tags: | ||||
create a tags file for the source files. | create a tags file for the source files. | ||||
It sets/uses the following variables, among many others: | It sets/uses the following variables, among many others: | ||||
ATF_TESTS_C The names of the ATF C test programs to build. | ATF_TESTS_C The names of the ATF C test programs to build. | ||||
ATF_TESTS_CXX The names of the ATF C++ test programs to build. | ATF_TESTS_CXX The names of the ATF C++ test programs to build. | ||||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |
lint