Commit Graph

2588 Commits

Author SHA1 Message Date
sketch
0d9ab2b40e Make grep a host tool. 2009-02-25 20:36:44 +00:00
agc
8588595fb1 Add an entry for libopenpgpsdk. Thanks to wiz for the nudge. 2009-01-31 15:57:55 +00:00
christos
a1323d3f16 add a few quotes to make older make(1) happy. 2009-01-26 00:44:32 +00:00
mrg
268cca30b1 some fixes for PR#40170:
- set NATIVE=yes in the environment for genscripts.sh
- set LIB_PATH to /usr/lib/{sparc,i386} for those scripts
- set use_sysroot to "yes", to enable LIB_PATH to work in genscripts.sh
2009-01-06 03:08:39 +00:00
dbj
930ff683e1 pass HOST_CFLAGS when building cross tools 2008-11-04 23:58:40 +00:00
tls
09c3b3c8d4 Add manual page for nsp(4), the driver for NSP2000 cryptographic
accellerators.  Adjust mdoc.local so it knows about .Fx 4.11, present in
nsp manual page.
2008-11-02 22:11:36 +00:00
agc
50189563fb Set doc-operating-system and doc-default-operating-system 2008-10-31 04:32:54 +00:00
agc
62938bf16c Add a definition for NetBSD-current (which will become NetBSD-6.0) 2008-10-31 04:30:22 +00:00
mrg
ec707d6be3 don't check MKSHARE here, it is no longer valid. 2008-10-30 20:09:50 +00:00
apb
a02cace51f Use ${TOOL_SED} instead of plain "sed" in "!=" assignments.
This may need more work to prevent warning messages during
"make cleandir" when the commands in "!=" assignments are executed
even though tools may not have been built.
2008-10-25 22:35:36 +00:00
apb
f46c1de7cb Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
apb
2f23c0edc4 Rewrite a "!=" command to avoid using sed. 2008-10-25 22:10:39 +00:00
hannken
98f8b098aa Process FILES section only at "install" time. TOOL_AWK is not yet available
for earlier make targets.

Ok: Alan Barrett <apb@netbsd.org>
2008-10-22 17:54:23 +00:00
apb
96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
mrg
6fa3737bb8 since the Makefile creates stuff in (objdir) ./ldscripts/ and then
later deletes it, move the kmodule ldscript into 'xldscripts' and
deal with it from there.

fixes build issues where src/gnu/usr.bin/binutils/ld/ldscripts went
missing as reported by at least 2 people so far.
2008-10-13 22:36:55 +00:00
mrg
86340158d0 - install ldscripts on sparc64
- move ldscripts to /usr/libdata/ldscripts
2008-10-12 23:00:53 +00:00
mrg
52f0cd9c9e switch to per-arch multilib.h since we now use them.
now, given a correctly populated /usr/lib/{i386,sparc} directory, you
can "cc -m32" on amd64/sparc64 and have it be useful.

note that a trivial copy of 32 bit /usr/lib will not work, since you
end up with symlinks to the 64 bit /lib.  work on that part is in
progress...
2008-10-12 10:08:13 +00:00
hubertf
b64bc91804 Simplify argument passing, recommended by christos@ 2008-09-24 21:26:59 +00:00
dogcow
0671e7638a If you're going to add c99's entries to the setlists, you probably want to
descend into the directory. (HI HUBERT!)
2008-09-24 02:19:45 +00:00
hubertf
bce82202b3 Fix standard name, add c99 features, misc other cleanup. 2008-09-24 00:19:46 +00:00
hubertf
3315dfcbf7 Implement /usr/bin/c99 script as wrapper for cc to run in C99 compatible
mode. Patch submitted by Andy Shevchenko <andy.shevchenko@gmail.com>
on tech-userlevel.
2008-09-23 23:59:03 +00:00
lukem
d455051090 Don't define ENABLE_NLS if HOSTTOOL is defined
Link in xexit.c xmalloc.c xstrdup.c
2008-09-09 06:31:32 +00:00
hubertf
16cf150807 Reduce size from 1407 bytes to 46 bytes by removing the copyright
notice.  OK'd by the copyright holder (board@).
Inspired by true(1) and false(1).
2008-09-08 12:49:50 +00:00
tsutsui
5194ba87d6 Add landisk. 2008-09-06 04:49:31 +00:00
lukem
541f0f8572 MAKEVERBOSE support 2008-09-03 11:58:30 +00:00
dogcow
aedef3bb4f eliminate the need for gettext() when building the host-only tool. 2008-09-03 09:55:23 +00:00
christos
79f2702201 de-couple the makedoc build from libcommon. 2008-09-02 14:46:53 +00:00
christos
3836efcb15 re-enable now that we have a newer texinfo 2008-09-02 09:28:53 +00:00
christos
29a97b91d6 addjust for texinfo 4.8 2008-09-02 08:38:35 +00:00
mrg
33fb41cc00 re-run mknative-gcc for gcc-4.1-20080831.
XXX: powerpc and sh3eb files got WORDS_BIGENDIAN define wrong.
XXX: hand patched the correct for now, and will be investigating
XXX: why this is happening now.
2008-09-01 23:52:24 +00:00
lukem
71a1b40916 Crank version to "2.5.1 nb1" for the change that adds a
warning when -r is used without a directory.
2008-08-28 04:01:05 +00:00
martin
603c49b548 re-mknative after recent gcc configure change for m68k 2008-08-24 08:51:11 +00:00
perry
64f59fb14d So long, mom. (Approved by: wiz)
sets files still need updating, I'll do that shortly.
2008-07-16 21:14:53 +00:00
perry
6fb2ff15d2 Temporary hack to remove dates from generated postscript files.
Really, though, "mom" should go, or at least the generated PostScript
files should.
2008-07-16 16:34:36 +00:00
christos
8fd0026c5b add one more dependency. 2008-05-31 16:05:20 +00:00
wiz
d493f8ddf4 Add FreeBSD 7.0 for libgssapi man pages. Noted by joerg. 2008-05-28 07:14:12 +00:00
wiz
c21d6784dc Do not use tabs here -- they will be used literally. Use spaces instead. 2008-05-25 20:04:52 +00:00
lukem
66176dfdff Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
2008-05-03 14:48:30 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
tsutsui
3ac5edae14 Add more required libraries in proper order.
Fix build error in NOPIC case.
2008-04-10 13:49:53 +00:00
mrg
a2ab41e161 s/exit 0/true/ in the main target so that this works if interrupted
between "mkdir" and libiberty.a being built.
2008-03-25 03:59:17 +00:00
skrll
b86cd2b1b2 Re-run mknative. 2008-03-14 20:22:16 +00:00
drochner
b0666c0ebd install pmmintrin.h for SSE3 2008-02-26 10:55:49 +00:00
lukem
ab42b1842c Various groff manual pages need tbl(1) to format correctly. 2008-02-26 03:20:07 +00:00
mrg
eff6f27b55 regenerate all mknative-gcc files after skrll@'s fix to grab the
objc config.h.  use this config.h in libobjc4.

