minix/nbsd_include
Gianluca Guida cc17b27a2b Build NetBSD libc library in world in ELF mode.
3 sets of libraries are built now:
  . ack: all libraries that ack can compile (/usr/lib/i386/)
  . clang+elf: all libraries with minix headers (/usr/lib/)
  . clang+elf: all libraries with netbsd headers (/usr/netbsd/)

Once everything can be compiled with netbsd libraries and headers, the
/usr/netbsd hierarchy will be obsolete and its libraries compiled with
netbsd headers will be installed in /usr/lib, and its headers
in /usr/include. (i.e. minix libc and current minix headers set
will be gone.)

To use the NetBSD libc system (libraries + headers) before
it is the default libc, see:
   http://wiki.minix3.org/en/DevelopersGuide/UsingNetBSDCode
This wiki page also documents the maintenance of the patch
files of minix-specific changes to imported NetBSD code.

Changes in this commit:
  . libsys: Add NBSD compilation and create a safe NBSD-based libc.
  . Port rest of libraries (except libddekit) to new header system.
  . Enable compilation of libddekit with new headers.
  . Enable kernel compilation with new headers.
  . Enable drivers compilation with new headers.
  . Port legacy commands to new headers and libc.
  . Port servers to new headers.
  . Add <sys/sigcontext.h> in compat library.
  . Remove dependency file in tree.
  . Enable compilation of common/lib/libc/atomic in libsys
  . Do not generate RCSID strings in libc.
  . Temporarily disable zoneinfo as they are incompatible with NetBSD format
  . obj-nbsd for .gitignore
  . Procfs: use only integer arithmetic. (Antoine Leca)
  . Increase ramdisk size to create NBSD-based images.
  . Remove INCSYMLINKS handling hack.
  . Add nbsd_include/sys/exec_elf.h
  . Enable ELF compilation with NBSD libc.
  . Add 'make nbsdsrc' in tools to download reference NetBSD sources.
  . Automate minix-port.patch creation.
  . Avoid using fstavfs() as it is *extremely* slow and unneeded.
  . Set err() as PRIVATE to avoid name clash with libc.
  . [NBSD] servers/vm: remove compilation warnings.
  . u32 is not a long in NBSD headers.
  . UPDATING info on netbsd hierarchy
  . commands fixes for netbsd libc
2011-06-24 11:46:30 +02:00
..
arch Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
arpa [NBSD libc] Various fixes. 2011-04-06 15:59:10 +00:00
heimdal
minix Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
net Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
netinet Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
netinet6 Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
protocols
rpc Clean up NetBSD includes Minix port. 2011-02-15 20:16:12 +00:00
rpcsvc
ssp
sys Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
a.out.h [NBSD libc] Various fixes. 2011-04-06 15:59:10 +00:00
aio.h
ar.h
assert.h
atomic.h
bitstring.h
bm.h
cdbr.h
cdbw.h
complex.h
cpio.h
ctype.h
db.h
dirent.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
disktab.h
dlfcn.h
err.h
errno.h
fenv.h
fmtmsg.h
fnmatch.h
fstab.h
fts.h This patch modifies the NetBSD basic includes to be Minix 2011-02-15 12:03:42 +00:00
ftw.h
getopt.h
glob.h
grp.h
hesiod.h
iconv.h
ieeefp.h
ifaddrs.h
inttypes.h
iso646.h
kvm.h
langinfo.h
libgen.h
limits.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
link_aout.h
link_elf.h
link.h
locale.h
login_cap.h
lwp.h
Makefile Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
malloc.h
math.h
md2.h
memory.h
minix-port.patch Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
mntopts.h
monetary.h
mpool.h
mqueue.h
ndbm.h
netconfig.h
netdb.h [NBSD libc] Various fixes. 2011-04-06 15:59:10 +00:00
netgroup.h
nl_types.h
nlist.h
nsswitch.h
paths.h This patch modifies the NetBSD basic includes to be Minix 2011-02-15 12:03:42 +00:00
pwd.h [NBSD libc] Various fixes. 2011-04-06 15:59:10 +00:00
randomid.h
ranlib.h
re_comp.h
regex.h
regexp.h
res_update.h
resolv.h
rmt.h
sa.h
sched.h This patch modifies the NetBSD basic includes to be Minix 2011-02-15 12:03:42 +00:00
search.h
semaphore.h
setjmp.h
sgtty.h
signal.h Clean up NetBSD includes Minix port. 2011-02-15 20:16:12 +00:00
stab.h
stdbool.h
stddef.h
stdio.h This patch modifies the NetBSD basic includes to be Minix 2011-02-15 12:03:42 +00:00
stdlib.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
string.h
stringlist.h
strings.h
struct.h
sysexits.h
tar.h
tgmath.h
time.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
ttyent.h
tzfile.h
ucontext.h
ulimit.h
unistd.h NBSD includes: Include sys/reboot.h in unistd.h 2011-03-22 14:54:38 +00:00
util.h
utime.h
utmp.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
utmpx.h
uuid.h
varargs.h
vis.h
wchar.h
wctype.h
wordexp.h