Commit Graph

2626 Commits

Author SHA1 Message Date
roy
98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
wiz
ad9684dee2 Install mom macro sets again, per request from Petar Bogdanovic.
Don't install generated PostScript files that were part of the reason
for the removal.

Based on a patch by him with slight changes.
2010-01-26 15:11:56 +00:00
mrg
b4818d3cf1 XXX: turn off sim support by hand. yay, now gdb links on mips64. 2009-12-15 16:31:54 +00:00
skrll
b16946f34b First pass at gdb mknative for mips64* 2009-12-15 08:25:10 +00:00
uebayasi
ca9b54662a Conditionalize gnu/usr.bin/groff build by ${MKGROFF}. 2009-12-14 13:39:33 +00:00
mrg
4a1f591022 run mknative-gcc for these, in -current. 2009-12-14 04:43:59 +00:00
mrg
e00f8f918d regenerate these with -current mknative-gcc. 2009-12-14 03:44:27 +00:00
mrg
149287da38 add the mips64 files as found on the matt-nb5-mips64 branch,
for base-reference.
2009-12-14 02:26:28 +00:00
pooka
d6224f4507 Remove support for NetBSD/playstation2. 2009-12-05 16:29:10 +00:00
joerg
62bcbea33d Add the -iremap option to gcc(1) and cpp(1). This option specifies a
prefix transformation rule for __FILE__ and can be used to avoid
hard-coding the location of the source tree in the resulting binary.
2009-11-11 19:03:52 +00:00
skrll
0f3b48f345 Remove binutils 2.16 crossover build files. 2009-11-08 15:24:36 +00:00
enami
518511b898 Accept -U num. Nowadays, diff(1) rejects -u0 etc by default. 2009-11-06 22:02:35 +00:00
christos
74d5fd875f YY_NO is not needed here. 2009-10-29 14:32:18 +00:00
joerg
5733f40793 Reduce amount of macro magic. Use the same special characters as nroff
can deal with limitations of the terminal.
2009-10-24 19:31:03 +00:00
joerg
aedb06c6a4 Don't even try to use mandoc for the groff documentation. 2009-10-23 23:23:56 +00:00
joerg
5e73cc20c9 Reduce macro magic. Ensure that GNU is on the left side.
Consistently use roff character entities, nroff is smart enough to deal
with that.
2009-10-23 23:22:54 +00:00
christos
ef84d58c4d put back getline. 2009-10-19 00:28:19 +00:00
christos
bf1e098a88 we have getdelim and getline, no need for a separate copy here. 2009-10-18 23:47:43 +00:00
christos
34d7482a37 we have getdelim now! 2009-10-12 22:20:50 +00:00
skrll
8a9ef45c9c The version from defs.mk is in G_VERSION. 2009-09-24 06:31:08 +00:00
skrll
8a770313a3 Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This
makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}.

Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook.

Update the sets lists and add conditionals for lib{bfd,opcodes}.
2009-09-08 07:08:00 +00:00
asau
5947548a82 Use SCRIPTS instead of FILES to handle (executable) scripts.
Approved by dholland.
2009-08-19 20:32:58 +00:00
skrll
3734e9d3e6 Make binutils stuff conditional on HAVE_BINUTILS being 216. 2009-08-18 15:11:25 +00:00
agc
3d7d7405a9 Add explanation of libiscsi, get rid of openpgpsdk 2009-06-25 17:40:07 +00:00
plunky
7b19d61dc6 change description of libbluetooth to "Bluetooth Library" as it contains
more than just host lookups

also, remove libsdp as that has been deprecated
2009-05-16 18:13:08 +00:00
snj
63d43c9446 Add an entry for 5.1. 2009-05-07 00:37:30 +00:00
ad
e8f7cd4ed0 Enable -mtune=nocona by default on x86. I have tested on a range of CPUs
and this seems to give the best results.
2009-05-04 21:32:31 +00:00
joerg
ce8b4de7cb Convert gcov man page to mdoc(7) using othersrc/usr.bin/pod2mdoc.
Do some manual post-processing and use that as new gcov(1).
The original version is included to add as base for three-way merges.
2009-04-30 00:56:29 +00:00
joerg
cbe0c9ed8f Convert CPP man page to mdoc(7) using othersrc/usr.bin/pod2mdoc.
Do some manual post-processing and use that as new cpp(1).
The original version is included to add as base for three-way merges.
2009-04-30 00:45:47 +00:00
joerg
088f138ba4 Convert GCC man page to mdoc(7) using othersrc/usr.bin/pod2mdoc.
Do some manual post-processing and use that as new gcc(1).
The original version is included to add as base for three-way merges.

OK wiz, no objection from tech-userlevel.
2009-04-30 00:30:56 +00:00
agc
5abe14eabf Add a definition for libnetpgp 2009-04-28 15:41:52 +00:00
reed
742585d6c5 Fix librefuse macro to show -lrefuse (not -lfuse).
That will fix "man refuse" Library details.
2009-04-28 03:07:53 +00:00
drochner
0fa7059102 define YY_NO_INPUT where appropriate, from Kurt J. Lidl per PR misc/41160 2009-04-20 16:05:29 +00:00
christos
736e89e40b goodbye old cvs 2009-04-18 12:58:19 +00:00
joerg
ae707ac197 Install some default transliterations for man pages. If nroff is used
with ASCII as output, encode the German umlaut and szet characters with
the normal transliteration rules.

OK wiz@
2009-04-12 17:56:35 +00:00
christos
abaef4a949 unhook cvs 2009-04-08 16:29:18 +00:00
drochner
94b97e7a5b regenerated after i386 gcc configuration change (assume i486) 2009-03-27 19:38:43 +00:00
joerg
c75b98fd0e Add entry for libfetch. 2009-03-11 14:29:06 +00:00
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