make support for kqueue(2) and kevent(2) unconditional, the kqueue branch

was merged
This commit is contained in:
jdolecek 2002-10-23 09:25:48 +00:00
parent d17511b4ea
commit d5259d0266
2 changed files with 4 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.130 2002/10/12 17:41:20 jdolecek Exp $ # $NetBSD: Makefile.inc,v 1.131 2002/10/23 09:25:48 jdolecek Exp $
# @(#)Makefile.inc 8.3 (Berkeley) 10/24/94 # @(#)Makefile.inc 8.3 (Berkeley) 10/24/94
# sys sources # sys sources
@ -51,7 +51,8 @@ ASM= accept.S access.S acct.S bind.S chdir.S chflags.S \
getdents.S getfh.S getfsstat.S getgroups.S getitimer.S \ getdents.S getfh.S getfsstat.S getgroups.S getitimer.S \
__getlogin.S getpeername.S getpgid.S getpgrp.S \ __getlogin.S getpeername.S getpgid.S getpgrp.S \
getpriority.S getrlimit.S getrusage.S getsid.S getsockname.S \ getpriority.S getrlimit.S getrusage.S getsid.S getsockname.S \
getsockopt.S gettimeofday.S ioctl.S kill.S ktrace.S \ getsockopt.S gettimeofday.S ioctl.S kevent.S kill.S kqueue.S \
ktrace.S \
lchflags.S lchmod.S lchown.S __lstat13.S lfs_bmapv.S lfs_markv.S \ lchflags.S lchmod.S lchown.S __lstat13.S lfs_bmapv.S lfs_markv.S \
lfs_segclean.S lfs_segwait.S link.S listen.S lutimes.S \ lfs_segclean.S lfs_segwait.S link.S listen.S lutimes.S \
madvise.S mincore.S minherit.S mkdir.S mkfifo.S mknod.S \ madvise.S mincore.S minherit.S mkdir.S mkfifo.S mknod.S \
@ -72,11 +73,6 @@ ASM= accept.S access.S acct.S bind.S chdir.S chflags.S \
__sysctl.S \ __sysctl.S \
__posix_chown.S __posix_fchown.S __posix_lchown.S __posix_rename.S __posix_chown.S __posix_fchown.S __posix_lchown.S __posix_rename.S
.if defined(WITH_KQUEUE) && exists(${DESTDIR}/usr/include/sys/event.h)
ASM+= kqueue.S kevent.S
CPPFLAGS+= -DWITH_KQUEUE
.endif
WEAKASM= sysarch.S WEAKASM= sysarch.S
NOERR= getegid.S geteuid.S getgid.S getpid.S getppid.S getuid.S \ NOERR= getegid.S geteuid.S getgid.S getpid.S getppid.S getuid.S \

View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $NetBSD: makelintstub,v 1.10 2002/10/12 17:41:20 jdolecek Exp $ # $NetBSD: makelintstub,v 1.11 2002/10/23 09:25:49 jdolecek Exp $
# #
# Copyright (c) 1996, 1997 Christopher G. Demetriou # Copyright (c) 1996, 1997 Christopher G. Demetriou
# All rights reserved. # All rights reserved.
@ -65,9 +65,7 @@ header()
#include <sys/shm.h> #include <sys/shm.h>
#include <sys/timex.h> #include <sys/timex.h>
#include <sys/socket.h> #include <sys/socket.h>
#ifdef WITH_KQUEUE
#include <sys/event.h> #include <sys/event.h>
#endif
#ifdef __STDC__ #ifdef __STDC__
#include <stdarg.h> #include <stdarg.h>
#else #else