Commit Graph

2626 Commits

Author SHA1 Message Date
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
mrg
e1850e2121 regenerate mknative-gcc files for GCC 4.1-20061021. 2006-10-23 07:01:19 +00:00
mrg
8d4305f309 regenerate mknative-gcc fies for GCC 4.1-20061021.
(some of these are not 100% tested yet, but they are have the
right changes as the tested platforms.)
2006-10-22 23:27:23 +00:00
mrg
d7bc6234aa regenerate powerpc and sparc64 mknative files for GCC 4.1-20061021. 2006-10-22 20:01:41 +00:00
apb
4d8a51bb25 Add .y.c and .y.h rules to prevent re-running yacc/bison.
This should fix PR 34196 and PR 34831.
2006-10-21 21:05:57 +00:00
mrg
d32c431bcc - use PROG not PROG_CXX
- link with -lm -lsupc++

as discussed in the audit-trail for PR#26714, now fixed.
2006-10-09 08:32:53 +00:00
apb
8371d48da2 Install the man page for rcs2log. 2006-10-08 21:27:21 +00:00
skrll
ef1caed8be Add m68k gdb mknative output. Untested. 2006-10-07 08:16:46 +00:00
plunky
c2f3e8c67b Override the lex rules after <bsd.prog.mk> to prevent the reachover build
from trying to build arlex.c in a readonly filesystem
2006-10-05 20:40:12 +00:00
apb
9130d905da Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
* Pass MAKE and CONFIG_SHELL in the environment to configure scripts
  that are run as part of the gcc3 and gcc4 build.
2006-09-29 20:14:10 +00:00
drochner
a007a48303 make this build with ro srcdir: ignore yacc-generated files in dist 2006-09-27 18:37:41 +00:00
mrg
27ffbf35e9 add a link to www.NetBSD.org/Gnats/, as suggested in PR#10628. 2006-09-24 06:09:29 +00:00
mrg
2b2c191ef8 be explicit about the need for a subject: header. should handle PR#10628. 2006-09-24 06:06:23 +00:00
wiz
d6915480eb Do not use tabs in this file -- this breaks output. Use spaces instead. 2006-09-14 23:23:56 +00:00
scw
959fd76ef8 Add gcc4 mknative files for sh5el. 2006-09-04 20:01:28 +00:00
rpaulo
481ac4be37 Change PROG to xcvs and PROGNAME to cvs.
Builds xcvs binary but installs using cvs filename.