this should address PR 37966, for -current.
2008-02-09 01:03:38 +00:00
mrg
0190531f12 regen for GCC 4.1-20080202. 2008-02-05 02:23:22 +00:00
skrll
046bde4260 Re-run mknative to pick up bsd-kvm.o. 2008-01-13 13:18:17 +00:00
skrll
a125dbf8da Re-run mknative. 2008-01-10 22:19:24 +00:00
simonb
d8de5b102b Remove support for NetBSD/pc532. 2008-01-09 11:25:58 +00:00
skrll
bd7f347055 Re-run mknative and pickup caddr_t removal from ptrace. 2008-01-05 15:43:16 +00:00
bouyer
382d13b49a Install the linker scripts on amd64, which allows to link x86 32bit objects
using the native ld(1). This helps building pkgsrc/sysutils/xentools3-hvm
on amd64; is also allows to build the x86 boot blocks with the
native toolchain.
2007-12-02 18:10:20 +00:00
skrll
ea7265c03e First cut at hppa gdb support. Not enabled yet. 2007-11-18 12:45:25 +00:00
jmmv
12408017c4 Add the ability to build multiple programs from a single directory
This adds support for a new set of variables, PROGS and PROGS_CXX, that
allow the developer to build multiple different programs from a single
source directory.
2007-11-12 15:04:35 +00:00
ginsbach
0228f092e4 Remove symbol for IEEE Std 1003.1-2004, as it is now included with groff.
Approved by: wiz
2007-11-05 17:36:23 +00:00
garbled
ebae510efc Remove the pmppc send-pr category 2007-10-17 23:27:33 +00:00
skrll
bd5ba3588c Rerun mknative for all archs.
Picks up the addition of complex support and use of __cxa_atexit.
2007-09-21 10:51:02 +00:00
wiz
deb6da4b83 Add macros for FreeBSD 6.3 and libarchive. 2007-08-06 23:38:49 +00:00
christos
95405cdada PR/36664: Greg A. Woods: Document a simpler and safer way to find gcc's
pre-defined macros.
XXX: Where is the source of this file? Can we pass this upstream?
2007-07-18 00:00:21 +00:00
mrg
7c79844261 re-run mknative with GCC 4.1.3 2007-06-21 16:58:44 +00:00
skrll
39d5b9520a Remove gdb 5.3 as nothing uses it now. 2007-06-21 12:51:06 +00:00
wiz
cb7051a0fc Move puffs and refuse definitions to local override file. 2007-06-09 10:19:43 +00:00
tls
4147a3c54a Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
christos
01e5675c2a add libssp here. requested by wiz 2007-05-23 17:01:25 +00:00
christos
77601d393f Add missing brace, from Blair Sadewitz 2007-05-20 21:31:05 +00:00
fvdl
4a58254657 Reran mknative for kvm target support. 2007-05-15 15:44:40 +00:00
matt
4a9a0814a6 Change G_ENABLE_SHARED to yes. 2007-04-12 20:56:16 +00:00
scw
5764a76889 Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +00:00
mrg
e274239983 regenerate everything with fixed c++ math bits. 2007-03-01 01:57:15 +00:00
skrll
3d26910b10 sun2 mknative output for gdb6. 2007-02-28 08:12:13 +00:00
drochner
ce75a0ec7e regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH 2007-02-26 11:57:52 +00:00
chs
fd090e47e8 rerun mknative (disabling sim). 2007-02-19 18:30:58 +00:00
chs
13bb388148 disable sim for mips until someone adds the rest of the build framework for it. 2007-02-19 18:26:22 +00:00
rmind
07f5c15ae5 Enable sdiff(1) in usr.bin, disable GNU sdiff(1).
lists seems to be compatible.
2007-02-18 22:44:44 +00:00
drochner
10527a675c regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH 2007-02-07 16:52:31 +00:00
drochner
310805bbe6 regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH 2007-02-06 17:32:29 +00:00
wiz
b5d2193e6a Add NetBSD-1.3.3 and FreeBSD-6.1 for hashinit(9). 2007-01-23 22:26:06 +00:00
mrg
b2d62876b4 regenerate these files via mknative.
XXX: gcc auto-host.h generation is still broken and turns off
XXX: gas "comdat" support.  i have not commited these files..
2007-01-13 09:26:59 +00:00
skrll
3677759599 Deal with lex and yacc generated files for gdb in the same way as gcc.
That is, use the files supplied with the distribution and never attempt
to rebuild them.

