Commit Graph

69 Commits

Author SHA1 Message Date
sommerfeld abff7e84fd If FORMAT_AUDIT is set, and WFORMAT is set and > 1, turn on
-Wnetbsd-format-audit for extra-stringent format checking.
WFORMAT belongs in individual makefiles and/or Makefile.inc files.
FORMAT_AUDIT should go in mk.conf if you're doing format-string auditing.
(set WFORMAT=1 in individual makefiles if a program is
not security critical and is doing bizarre things with
format strings which would be even uglier if rewritten)
FORMAT_AUDIT may go away in time (i.e., default to on)
2000-10-04 19:27:45 +00:00
itojun 5b88ba6121 remove obsoleted crypto-related variables. 2000-09-30 12:27:35 +00:00
itojun e5e807d114 always compile RSA into libcrypto.
MKCRYPTO disables the whole crypto tree, and in that case,
we will not have RSA (nor libcrypto) with us.
2000-09-30 12:21:51 +00:00
itojun 8d26d03189 repair openssl (libcrypto) for non-32bit architecture.
don't use unsigned long where 32bit unsigned variable is asked for.
use u_int32_t.  (not sure if uint32_t is better or not, but anyway,
u_int32_t <-> uint32_t should not raise binary compatibility issue)
PR10921.

TODO: have arch-dependent Makefiles where we supply -DFOO for optimization.
(do not change size of variable though)

XXX: we should actually nuke all other #ifdef in /usr/include/openssl/*.h,
however, that needs a lot of work and will make future openssl upgrade harder.

remove RC5 and IDEA by default.  build them separately as
libcrypto_{rc5,idea}.a.  put dummy function, which is "warning to stderr
and exit(1)".  NOCRYPTO_{RC5,IDEA} are obsoleted.
PR10883.
2000-09-30 00:23:28 +00:00
jlam 8edf0a98a0 Correct description of when "NOPIC" is set. 2000-09-10 19:10:50 +00:00
thorpej acc9b0f304 Remove the bsd.crypto.mk section, and describe the new MK... switches
related to system crypto support.
2000-06-23 06:11:05 +00:00
sjg d14a51faf9 Document bsd.kernobj.mk 2000-05-07 01:19:58 +00:00
simonb b155979066 Add HTMLDOCDIR pointing to /usr/share/doc/html. 2000-05-02 11:44:20 +00:00
veego 70b32a2849 Remove unused libahdi.
It will be replaced in the future with a more generic libdisklabel.
2000-03-07 20:54:57 +00:00
jdc 2133a0f528 Add libahdi entries. 2000-02-05 20:54:12 +00:00
jlam f4b2073531 bsd.prog.mk doesn't define/use STRIP anymore -- it's now STRIPFLAG 2000-01-17 21:21:55 +00:00
sommerfeld 7a458244ef improve text describing BSDSRCDIR/BSDOBJDIR 2000-01-08 01:41:13 +00:00
drochner 84ed277b8d correct confusing example, closes PR misc/9135 by Andreas Gustafsson 2000-01-06 19:09:35 +00:00
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