Commit Graph

56 Commits

Author SHA1 Message Date
sommerfeld
3e76523ff8 Attempt to document what bsd.obj.mk does. 1999-12-01 03:33:52 +00:00
sommerfeld
1b914a5db2 Add MKOBJDIRS make variable to bsd.own.mk, defaulting to "no" but
overrideable in mk.conf

Document in bsd.README; this is distinct from "MKOBJ", which controls
whether "make obj" does anything.

In the top-level makefile, if MKOBJDIRS != "no", do a "make obj" at an
appropriate point during a "make build".
1999-11-30 16:16:41 +00:00
simonb
3047c747cf Add a MKPICLIB variable. If set to "no", don't build an _pic.a library
and build shared objects from the .a library.  A symlink is installed
in /usr/lib so that the name "libfoo_pic.a" still exists for third party
software that explicitly wants an _pic.a library.
1999-11-28 04:50:41 +00:00
blymn
38bd927ca8 Added libmenu library. 1999-11-23 13:22:37 +00:00
simonb
c31f7f0416 Document the UNPRIVILEGED make variable. 1999-08-21 06:19:33 +00:00
mrg
30c19fc81a update CRYPTO example to use ".sinclude" 1999-07-26 02:01:47 +00:00
thorpej
c410486d29 Document bsd.crypto.mk, and update the OBJECT_FMT entry. 1999-07-13 17:58:42 +00:00
itojun
5e4f18efbb add LIBIPSEC for use from DPADD. 1999-07-01 20:19:18 +00:00
lukem
6077e7c1f5 don't bother supporting NOINFO (since it's a new thing); just support MKINFO=no
fix description of MKSHARE=no
1999-02-13 03:04:09 +00:00
tv
899feeac30 Add doc for bsd.info.mk, and move the description of MKLINKLIB to the
bsd.lib.mk section (it should NEVER be set by mk.conf).
1999-02-12 15:10:22 +00:00
lukem
41510f9a2b for MKSHARE=no, set MKDOC=no MKMAN=no MKNLS=no, and for MKMAN=no, set
MKCATPAGES=no.  this simplifies various tests.
1999-02-12 12:38:44 +00:00
lukem
497d11782a * Add support for MKDOC MKLINKLIB MKLINT MKMAN MKNLS MKOBJ MKPIC MKPICINSTALL
MKPROFILE MKSHARE, which default to `yes' unless an equivalent NOxxx
  variable is defined.
* Add MKCATPAGES, which if "no" prevents catpages from being built or installed

Users should use "MKxxx=no" instead of "NOxxx=" in /etc/mk.conf, because
this allows easy override on the make(1) command line (e.g 'make MKSHARE=yes'
to override MKSHARE=no in /etc/mk.conf).
1999-02-12 01:10:06 +00:00
erh
14b0d1f276 Add a checkver target to bsd.lib.mk. This target executes the checkver script to find installed shared libraries with major/minor versions that are too big. The realinstall target now depends upon this target so this check is done whenever a library is installed. The check may be disabled by setting NOCHECKVER. 1998-11-07 09:40:35 +00:00
agc
fd02fc18ca Remove out of date explanations of <bsd.port.mk> and <bsd.port.subdir.mk>,
which are now in the pkgsrc collection as bsd.pkg.mk and bsd.pkg.subdir.mk.
1998-09-15 14:56:37 +00:00
lukem
24bd0530c9 add distclean as a synonym for cleandir 1998-08-09 14:46:19 +00:00
tv
aaafdd394a - Add MACHINE_GNU_ARCH entries for mipseb and mipsel. Temporarily remap
mips to mipsel.
- Remove the unused definition of NOSHLIB for powerpc.  NOPIC is being
  used for this purpose.
1998-07-27 00:58:05 +00:00
perry
f0ba699cac Remove obsolete note that NOLINT is set by default. 1998-07-22 18:22:35 +00:00
cgd
2125120c77 add bsd.kinc.mk, a template to support the new kernel include file
installation mechanism.
1998-06-12 23:28:53 +00:00
simonb
6126819df6 Fix typo (s/OBJECT_FMAT/OBJECT_FMT/) 1998-05-13 13:58:00 +00:00
tv
0c1cd4f4bc Fix definition for SRCS: "If PROG is not defined" -> "If SRCS is not
defined" as noticed by prlw1@cam.ac.uk
1998-05-05 17:15:05 +00:00
ross
62a5b4b89c English. 1998-05-03 16:39:45 +00:00
lukem
2dbeb85dde only read /etc/mk.conf once (stops += variables getting double assignments) 1998-04-13 12:03:07 +00:00
lukem
a771a1c39a change default ownership from bin:bin to root:wheel 1998-02-26 08:46:09 +00:00
jonathan
5e0e8cec39 More table-driven changes for different toolchains:
* new bsd.own.mk variable OBJECT_FMT with values "a.out" or "ELF".
  * use OBJECT_FMT in Makefile tests that depend on toolchain.
  * Add new bsd.own.mk variable NOSHLIB that, if set indicates a given
    port doesnt yet do shared libraries. Set on powerpc.
  * Document new feature-test variables in src/share/mk/bsd.README.
Tested on i386, mips, fakedup Alpha environment.
1998-02-23 10:09:31 +00:00
mikel
d317b4789d STRIP -> STRIPFLAG; from Jim Bernard in PR pkg/4884 1998-02-04 07:08:56 +00:00
hubertf
f6a5b0843d /usr/pkg/src -> /usr/pkgsrc 1997-09-30 23:16:03 +00:00
agc
5d9fc2b5dd Document the import of FreeBSD's <bsd.port.mk> and <bsd.port.subdir.mk>,
as used in their `ports' system.
1997-08-20 10:53:04 +00:00
cjs
7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
mikel
5817cfa122 fix typo 1997-05-29 06:26:35 +00:00
cjs
5fd7ce7066 These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
kleink
4c60ea6dc2 Add libposix. 1997-05-18 20:21:53 +00:00
christos
b339c21257 Add ${LIBNTP} 1997-04-18 14:30:24 +00:00
mikel
76cfd073e9 merge lite-2 changes (mostly SCCSids) 1997-03-29 08:02:45 +00:00
christos
cef52070f9 Put the FILES generated rules in a separate .mk file since both bsd.prog.mk
and bsd.lib.mk use them.
1997-03-27 17:33:34 +00:00
mycroft
0d6b2973f3 Remove knowledge of HIDEGAME from here. 1997-03-27 09:10:09 +00:00
christos
25f6ec749f make rules update:
- add UPDATE and BUILD features
- add new FILES, INCS, SCRIPTS variables
- allow man pages source installation
1997-03-24 21:54:12 +00:00
perry
1d624f4f7e Fix SYMLINKS not to include DESTDIR in the link itself 1997-03-22 22:33:53 +00:00
perry
de40e6afd4 add SYMLINKS, by analogy to LINKS. Vetted by Christos. 1997-03-13 02:45:58 +00:00
mark
ed0c7a8de5 The arm32 architecture also needs to set NOPIC. 1997-01-13 00:54:23 +00:00
thorpej
c238d2b94e Add the ability to override defaults in bsd.own.mk more easily, by
looking for "${MAKECONF}", or failing that, "/etc/mk.conf" and including
the first one it finds, if it exists.  From Chris Demetriou <cgd@netbsd.org>,
PR #1970.
1996-04-13 02:08:08 +00:00
jtc
f9ff89048b Added new standard target "includes" (used to install header files) to
bsd.subdir.mk.  Added some documentation to bsd.README.
1996-04-04 02:05:03 +00:00
cgd
93542f4a98 clean up bits that state which man page section numbers are allowed (section
9 now exists).  Document that variables in bsd.own.mk that were not previously
documented.
1996-01-22 22:46:06 +00:00
cgd
8c917568da add "CFLAGS += -Werror" to bsd.sys.mk, and update various bits of
documentation to explain bsd.sys.mk's purpose more clearly.
1995-12-13 01:25:05 +00:00
christos
70174eb6fe Added include file <bsd.sys.mk> that contains lex and yacc "parallel aware"
rules. These rules are not turned on by default; they are enabled by setting
the PARALLEL variable.
1995-10-22 00:45:53 +00:00
christos
e3a69c3c19 - In preparation for parallel makes fix the library rules so that they
don't use a.out as intermediate output.
- Note in the README file that we cannot fix the xstr stuff.
  We still need to fix lex and yacc.
- Allow overriding of the variables in sys.mk
1995-09-24 23:49:06 +00:00
jtc
f3fb76cdde Removed sentance that stated that each *.mk file had a cooresponding
*.rd file.  All the documentation is in bsd.README.  Fixes PR #681.
1995-01-13 00:27:49 +00:00
cgd
7367bf16c1 add info about LIB, as pointed out by jhawk@MIT.EDU 1995-01-02 23:59:01 +00:00
cgd
a95ea97ca7 oops; fix a bogon. 1994-12-22 12:22:59 +00:00
cgd
dbcf91bb89 specify man pages differently, and document how. 1994-12-22 09:20:40 +00:00
cgd
61d2ae79f4 RCSID frobbing, and minor sanity adjustments. 1994-06-30 05:31:04 +00:00