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 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
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 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
rpc Clean up NetBSD includes Minix port. 2011-02-15 20:16:12 +00:00
rpcsvc Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ssp Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
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 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ar.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
assert.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
atomic.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
bitstring.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
bm.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
cdbr.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
cdbw.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
complex.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
cpio.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ctype.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
db.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
dirent.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
disktab.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
dlfcn.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
err.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
errno.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
fenv.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
fmtmsg.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
fnmatch.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
fstab.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
fts.h This patch modifies the NetBSD basic includes to be Minix 2011-02-15 12:03:42 +00:00
ftw.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getopt.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
glob.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
grp.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
hesiod.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
iconv.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ieeefp.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ifaddrs.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
inttypes.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
iso646.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
kvm.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
langinfo.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
libgen.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
limits.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
link.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
link_aout.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
link_elf.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
locale.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
login_cap.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
lwp.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
Makefile Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
malloc.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
math.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
md2.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
memory.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
minix-port.patch Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
mntopts.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
monetary.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
mpool.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
mqueue.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ndbm.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
netconfig.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
netdb.h [NBSD libc] Various fixes. 2011-04-06 15:59:10 +00:00
netgroup.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
nl_types.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
nlist.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
nsswitch.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
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 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ranlib.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
re_comp.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
regex.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
regexp.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
res_update.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
resolv.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
rmt.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
sa.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
sched.h This patch modifies the NetBSD basic includes to be Minix 2011-02-15 12:03:42 +00:00
search.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
semaphore.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
setjmp.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
sgtty.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
signal.h Clean up NetBSD includes Minix port. 2011-02-15 20:16:12 +00:00
stab.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
stdbool.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
stddef.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
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 Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
stringlist.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
strings.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
struct.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
sysexits.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
tar.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
tgmath.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
time.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
ttyent.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
tzfile.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ucontext.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ulimit.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
unistd.h NBSD includes: Include sys/reboot.h in unistd.h 2011-03-22 14:54:38 +00:00
util.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
utime.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
utmp.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
utmpx.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
uuid.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
varargs.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
vis.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
wchar.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
wctype.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
wordexp.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00