Changeset View
Changeset View
Standalone View
Standalone View
head/share/mk/bsd.README
Show First 20 Lines • Show All 244 Lines • ▼ Show 20 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 program and its manual pages; if the Makefile | install the program and its manual pages; if the Makefile | ||||
does not itself define the target install, the targets | does not itself define the target install, the targets | ||||
beforeinstall and afterinstall may also be used to cause | beforeinstall and afterinstall may also be used to cause | ||||
actions immediately before and after the install target | actions immediately before and after the install target | ||||
is executed. | is executed. | ||||
lint: | |||||
run lint on the source files | |||||
tags: | tags: | ||||
create a tags file for the source files. | create a tags file for the source files. | ||||
It sets/uses the following variables: | It sets/uses the following variables: | ||||
ACFLAGS Flags to the compiler when preprocessing and | ACFLAGS Flags to the compiler when preprocessing and | ||||
assembling .S files. | assembling .S files. | ||||
▲ Show 20 Lines • Show All 220 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, and tags. For all of the directories listed in the | ||||
listed in the variable SUBDIRS, the specified directory will be visited | variable SUBDIRS, the specified directory will be visited and the target made. | ||||
and the target made. There is also a default target which allows the | There is also a default target which allows the command "make subdir" where | ||||
command "make subdir" where subdir is any directory listed in the variable | 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 | ||||
the same seven targets as <bsd.prog.mk>: all, clean, cleandir, depend, | same seven targets as <bsd.prog.mk>: all, clean, cleandir, depend, install, and | ||||
install, lint, and tags. It has a limited number of suffixes, consistent | tags. It has a limited number of suffixes, consistent with the current needs of | ||||
with the current needs of the BSD tree. | 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 | ||||
static library. | static library. | ||||
Show All 14 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: | |||||
run lint on the source files. | |||||
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 |