Another fix for case-insensitive file systems, approved by Christos.
2006-08-31 22:31:45 +00:00
mrg
063c6908bc regenerate with many fixes in libstdc++-v3 configury. 2006-08-24 10:28:07 +00:00
christos
c7f3802937 default to ssh. 2006-08-11 19:02:37 +00:00
tron
7595743fb0 Add NetBSD 5.0. 2006-08-08 08:30:11 +00:00
riz
28e4bae07d Bump default to 4.0 2006-08-08 05:42:24 +00:00
ross
459b0bb03d set up native build for powerpc64 2006-07-10 23:16:34 +00:00
ross
78811b2bfb Support powerpc64 2006-07-10 23:06:51 +00:00
ross
028c9feb3f build simulator for powerpc64 2006-07-10 23:01:56 +00:00
wiz
091ad264de Add libprop. Closes PR 33943 by Nicolas Joly. 2006-07-08 04:44:09 +00:00
mrg
0d145f62a4 regenerate with fixed gcc configury and libc 2006-07-07 08:38:40 +00:00
mrg
2f9635ff9a regenerate with fixed armeb configury 2006-07-06 00:26:39 +00:00
nathanw
300e182521 Rearrange slightly to pick up dependancies better. 2006-07-04 21:48:20 +00:00
tron
720f8f8c5b Remove "gcc-vers.texi" in "cleandir" target. 2006-07-04 18:28:00 +00:00
nathanw
89279db7f6 Remove redundant (and now conflicting) old bfd.h. 2006-07-03 15:33:34 +00:00
nathanw
302a8a8f01 Regenerate for GDB 6.5. 2006-07-03 00:34:33 +00:00
mrg
aacdf51747 regenerate 2006-07-03 00:24:45 +00:00
nathanw
ab4dec7536 Regenerate for GDB 6.5. 2006-07-03 00:01:25 +00:00
mrg
700bddfd36 regenerate 2006-07-02 23:05:45 +00:00
mrg
3b92ffadb2 these aren't used and probably won't be so clean them up. 2006-07-02 22:35:51 +00:00
mrg
15e1fa39fd regenerate 2006-07-02 21:46:28 +00:00
mrg
3056cc0cf1 regenerate 2006-07-02 09:17:20 +00:00
mrg
a61b5bf841 regenerate. 2006-07-02 07:04:41 +00:00
mrg
291f9292a5 regenerate 2006-07-02 01:26:32 +00:00
mrg
96a5a9b8ad regenerate. 2006-07-01 21:48:00 +00:00
mrg
4fd452c734 build cc1{,obj,plus}-checksum.c properly. pre-compiled headers use it. 2006-07-01 19:06:50 +00:00
mrg
e7473eb25e regenerate these. 2006-07-01 05:53:13 +00:00
mrg
5f4bf87665 mknative binutils for powerpc64 2006-06-30 22:48:14 +00:00
mrg
93720dafdf mknative files for vax / gcc4. 2006-06-30 11:59:36 +00:00
mrg
50ee1514c8 regenerate mknative for armeb. 2006-06-30 03:00:34 +00:00
mrg
5842bdbd43 run mknative for powerpc64. 2006-06-30 02:54:50 +00:00
mrg
6fb2cf40a5 regenerate. 2006-06-27 03:00:08 +00:00
mrg
0d4ef31ba8 regenerate arm, sh3el (now properly working) and sh3eb (not yet
properly working.)
2006-06-26 19:54:03 +00:00
wiz
e34dc7a23f Update version numbers to sync with latest import. 2006-06-26 19:49:46 +00:00
mrg
b94c4de11c change ggc-none.o to build-ggc-none.o in G_BUILD_RTL.
(avoids running mknative 16 times...)
2006-06-25 03:10:01 +00:00
mrg
2e81d433f5 clean gcov-iov{,.h} and insn-preds.c.
fix dependancies for build-ggc-none.lo and ggc-none.o.
2006-06-25 03:08:54 +00:00
mrg
c1f26e8c41 regenerate hppa mknative files. this mostly works but i have to
compile significant portions of the tree at -O1 instead of -O2, and
sometimes -Os/-O0 is required, and others none works.  i'd guess that
some instructions in the .md file are generating more assembler than
they claim to be since all these errors are due too large offsets.

but fixing that is work for someone else, or at least another day :-)
2006-06-24 12:58:42 +00:00
christos
d150ecb1e1 add HAVE_GDB transitional build variable. 2006-06-23 21:51:42 +00:00
mrg
5378eb2368 factor out the unwind.h building code. use it for libgcc itself (needed
when there is no libgcc_s.)

add dependancies for the generated arch/defs.mk to optionlist.
2006-06-23 17:27:08 +00:00
mrg
9dcea3dbff add GCC4 mknative files for sun2. seems to build ok.. 2006-06-23 07:48:45 +00:00
gdamore
a5c89047c0 Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.)  This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.
2006-06-19 15:44:33 +00:00
skrll
19e53faf30 More files changes in mknative re-run. I'm still cheating with
src/tools/gcc/Makefile
2006-06-12 11:45:33 +00:00
skrll
09e99a2e51 Re-run mknative for the gcc 3.3.6 import. There's a bit of cheating going
on here - mainly the use of an old src/tools/gcc/Makefile.
2006-06-12 08:00:22 +00:00
rillig
2e91b4b8d5 The shell variable $@ should never be used without surrounding "quotes". 2006-06-09 10:11:44 +00:00
mrg
314025d505 add ${G_md_file} files as dependancies for tm-preds.h and insn-pred.h.
this should fix some build problems that happened with UPDATE=1 and
the newer GCC 4.1.
2006-06-04 04:37:47 +00:00
mrg
db19e89e04 remove support for building (with) GCC 2.95. also:
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.
2006-06-02 22:16:18 +00:00
mrg
d91ef09809 make GCC3 work for vax - without shared library support. 2006-06-02 20:00:37 +00:00
nathanw
4eb9fc62f7 mknative for amd64. 2006-06-02 15:32:09 +00:00
mrg
b435d26d50 add insn-modes.h to the list of header files the gen* programs .lo
objects depend on.  now usr.bin/gcc4 is "make -j100" safe.
2006-05-31 05:13:20 +00:00