Should fix PR/35271
2007-01-12 13:24:30 +00:00
ober
f5f2c9b363 Updating for the new Zaurus port as per the new-port checklist. 2007-01-05 01:26:30 +00:00
veego
7da8f89559 Add ada-exp.c and c-exp.c to CLEANFILES.
This was forgotten in rev. 1.5.
2007-01-01 13:09:54 +00:00
skrll
a85304c52e Add a pid to filename conversion routine for all non-i386 platforms and
create the mknative output in some instances.  arm, ppc, and sparc64 are
the only other ones using GDB 6 at this point.

Compile tested only.
2006-12-06 18:25:29 +00:00
christos
fd2ea8ece6 kill statck protector warning completely because more files use alloca than
then ones that don't.
2006-12-03 18:17:36 +00:00
christos
1ef246e307 Fix SSP build for the poor archs that have not converted yet. 2006-12-03 18:13:23 +00:00
uwe
d14ca40433 arch/sh3e{b,l} files for gdb6 2006-12-02 01:20:40 +00:00
he
d588ed2b2f Move the .WAIT to after sim, patterned after gdb53 and to try to fix
the various powerpc parallel build problems exposed by our autobuilds.
2006-11-29 15:18:10 +00:00
jdc
80c18fce28 Allow ada-exp.c and c-exp.c to be built when using a read-only source tree. 2006-11-28 13:44:52 +00:00
skrll
f509028063 Provide a nbsd_pid_to_exec_file to assist with attach in a similar way
to the change I made to gdb 5.3.

Use on i386. Others to follow.
2006-11-25 16:38:51 +00:00
skrll
dc5413fadf More fixes from mknative re-run. 2006-11-25 16:24:42 +00:00
skrll
4e99498a2e Various fixes from mknative re-run. 2006-11-25 16:22:59 +00:00
skrll
768e889c8b Delete more gcc3 stuff. 2006-11-20 17:08:35 +00:00
skrll
c68684eefc Use GNUHOSTDIST to reference config.guess instead of an incorrect relative
path.

Fixes PR 35078 from Henning Petersen
2006-11-20 07:13:36 +00:00
he
f60bf42ff6 Insert a .WAIT between ppc (which makes -lpsim) and psim itself, in an
attempt to fix the build failures exposed by autobuild doing -j 8.
2006-11-18 20:19:24 +00:00
christos
64f067eaa0 sprinke -Wno-stack-protector 2006-11-12 01:24:44 +00:00
christos
98e199228a Sprinkle -Wno-stack-protector. Gnu programs use too much alloca :-) 2006-11-10 17:36:08 +00:00
christos
2d8fd6a6dd Sprinkle -Wno-stack-protector 2006-11-09 21:27:58 +00:00
christos
5a7bf522f9 Turn on TARGET_LIBC_PROVIDES_SSP; next time someone regenerates them, it will
work fine; it is not worth chewing hours of cpu to rebuild those right now.
2006-11-08 22:03:19 +00:00
skrll
1d68e44fcf Remove the hack that compiles dfa.c with -O1 on hppa. -O2 works fine. 2006-11-01 17:10:36 +00:00
apb
649ed3876d SUBDIR += gkermit 2006-11-01 13:18:03 +00:00
apb
184243bdcc Add reachover build for gkermit. 2006-11-01 13:17:38 +00:00
mrg
6348cc61a8 regenerate mknative-gcc files for powerpc64-netbsd and GCC 4.1-20061021. 2006-10-24 05:57:31 +00:00