bsd.README (1409e715e64d67b3093a889e63b33ef48e280ec8) bsd.README (1cbb58886a477cf282072eaa331d8122e36e9952)
1# @(#)bsd.README 8.2 (Berkeley) 4/2/94
2# $FreeBSD$
3
4This is the README file for the "include" files for the FreeBSD
5source tree. The files are installed in /usr/share/mk, and are by
6convention, named with the suffix ".mk". These files store several
7build options and should be handled with caution.
8

--- 236 unchanged lines hidden (view full) ---

245 make the dependencies for the source files, and store
246 them in the file .depend.
247 install:
248 install the program and its manual pages; if the Makefile
249 does not itself define the target install, the targets
250 beforeinstall and afterinstall may also be used to cause
251 actions immediately before and after the install target
252 is executed.
1# @(#)bsd.README 8.2 (Berkeley) 4/2/94
2# $FreeBSD$
3
4This is the README file for the "include" files for the FreeBSD
5source tree. The files are installed in /usr/share/mk, and are by
6convention, named with the suffix ".mk". These files store several
7build options and should be handled with caution.
8

--- 236 unchanged lines hidden (view full) ---

245 make the dependencies for the source files, and store
246 them in the file .depend.
247 install:
248 install the program and its manual pages; if the Makefile
249 does not itself define the target install, the targets
250 beforeinstall and afterinstall may also be used to cause
251 actions immediately before and after the install target
252 is executed.
253 lint:
254 run lint on the source files
255 tags:
256 create a tags file for the source files.
257
258It sets/uses the following variables:
259
260ACFLAGS Flags to the compiler when preprocessing and
261 assembling .S files.
262

--- 220 unchanged lines hidden (view full) ---

483 The files are generated via "gensnmptree -e".
484
485 See gensnmptree(1) for more details.
486
487=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
488
489The include file <bsd.subdir.mk> contains the default targets for building
490subdirectories. It has the same seven targets as <bsd.prog.mk>: all, clean,
253 tags:
254 create a tags file for the source files.
255
256It sets/uses the following variables:
257
258ACFLAGS Flags to the compiler when preprocessing and
259 assembling .S files.
260

--- 220 unchanged lines hidden (view full) ---

481 The files are generated via "gensnmptree -e".
482
483 See gensnmptree(1) for more details.
484
485=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
486
487The include file <bsd.subdir.mk> contains the default targets for building
488subdirectories. It has the same seven targets as <bsd.prog.mk>: all, clean,
491cleandir, depend, install, lint, and tags. For all of the directories
492listed in the variable SUBDIRS, the specified directory will be visited
493and the target made. There is also a default target which allows the
494command "make subdir" where subdir is any directory listed in the variable
495SUBDIRS.
489cleandir, depend, install, and tags. For all of the directories listed in the
490variable SUBDIRS, the specified directory will be visited and the target made.
491There is also a default target which allows the command "make subdir" where
492subdir is any directory listed in the variable SUBDIRS.
496
497=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
498
493
494=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
495
499The include file <bsd.lib.mk> has support for building libraries. It has
500the same seven targets as <bsd.prog.mk>: all, clean, cleandir, depend,
501install, lint, and tags. It has a limited number of suffixes, consistent
502with the current needs of the BSD tree.
496The include file <bsd.lib.mk> has support for building libraries. It has the
497same seven targets as <bsd.prog.mk>: all, clean, cleandir, depend, install, and
498tags. It has a limited number of suffixes, consistent with the current needs of
499the BSD tree.
503
504It sets/uses the following variables:
505
506LDADD Additional loader objects.
507
508LIB The name of the library to build. Both a shared and static
509 library will be built. NO_PIC can be set to only build a
510 static library.

--- 14 unchanged lines hidden (view full) ---

525
526LIB_CXX The name of the library to build. It also causes
527 <bsd.lib.mk> to link the library with the
528 standard C++ library. LIB_CXX overrides the value
529 of LIB if LIB is also set. Both a shared and static library
530 will be built. NO_PIC can be set to only build a static
531 library.
532
500
501It sets/uses the following variables:
502
503LDADD Additional loader objects.
504
505LIB The name of the library to build. Both a shared and static
506 library will be built. NO_PIC can be set to only build a
507 static library.

--- 14 unchanged lines hidden (view full) ---

522
523LIB_CXX The name of the library to build. It also causes
524 <bsd.lib.mk> to link the library with the
525 standard C++ library. LIB_CXX overrides the value
526 of LIB if LIB is also set. Both a shared and static library
527 will be built. NO_PIC can be set to only build a static
528 library.
529
533LINTLIBDIR Target directory for lint libraries.
534
535MAN The manual pages to be installed. See bsd.man.mk for more
536 details.
537
538SHLIB Like LIB but only builds a shared library.
539
540SHLIB_CXX Like LIB_CXX but only builds a shared library.
541
542SHLIB_LDSCRIPT Template file to generate shared library linker script.

--- 40 unchanged lines hidden (view full) ---

583 make the dependencies for the source files, and store
584 them in the file .depend.
585 install:
586 install the test programs and their data files; if the
587 Makefile does not itself define the target install, the
588 targets beforeinstall and afterinstall may also be used
589 to cause actions immediately before and after the
590 install target is executed.
530MAN The manual pages to be installed. See bsd.man.mk for more
531 details.
532
533SHLIB Like LIB but only builds a shared library.
534
535SHLIB_CXX Like LIB_CXX but only builds a shared library.
536
537SHLIB_LDSCRIPT Template file to generate shared library linker script.

--- 40 unchanged lines hidden (view full) ---

578 make the dependencies for the source files, and store
579 them in the file .depend.
580 install:
581 install the test programs and their data files; if the
582 Makefile does not itself define the target install, the
583 targets beforeinstall and afterinstall may also be used
584 to cause actions immediately before and after the
585 install target is executed.
591 lint:
592 run lint on the source files.
593 tags:
594 create a tags file for the source files.
595
596It sets/uses the following variables, among many others:
597
598ATF_TESTS_C The names of the ATF C test programs to build.
599
600ATF_TESTS_CXX The names of the ATF C++ test programs to build.

--- 64 unchanged lines hidden ---
586 tags:
587 create a tags file for the source files.
588
589It sets/uses the following variables, among many others:
590
591ATF_TESTS_C The names of the ATF C test programs to build.
592
593ATF_TESTS_CXX The names of the ATF C++ test programs to build.

--- 64 unchanged lines hidden ---