Commit Graph

706 Commits

Author SHA1 Message Date
christos 1e8e6439aa use the new .if commands(<target>) directive so that we don't have to
change Makefiles.
2001-01-14 20:49:36 +00:00
christos c4a3a5ddb2 fix thinko: test for the existance of the target before we define it... 2001-01-14 09:53:57 +00:00
christos 89923c1ef5 Alter previous redefined target protection. If the ${PROG} target is defined,
add the dependencies as usual, but don't add the commands. This avoids
having to change all the Makefiles that redefine the PROG target.
2001-01-14 09:40:35 +00:00
christos 3769adf593 allow programs to override the program target. 2001-01-14 06:17:27 +00:00
sommerfeld e538aac13b Don't send .WAIT into the bitbucket 2001-01-09 02:08:32 +00:00
itojun 561c43d3fa use MACHINE_CPU=arm on both arm26/32. 2001-01-08 13:28:08 +00:00
mrg 9354cc7a64 add missing $LIBCRYPTO_RC5 and $LIBCRYPTO_IDEA 2001-01-08 07:41:10 +00:00
mrg 762bc3c71a add missing $LIBSSL 2001-01-08 07:36:10 +00:00
itojun 9833445e10 declare MACHINE_CPU. MACHINE_CPU will be generated from MACHINE_ARCH,
to identifiy CPU type in build tree (like mipse[lb] -> mips, sh3e[lb] -> sh3).

XXX what should we do about arm and sparc?
2001-01-08 07:28:07 +00:00
blymn 2ba6155111 Added libform. 2001-01-05 12:59:25 +00:00
itojun 083a373737 s/.INIT/.BEGIN/ for NetBSD make 2001-01-05 00:25:59 +00:00
garbled 9c926b4602 Add LIBCDK and LIBFORM definitions 2001-01-04 23:52:00 +00:00
itojun 180f4678a4 die if MACHINE_ARCH == sh3 2001-01-04 15:17:41 +00:00
itojun c5fb04a57e sh3 split (MACHINE_GNU_ARCH) 2001-01-04 10:29:11 +00:00
itojun 973149dcb3 sh3 split 2001-01-04 08:32:02 +00:00
simonb 15f972c29b Switch NetBSD/hp300's OBJECT_FMT to ELF 2001-01-02 04:34:37 +00:00
sommerfeld bdeb8ccecf Restore the intermediate subdir-${targ} targets since they're
referenced elsewhere; fixes problem of afterinstall running too soon.
2001-01-01 15:27:31 +00:00
sommerfeld 92b01a91b8 Correct typos (SUBDIR, not SUBDIRS).
Document use of .WAIT in SUBDIR
2000-12-30 14:34:51 +00:00
sommerfeld fd805ed302 Change ${PRINTOBJDIR} to a "safer" but more complex form which avoids
infinite recursion when directories reference each other or themselves
(most common when a FOOOBJDIR is defined in a common Makefile.inc).
2000-12-30 14:34:09 +00:00
sommerfeld 3459e6c590 Change SUBDIR expansions so that a .WAIT in a subdirs list turns into
.WAIT (rather than a ${targ}-.WAIT) in the ${targ}'s subdir dependancy list.

This allows .WAIT to be used in SUBDIR as a synchronization barrier
for recursive parallel builds.
2000-12-30 14:32:04 +00:00
itojun f9d029c7cc document host build tools (like rpcgen) in bsd.README. PR 11839 2000-12-30 04:11:34 +00:00
itojun 87f5fc92dd document MKLOCALE is not a variable to control build behavior. per PR 11839. 2000-12-29 03:18:32 +00:00
itojun 9ad9be84eb declare ${MKLOCALE}. PR11801. 2000-12-23 22:47:28 +00:00
scw 9b343e1abc NetBSD/mvme68k's OBJECT_FMT is now officially ELF. :-) 2000-12-07 08:35:15 +00:00
sommerfeld 304faf39ff define PRINTOBJDIR as a canned known-safe print-objdir invocation. 2000-12-06 03:21:33 +00:00
mycroft 60e1ee6e37 This is *purely* anal-retentive, but: remove extra spaces in the generated
commands in the previous.
2000-12-05 22:18:30 +00:00
mycroft 4a6da470ba When handling ELF library symlinks, rather than removing and recreating the
symlink, instead create a temporary one ending in `.tmp' and `mv -f' it.
This way there is no window where libc isn't loadable (and thus
`make -j 100 install' works for libc).
2000-12-05 22:12:37 +00:00
itojun caf7b11063 add ${LIBINTL} for use with DPADD. 2000-10-31 10:49:01 +00:00
thorpej 99de26f4ee Repair a dual-.if construct that certainly didn't work with
any version of make(1) on my systems...
2000-10-11 05:45:50 +00:00
is 2e08b549a5 Format string cleanup, by sommerfeld. 2000-10-10 20:41:20 +00:00
deberg ad0e0b565c fix typos, PR 11159 2000-10-07 20:26:36 +00:00
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
phil fe4560a9a3 Get the correct command line using groff instead of nroff. 2000-09-26 15:33:28 +00:00
phil ec49e039c2 Add rules to make and install html pages in /usr/share/man/html* 2000-09-22 05:37:57 +00:00
jlam 8edf0a98a0 Correct description of when "NOPIC" is set. 2000-09-10 19:10:50 +00:00
bjh21 b5279973df Switch arm26 to -O2. Most of my kernels are compiled with this anyway,
and gcc's code generation should be the same as for arm32, so I think this
is safe.
2000-08-22 17:38:49 +00:00
itojun 424b5f77fb MLINK optimization based on timestamp. 2000-08-13 06:56:25 +00:00
itojun 531e380d08 do not test $UPDATE nor file existence, on "MLINKS" installation.
the check will leave original manpage and linked manpage unsynchronized,
as we use hard link instead of symlinks.

this backs out 1.37 -> 1.38 change.
2000-08-13 06:36:29 +00:00
gmcgarry 68e607a368 Remove executable permission from src/lib/checkver. 2000-08-09 23:41:24 +00:00
msaitoh d5567fbc4d sh3 port is incomplete, so add NOLINT=1 and NOPROFILE=1
(and NOPIC=1 if OBJECT_FMT==COFF)
2000-08-02 20:04:45 +00:00
mycroft 320dc0b012 Build shared libraries on sparc64. 2000-07-26 02:21:21 +00:00
cgd 4bf5f7086b ${RPCGEN}, not hard-coded rpcgen 2000-07-25 06:29:44 +00:00
mrg 01875cae18 simplify previous. 2000-07-19 14:16:22 +00:00
eeh 04de183b83 Tell gas how to make PIC objects on sparc64. 2000-07-17 16:49:30 +00:00
christos 4c668e29d9 PR/10556: Veego: Shared library support was broken if shlib_version file
was not present.
2000-07-14 19:53:04 +00:00
cgd 4aa53dcd31 test -h, not test -L. 2000-07-07 04:35:35 +00:00
matt 3b3ee7da25 Add NetBSD/vax ELF hook. 2000-07-06 16:48:48 +00:00