bsd.README (2676) | bsd.README (3470) |
---|---|
1# @(#)bsd.README 8.2 (Berkeley) 4/2/94 2 | 1# @(#)bsd.README 8.2 (Berkeley) 4/2/94 2 |
3XXX This document is seriously out of date, it is currenly being revised. 4 5 Rod Grimes <rgrimes@freebsd.org> 6 |
|
3This is the README file for the new make "include" files for the BSD 4source tree. The files are installed in /usr/share/mk, and are, by 5convention, named with the suffix ".mk". Each ".mk" file has a 6corresponding ".rd" file which is an explanation of the ".mk" file. 7 8Note, this file is not intended to replace reading through the .mk 9files for anything tricky. 10 --- 76 unchanged lines hidden (view full) --- 87 or "/tahoe" for machine specific manual pages. 88 89MAN1 ... MAN8 The manual pages to be installed (use a .0 suffix). 90 91MLINKS List of manual page links (using a .1 - .8 suffix). The 92 linked-to file must come first, the linked file second, 93 and there may be multiple pairs. The files are soft-linked. 94 | 7This is the README file for the new make "include" files for the BSD 8source tree. The files are installed in /usr/share/mk, and are, by 9convention, named with the suffix ".mk". Each ".mk" file has a 10corresponding ".rd" file which is an explanation of the ".mk" file. 11 12Note, this file is not intended to replace reading through the .mk 13files for anything tricky. 14 --- 76 unchanged lines hidden (view full) --- 91 or "/tahoe" for machine specific manual pages. 92 93MAN1 ... MAN8 The manual pages to be installed (use a .0 suffix). 94 95MLINKS List of manual page links (using a .1 - .8 suffix). The 96 linked-to file must come first, the linked file second, 97 and there may be multiple pairs. The files are soft-linked. 98 |
95The include file <bsd.man.mk> includes a file named "../Makefile.inc" if 96it exists. | 99The include file <bsd.man.mk> includes the include file <bsd.inc.mk>. |
97 98=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 99 100The include file <bsd.own.mk> contains the owners, groups, etc. for both 101manual pages and binaries. 102 103It has no targets. 104 --- 94 unchanged lines hidden (view full) --- 199DPADD Additional dependencies for the program. Usually used for 200 libraries. For example, to depend on the compatibility and 201 utility libraries use: 202 203 SRCLIB=${LIBCOMPAT} ${LIBUTIL} 204 205 The following libraries are predefined for DPADD: 206 | 100 101=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 102 103The include file <bsd.own.mk> contains the owners, groups, etc. for both 104manual pages and binaries. 105 106It has no targets. 107 --- 94 unchanged lines hidden (view full) --- 202DPADD Additional dependencies for the program. Usually used for 203 libraries. For example, to depend on the compatibility and 204 utility libraries use: 205 206 SRCLIB=${LIBCOMPAT} ${LIBUTIL} 207 208 The following libraries are predefined for DPADD: 209 |
210 LIBCRT0 /usr/lib/crt0.o (sic) |
|
207 LIBC /usr/lib/libc.a 208 LIBCOMPAT /usr/lib/libcompat.a | 211 LIBC /usr/lib/libc.a 212 LIBCOMPAT /usr/lib/libcompat.a |
213 LIBCRYPT /usr/lib/libcrypt.a |
|
209 LIBCURSES /usr/lib/libcurses.a | 214 LIBCURSES /usr/lib/libcurses.a |
210 LIBDBM /usr/lib/libdbm.a | |
211 LIBDES /usr/lib/libdes.a | 215 LIBDES /usr/lib/libdes.a |
212 LIBL /usr/lib/libl.a | 216 LIBEDIT /usr/lib/libedit.a 217 LIBGCC /usr/lib/libgcc.a 218 LIBGNUMALLOC /usr/lib/libgnumalloc.a 219 LIBGNUREGEX /usr/lib/libgnuregex.a |
213 LIBKDB /usr/lib/libkdb.a 214 LIBKRB /usr/lib/libkrb.a | 220 LIBKDB /usr/lib/libkdb.a 221 LIBKRB /usr/lib/libkrb.a |
222 LIBKVM /usr/lib/libkvm.a 223 LIBL /usr/lib/libl.a |
|
215 LIBM /usr/lib/libm.a | 224 LIBM /usr/lib/libm.a |
225 LIBMD /usr/lib/libmd.a |
|
216 LIBMP /usr/lib/libmp.a | 226 LIBMP /usr/lib/libmp.a |
227 LIBMYTINFO /usr/lib/libmytinfo.a 228 LIBNCURSES /usr/lib/libncurses.a |
|
217 LIBPC /usr/lib/libpc.a 218 LIBPLOT /usr/lib/libplot.a | 229 LIBPC /usr/lib/libpc.a 230 LIBPLOT /usr/lib/libplot.a |
219 LIBRPC /usr/lib/sunrpc.a | 231 LIBREADLINE /usr/lib/libreadline.a 232 LIBRESOLV /usr/lib/libresolv.a 233 LIBRPCSVC /usr/lib/librpcsvc 234 LIBSCRYPT /usr/lib/libscrypt.a 235 LIBSKEY /usr/lib/libskey.a 236 LIBTELNET /usr/lib/libtelnet.a |
220 LIBTERMCAP /usr/lib/libtermcap.a 221 LIBUTIL /usr/lib/libutil.a | 237 LIBTERMCAP /usr/lib/libtermcap.a 238 LIBUTIL /usr/lib/libutil.a |
239 LIBY /usr/lib/liby.a |
|
222 223SHAREDSTRINGS If defined, a new .c.o rule is used that results in shared 224 strings, using xstr(1). 225 226STRIP The flag passed to the install program to cause the binary 227 to be stripped. 228 229SUBDIR A list of subdirectories that should be built as well. 230 Each of the targets will execute the same target in the 231 subdirectories. 232 | 240 241SHAREDSTRINGS If defined, a new .c.o rule is used that results in shared 242 strings, using xstr(1). 243 244STRIP The flag passed to the install program to cause the binary 245 to be stripped. 246 247SUBDIR A list of subdirectories that should be built as well. 248 Each of the targets will execute the same target in the 249 subdirectories. 250 |
233The include file <bsd.prog.mk> includes the file named "../Makefile.inc" 234if it exists, as well as the include file <bsd.man.mk>. | 251The include file <bsd.prog.mk> includes the include files <bsd.inc.mk> 252and <bsd.man.mk>. |
235 236Some simple examples: 237 238To build foo from foo.c with a manual page foo.1, use: 239 240 PROG= foo 241 242 .include <bsd.prog.mk> --- 43 unchanged lines hidden (view full) --- 286 287MAN1 ... MAN8 The manual pages to be installed (use a .0 suffix). 288 289SRCS List of source files to build the library. Suffix types 290 .s, .c, and .f are supported. Note, .s files are preferred 291 to .c files of the same name. (This is not the default for 292 versions of make.) 293 | 253 254Some simple examples: 255 256To build foo from foo.c with a manual page foo.1, use: 257 258 PROG= foo 259 260 .include <bsd.prog.mk> --- 43 unchanged lines hidden (view full) --- 304 305MAN1 ... MAN8 The manual pages to be installed (use a .0 suffix). 306 307SRCS List of source files to build the library. Suffix types 308 .s, .c, and .f are supported. Note, .s files are preferred 309 to .c files of the same name. (This is not the default for 310 versions of make.) 311 |
294The include file <bsd.lib.mk> includes the file named "../Makefile.inc" 295if it exists, as well as the include file <bsd.man.mk>. | 312The include file <bsd.lib.mk> includes the include files <bsd.inc.mk> 313and <bsd.man.mk>. |
296 297It has rules for building profiled objects; profiled libraries are 298built by default. 299 300Libraries are ranlib'd before installation. | 314 315It has rules for building profiled objects; profiled libraries are 316built by default. 317 318Libraries are ranlib'd before installation. |