common upgrades

Change-Id: I567fc15845b601019d346569ecfcef4f89687fd2
This commit is contained in:
Lionel Sambuc 2012-11-22 16:50:23 +01:00
parent 65c5a092c1
commit be89757ef5
50 changed files with 22 additions and 65 deletions

View file

@ -1,4 +0,0 @@
SUBDIR+= include
.include <bsd.subdir.mk>

View file

@ -1,8 +0,0 @@
INCSDIR= /usr/include/minix
INCS+= termios.h
SUBDIR+= sys
.include <bsd.kinc.mk>

View file

@ -1,11 +0,0 @@
INCSDIR= /usr/include/sys
INCS+= elf64.h elf_common.h elf_generic.h \
ioc_block.h ioc_fbd.h ioc_file.h ioc_tape.h ioc_disk.h \
ioc_memory.h ioc_sound.h ioc_tty.h \
kbdio.h mtio.h svrctl.h video.h vm.h procfs.h elf_core.h exec_elf.h \
disk.h dkio.h ioccom.h mutex.h iostat.h disklabel.h disklabel_gpt.h \
bootblock.h dkbad.h
.include <bsd.kinc.mk>

View file

@ -1,5 +0,0 @@
.include <bsd.own.mk>
.PATH: ${NETBSDSRCDIR}/common/include/sys
INCS+= mount.h

View file

@ -39,7 +39,9 @@
#include <fcntl.h>
#include <limits.h>
#include <unistd.h>
#if defined(__minix)
#include <assert.h>
#endif /* defined(__minix) */
#endif
#include <sys/atomic.h>

View file

@ -4,5 +4,5 @@
SRCS+= snprintb.c
.else
SRCS+= snprintb.c proc_compare.c getfstypename.c
COPTS.snprintb.c = -Wno-format-nonliteral
.endif
COPTS.snprintb.c = -Wno-format-nonliteral

View file

@ -7,8 +7,6 @@ NOOBJ= # defined
# Missing: mp.h
.if defined(__MINIX)
# Avoid installing: kvm.h lwp.h sa.h (latter not installed anyway)
INCS= a.out.h 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 disktab.h dlfcn.h err.h errno.h fenv.h fmtmsg.h fnmatch.h \
@ -20,31 +18,10 @@ INCS= a.out.h aio.h ar.h assert.h atomic.h \
ndbm.h netconfig.h netdb.h netgroup.h nlist.h nl_types.h nsswitch.h \
paths.h pwd.h randomid.h ranlib.h re_comp.h regex.h regexp.h \
resolv.h res_update.h rmt.h sched.h search.h semaphore.h setjmp.h \
sgtty.h signal.h stab.h stdbool.h stddef.h stdio.h stdlib.h string.h \
strings.h stringlist.h struct.h sysexits.h tar.h time.h \
ttyent.h tzfile.h ucontext.h ulimit.h unistd.h util.h utime.h utmp.h \
utmpx.h uuid.h varargs.h vis.h wchar.h wctype.h wordexp.h
# MINIX Specific headers.
INCS+= env.h fetch.h lib.h libutil.h timers.h
.else
INCS= a.out.h 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 disktab.h dlfcn.h err.h errno.h fenv.h fmtmsg.h fnmatch.h \
fstab.h fts.h ftw.h getopt.h glob.h grp.h ifaddrs.h iconv.h \
inttypes.h iso646.h kvm.h langinfo.h libgen.h \
limits.h link.h link_aout.h link_elf.h locale.h \
login_cap.h lwp.h malloc.h math.h md2.h \
memory.h mntopts.h monetary.h mpool.h mqueue.h \
ndbm.h netconfig.h netdb.h netgroup.h nlist.h nl_types.h nsswitch.h \
paths.h pwd.h quota.h randomid.h ranlib.h re_comp.h regex.h regexp.h \
resolv.h res_update.h rmt.h sched.h search.h semaphore.h setjmp.h \
string.h sgtty.h signal.h spawn.h stab.h stdbool.h stddef.h stdio.h \
string.h sgtty.h signal.h stab.h stdbool.h stddef.h stdio.h \
stdlib.h strings.h stringlist.h struct.h sysexits.h tar.h time.h \
ttyent.h tzfile.h ucontext.h ulimit.h unistd.h util.h utime.h utmp.h \
utmpx.h uuid.h vis.h wchar.h wctype.h wordexp.h
.endif
INCS+= arpa/ftp.h arpa/inet.h arpa/nameser.h arpa/nameser_compat.h \
arpa/telnet.h arpa/tftp.h
INCS+= protocols/dumprestore.h protocols/routed.h protocols/rwhod.h \
@ -60,6 +37,12 @@ INCS+= ssp/ssp.h ssp/stdio.h ssp/string.h ssp/strings.h ssp/unistd.h
INCS+= ieeefp.h
.endif
.if defined(__MINIX)
# MINIX Specific headers.
INCS+= env.h fetch.h lib.h libutil.h timers.h varargs.h
.endif
.include <bsd.own.mk>
@ -71,14 +54,9 @@ INCSDIR= /usr/include
.else
SUBDIR= rpc
.endif
.if defined(__MINIX)
SUBDIR+= prop
.else
SUBDIR+= ../common/include/prop
.endif
.if defined(__MINIX)
SUBDIR+= arch/${MACHINE_ARCH}
SUBDIR+= arch sys minix
SUBDIR+= net netinet netinet6
SUBDIR+= ddekit

View file

@ -14,18 +14,14 @@ INCS+= acpi.h audio_fw.h bitmap.h \
driver.h drivers.h drvlib.h ds.h \
endpoint.h fslib.h gcov.h hash.h \
hgfs.h ioctl.h input.h ipc.h ipcconst.h \
keymap.h limits.h mthread.h minlib.h \
keymap.h limits.h mount.h mthread.h minlib.h \
netdriver.h optset.h partition.h portio.h \
priv.h procfs.h profile.h queryparam.h \
rs.h safecopies.h sched.h sef.h sffs.h \
sound.h spin.h sys_config.h sysinfo.h \
syslib.h sysutil.h timers.h type.h \
syslib.h sysutil.h termios.h timers.h type.h \
tty.h u64.h usb.h usb_ch9.h vbox.h \
vboxfs.h vboxif.h vboxtype.h vm.h \
vfsif.h vtreefs.h libminixfs.h netsock.h
# Necessary as the build system does not support multiple inclusion
# of bsd.kinc.mk in a single Makefile with different INCSDIR
.include "${NETBSDSRCDIR}/common/include/sys/Makefile.mount.inc"
.include <bsd.kinc.mk>

View file

@ -1,4 +1,4 @@
/* <sys/mount.h>
/* <minix/mount.h>
* definitions for mount(2)
*/

View file

@ -36,6 +36,15 @@ INCS+= ansi.h atomic.h \
extattr.h \
wait.h exec.h
# Present only in minix
INCS+= ioc_net.h statfs.h
INCS+= elf64.h elf_common.h elf_generic.h \
ioc_block.h ioc_fbd.h ioc_file.h ioc_tape.h ioc_disk.h \
ioc_memory.h ioc_sound.h ioc_tty.h \
kbdio.h mtio.h svrctl.h video.h vm.h procfs.h elf_core.h exec_elf.h \
disk.h dkio.h ioccom.h mutex.h iostat.h disklabel.h disklabel_gpt.h \
bootblock.h dkbad.h
INCSYMLINKS=\
sys/fcntl.h /usr/include/fcntl.h \
sys/poll.h /usr/include/poll.h \