Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Define _KERNTYPES for things that need it.



details:   https://anonhg.NetBSD.org/src/rev/b9b075d88094
branches:  trunk
changeset: 813297:b9b075d88094
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 23 21:22:45 2016 +0000

description:
Define _KERNTYPES for things that need it.

diffstat:

 external/bsd/ipf/bin/ipftest/Makefile     |  4 ++--
 external/bsd/iscsi/initiator/Makefile     |  4 ++--
 external/bsd/libproc/Makefile.inc         |  3 ++-
 external/bsd/top/bin/Makefile             |  4 ++--
 external/cddl/osnet/Makefile.inc          |  2 +-
 external/cddl/osnet/lib/Makefile.inc      |  3 ++-
 external/cddl/osnet/sbin/Makefile.inc     |  3 ++-
 external/cddl/osnet/usr.bin/Makefile.inc  |  3 ++-
 external/cddl/osnet/usr.sbin/Makefile.inc |  3 ++-
 lib/libarch/Makefile                      |  3 ++-
 lib/libkern/Makefile                      |  3 ++-
 lib/libp2k/Makefile                       |  3 ++-
 lib/libperfuse/Makefile                   |  4 ++--
 lib/libpuffs/Makefile                     |  3 ++-
 lib/librefuse/Makefile                    |  3 ++-
 lib/librumpclient/Makefile                |  4 ++--
 lib/librumphijack/Makefile                |  4 ++--
 lib/librumpuser/Makefile                  |  4 ++--
 lib/libukfs/Makefile                      |  4 ++--
 libexec/ld.elf_so/Makefile                |  4 ++--
 libexec/rpc.rstatd/Makefile               |  4 ++--
 sbin/dkscan_bsdlabel/Makefile             |  4 ++--
 sbin/fsirand/Makefile                     |  3 ++-
 sbin/mount/Makefile                       |  3 ++-
 sbin/mount_portal/Makefile                |  3 ++-
 sbin/mount_puffs/Makefile                 |  3 ++-
 share/mk/bsd.prog.mk                      |  3 ++-
 sys/arch/i386/stand/boot/Makefile.boot    |  4 ++--
 sys/arch/i386/stand/dosboot/Makefile      |  4 ++--
 sys/arch/i386/stand/pxeboot/Makefile      |  4 ++--
 tests/dev/Makefile.inc                    |  1 +
 tests/dev/audio/Makefile                  |  3 ++-
 tests/dev/dm/Makefile                     |  3 ++-
 tests/dev/md/Makefile                     |  3 ++-
 tests/dev/scsipi/Makefile                 |  4 ++--
 tests/dev/sysmon/Makefile                 |  3 ++-
 tests/fs/Makefile.inc                     |  1 +
 tests/fs/nfs/Makefile.inc                 |  1 +
 tests/fs/puffs/h_dtfs/Makefile            |  3 ++-
 tests/include/sys/Makefile                |  3 ++-
 tests/kernel/Makefile                     |  3 ++-
 tests/kernel/tty/Makefile                 |  3 ++-
 tests/lib/libc/sys/Makefile               |  3 ++-
 tests/lib/librumpclient/Makefile          |  3 ++-
 tests/lib/semaphore/pthread/Makefile      |  4 ++--
 tests/modules/Makefile                    |  3 ++-
 tests/modules/Makefile.inc                |  1 +
 tests/net/Makefile.inc                    |  1 +
 tests/rump/Makefile.inc                   |  1 +
 usr.bin/kdump/Makefile                    |  4 ++--
 usr.bin/ktruss/Makefile                   |  4 ++--
 usr.bin/ldd/Makefile.inc                  |  3 ++-
 usr.bin/pmap/Makefile                     |  3 ++-
 usr.bin/rump_allserver/Makefile           |  3 ++-
 usr.bin/rump_dhcpclient/Makefile          |  3 ++-
 usr.bin/rump_halt/Makefile                |  3 ++-
 usr.bin/rump_server/Makefile              |  3 ++-
 usr.bin/systat/Makefile                   |  4 ++--
 usr.sbin/Makefile.inc                     |  3 ++-
 usr.sbin/acpitools/acpidump/Makefile      |  4 ++--
 usr.sbin/acpitools/amldb/Makefile         |  4 ++--
 usr.sbin/cpuctl/Makefile                  |  3 ++-
 usr.sbin/perfused/Makefile                |  3 ++-
 usr.sbin/puffs/Makefile.inc               |  3 ++-
 64 files changed, 121 insertions(+), 79 deletions(-)

diffs (truncated from 967 to 300 lines):

diff -r 416b19d858a4 -r b9b075d88094 external/bsd/ipf/bin/ipftest/Makefile
--- a/external/bsd/ipf/bin/ipftest/Makefile     Sat Jan 23 21:22:13 2016 +0000
+++ b/external/bsd/ipf/bin/ipftest/Makefile     Sat Jan 23 21:22:45 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2015/01/17 11:25:30 martin Exp $
+#      $NetBSD: Makefile,v 1.4 2016/01/23 21:22:45 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -12,7 +12,7 @@
 
 CPPFLAGS+=     -DIPFILTER_LOG -DIPFILTER_LOOKUP \
                -DIPFILTER_SYNC -DIPFILTER_CKSUM \
-               -I.
+               -I. -D_KERNTYPES
 
 COPTS.radix.c= -Wno-error
 COPTS+=                -fno-strict-aliasing
diff -r 416b19d858a4 -r b9b075d88094 external/bsd/iscsi/initiator/Makefile
--- a/external/bsd/iscsi/initiator/Makefile     Sat Jan 23 21:22:13 2016 +0000
+++ b/external/bsd/iscsi/initiator/Makefile     Sat Jan 23 21:22:45 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2011/08/17 09:24:23 christos Exp $
+# $NetBSD: Makefile,v 1.6 2016/01/23 21:22:45 christos Exp $
 
 .sinclude "${.CURDIR}/../Makefile.inc"
 
@@ -13,7 +13,7 @@
 SRCS=iscsi-initiator.c virtdir.c libkmod.c
 LDADD+= -lrefuse -liscsi -lpuffs
 DPADD+= ${LIBREFUSE} ${LIBISCSI} ${LIBPUFFS}
-CPPFLAGS+= -I${ISCSIDIST}/include
+CPPFLAGS+= -I${ISCSIDIST}/include -D_KERNTYPES
 CPPFLAGS+= -pthread
 LDFLAGS+= -pthread
 MAN=iscsi-initiator.8
diff -r 416b19d858a4 -r b9b075d88094 external/bsd/libproc/Makefile.inc
--- a/external/bsd/libproc/Makefile.inc Sat Jan 23 21:22:13 2016 +0000
+++ b/external/bsd/libproc/Makefile.inc Sat Jan 23 21:22:45 2016 +0000
@@ -1,3 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.1 2015/09/24 14:12:48 christos Exp $
+# $NetBSD: Makefile.inc,v 1.2 2016/01/23 21:22:45 christos Exp $
 
 LIBPROCDIR:=   ${.PARSEDIR}/dist
+CPPFLAGS+=     -D_KERNTYPES
diff -r 416b19d858a4 -r b9b075d88094 external/bsd/top/bin/Makefile
--- a/external/bsd/top/bin/Makefile     Sat Jan 23 21:22:13 2016 +0000
+++ b/external/bsd/top/bin/Makefile     Sat Jan 23 21:22:45 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2013/03/21 21:43:22 christos Exp $
+#      $NetBSD: Makefile,v 1.10 2016/01/23 21:22:45 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -11,7 +11,7 @@
 WARNS= 4
 CWARNFLAGS+=   -Wno-missing-noreturn
 
-CPPFLAGS+=-I${.CURDIR} -I${TOPDIR} -I.
+CPPFLAGS+=-I${.CURDIR} -I${TOPDIR} -I. -D_KERNTYPES
 SRCS=  color.c commands.c display.c hash.c screen.c \
        top.c username.c utils.c version.c m_netbsd.c
 DPSRCS+=sigdesc.h config.h
diff -r 416b19d858a4 -r b9b075d88094 external/cddl/osnet/Makefile.inc
--- a/external/cddl/osnet/Makefile.inc  Sat Jan 23 21:22:13 2016 +0000
+++ b/external/cddl/osnet/Makefile.inc  Sat Jan 23 21:22:45 2016 +0000
@@ -5,4 +5,4 @@
 
 OPENSOLARIS_USR_DISTDIR=${OSNETDIR}/dist
 OPENSOLARIS_SYS_DISTDIR=${OSNETDIR}/dist
-CPPFLAGS+=-Wno-unknown-pragmas -Wno-sign-compare
+CPPFLAGS+=-Wno-unknown-pragmas -Wno-sign-compare -D_KERNTYPES
diff -r 416b19d858a4 -r b9b075d88094 external/cddl/osnet/lib/Makefile.inc
--- a/external/cddl/osnet/lib/Makefile.inc      Sat Jan 23 21:22:13 2016 +0000
+++ b/external/cddl/osnet/lib/Makefile.inc      Sat Jan 23 21:22:45 2016 +0000
@@ -1,4 +1,5 @@
-#      $NetBSD: Makefile.inc,v 1.3 2010/02/21 01:46:34 darran Exp $
+#      $NetBSD: Makefile.inc,v 1.4 2016/01/23 21:22:45 christos Exp $
 
 MKLINT=no
 MKLINTLIB=no
+CPPFLAGS+=     -D_KERNTYPES
diff -r 416b19d858a4 -r b9b075d88094 external/cddl/osnet/sbin/Makefile.inc
--- a/external/cddl/osnet/sbin/Makefile.inc     Sat Jan 23 21:22:13 2016 +0000
+++ b/external/cddl/osnet/sbin/Makefile.inc     Sat Jan 23 21:22:45 2016 +0000
@@ -1,3 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.1 2009/08/07 20:57:56 haad Exp $
+#      $NetBSD: Makefile.inc,v 1.2 2016/01/23 21:22:45 christos Exp $
 
 BINDIR?=       /sbin
+CPPFLAGS+=     -D_KERNTYPES
diff -r 416b19d858a4 -r b9b075d88094 external/cddl/osnet/usr.bin/Makefile.inc
--- a/external/cddl/osnet/usr.bin/Makefile.inc  Sat Jan 23 21:22:13 2016 +0000
+++ b/external/cddl/osnet/usr.bin/Makefile.inc  Sat Jan 23 21:22:45 2016 +0000
@@ -1,3 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.1 2009/08/07 20:57:59 haad Exp $
+#      $NetBSD: Makefile.inc,v 1.2 2016/01/23 21:22:46 christos Exp $
 
 BINDIR?=       /usr/bin
+CPPFLAGS+=     -D_KERNTYPES
diff -r 416b19d858a4 -r b9b075d88094 external/cddl/osnet/usr.sbin/Makefile.inc
--- a/external/cddl/osnet/usr.sbin/Makefile.inc Sat Jan 23 21:22:13 2016 +0000
+++ b/external/cddl/osnet/usr.sbin/Makefile.inc Sat Jan 23 21:22:45 2016 +0000
@@ -1,3 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.1 2009/08/07 20:57:59 haad Exp $
+#      $NetBSD: Makefile.inc,v 1.2 2016/01/23 21:22:46 christos Exp $
 
 BINDIR?=       /usr/sbin
+CPPFLAGS+=     -D_KERNTYPES
diff -r 416b19d858a4 -r b9b075d88094 lib/libarch/Makefile
--- a/lib/libarch/Makefile      Sat Jan 23 21:22:13 2016 +0000
+++ b/lib/libarch/Makefile      Sat Jan 23 21:22:45 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.29 2015/06/08 04:08:30 matt Exp $
+#      $NetBSD: Makefile,v 1.30 2016/01/23 21:22:46 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -13,6 +13,7 @@
 OBJS+= ${ASM}
 POBJS+=        ${ASM:.o=.po}
 CLEANFILES+= ${ASM} ${POBJS}
+CPPFLAGS+= -D_KERNTYPES
 
 LIBC_MACHINE_CPU?=     ${MACHINE_CPU}
 
diff -r 416b19d858a4 -r b9b075d88094 lib/libkern/Makefile
--- a/lib/libkern/Makefile      Sat Jan 23 21:22:13 2016 +0000
+++ b/lib/libkern/Makefile      Sat Jan 23 21:22:45 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2013/08/25 14:20:30 matt Exp $
+#      $NetBSD: Makefile,v 1.7 2016/01/23 21:22:46 christos Exp $
 
 .include <bsd.obj.mk>          # Pull in OBJDIR name rules.
 .include <bsd.own.mk>
@@ -18,6 +18,7 @@
 COPTS+=        -fno-unwind-tables
 CWARNFLAGS+= -Werror
 CWARNFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
+CPPFLAGS+= -D_KERNTYPES
 
 ### find out what to use for libkern
 KERN_AS=       library
diff -r 416b19d858a4 -r b9b075d88094 lib/libp2k/Makefile
--- a/lib/libp2k/Makefile       Sat Jan 23 21:22:13 2016 +0000
+++ b/lib/libp2k/Makefile       Sat Jan 23 21:22:45 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2013/09/11 23:04:10 joerg Exp $
+#      $NetBSD: Makefile,v 1.4 2016/01/23 21:22:46 christos Exp $
 #
 
 LIB=           p2k
@@ -9,6 +9,7 @@
 
 INCS=          p2k.h
 INCSDIR=       /usr/include/rump
+CPPFLAGS+=     -D_KERNTYPES
 
 SRCS=          p2k.c
 MAN=           p2k.3
diff -r 416b19d858a4 -r b9b075d88094 lib/libperfuse/Makefile
--- a/lib/libperfuse/Makefile   Sat Jan 23 21:22:13 2016 +0000
+++ b/lib/libperfuse/Makefile   Sat Jan 23 21:22:45 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2012/09/06 16:39:07 riz Exp $
+# $NetBSD: Makefile,v 1.11 2016/01/23 21:22:46 christos Exp $
 
 LIB=            perfuse
 LIBDPLIBS+=     puffs  ${.CURDIR}/../libpuffs
@@ -8,7 +8,7 @@
 CWARNFLAGS.clang+=     -Wno-format-security
 
 #CFLAGS+=        ${PERFUSE_OPT_DEBUG_FLAGS}
-CPPFLAGS+=     -I${.CURDIR} 
+CPPFLAGS+=     -I${.CURDIR}  -D_KERNTYPES
 CPPFLAGS+=     -I${NETBSDSRCDIR}/lib/libpuffs 
 SRCS=           perfuse.c ops.c subr.c debug.c
 MAN=           libperfuse.3
diff -r 416b19d858a4 -r b9b075d88094 lib/libpuffs/Makefile
--- a/lib/libpuffs/Makefile     Sat Jan 23 21:22:13 2016 +0000
+++ b/lib/libpuffs/Makefile     Sat Jan 23 21:22:45 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.25 2012/03/21 05:37:43 matt Exp $
+#      $NetBSD: Makefile,v 1.26 2016/01/23 21:22:46 christos Exp $
 #
 
 .include <bsd.own.mk>
@@ -16,6 +16,7 @@
                puffs_framebuf.3 puffs_node.3 puffs_ops.3 puffs_path.3
 INCS=          puffs.h puffsdump.h
 INCSDIR=       /usr/include
+CPPFLAGS+=     -D_KERNTYPES
 LINTFLAGS+=-S -w
 
 .include <bsd.lib.mk>
diff -r 416b19d858a4 -r b9b075d88094 lib/librefuse/Makefile
--- a/lib/librefuse/Makefile    Sat Jan 23 21:22:13 2016 +0000
+++ b/lib/librefuse/Makefile    Sat Jan 23 21:22:45 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2012/03/21 05:37:43 matt Exp $
+# $NetBSD: Makefile,v 1.10 2016/01/23 21:22:46 christos Exp $
 
 USE_FORT?=     yes     # data driven bugs?
 
@@ -11,6 +11,7 @@
 .endif
 
 CFLAGS+=       ${FUSE_OPT_DEBUG_FLAGS}
+CPPFLAGS+=     -D_KERNTYPES
 SRCS=          refuse.c refuse_opt.c
 MAN=           refuse.3
 WARNS?=                5
diff -r 416b19d858a4 -r b9b075d88094 lib/librumpclient/Makefile
--- a/lib/librumpclient/Makefile        Sat Jan 23 21:22:13 2016 +0000
+++ b/lib/librumpclient/Makefile        Sat Jan 23 21:22:45 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2013/09/10 17:39:10 pooka Exp $
+#      $NetBSD: Makefile,v 1.11 2016/01/23 21:22:46 christos Exp $
 #
 
 .PATH: ${.CURDIR}/../../sys/rump/librump/rumpkern
@@ -17,7 +17,7 @@
 LIBDPLIBS+=    ${lib} lib
 .endfor
 
-CPPFLAGS+=     -DRUMP_CLIENT
+CPPFLAGS+=     -DRUMP_CLIENT -D_KERNTYPES
 CPPFLAGS+=     -I${.OBJDIR} -I${.CURDIR}
 CPPFLAGS+=     -I${.CURDIR}/../librumpuser
 SRCS=          rumpclient.c
diff -r 416b19d858a4 -r b9b075d88094 lib/librumphijack/Makefile
--- a/lib/librumphijack/Makefile        Sat Jan 23 21:22:13 2016 +0000
+++ b/lib/librumphijack/Makefile        Sat Jan 23 21:22:45 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.16 2014/01/18 18:37:30 tron Exp $
+#      $NetBSD: Makefile,v 1.17 2016/01/23 21:22:46 christos Exp $
 #
 
 LIB=           rumphijack
@@ -10,7 +10,7 @@
 
 SRCS=          hijack.c hijackdlsym.c
 
-CPPFLAGS+=     -D_DIAGNOSTIC -D_REENTRANT
+CPPFLAGS+=     -D_DIAGNOSTIC -D_REENTRANT -D_KERNTYPES
 
 WARNS?=                5
 
diff -r 416b19d858a4 -r b9b075d88094 lib/librumpuser/Makefile
--- a/lib/librumpuser/Makefile  Sat Jan 23 21:22:13 2016 +0000
+++ b/lib/librumpuser/Makefile  Sat Jan 23 21:22:45 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.23 2014/11/09 17:39:37 pooka Exp $
+#      $NetBSD: Makefile,v 1.24 2016/01/23 21:22:46 christos Exp $
 #
 
 .include <bsd.own.mk>
@@ -19,7 +19,7 @@
 LIBDO.${lib}=  _external
 LIBDPLIBS+=    ${lib} lib
 .endfor
-CPPFLAGS+=     -DLIBRUMPUSER
+CPPFLAGS+=     -DLIBRUMPUSER -D_KERNTYPES
 #CPPFLAGS+=    -D_DIAGNOSTIC
 
 
diff -r 416b19d858a4 -r b9b075d88094 lib/libukfs/Makefile
--- a/lib/libukfs/Makefile      Sat Jan 23 21:22:13 2016 +0000
+++ b/lib/libukfs/Makefile      Sat Jan 23 21:22:45 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2013/09/11 23:04:11 joerg Exp $
+#      $NetBSD: Makefile,v 1.8 2016/01/23 21:22:47 christos Exp $
 #
 
 WARNS=         2
@@ -7,7 +7,7 @@
 LIBDPLIBS+=    rump    ${.CURDIR}/../librump           \
                rumpvfs ${.CURDIR}/../librumpvfs \
                pthread ${.CURDIR}/../libpthread
-CPPFLAGS+=     -I${.CURDIR}
+CPPFLAGS+=     -I${.CURDIR} -D_KERNTYPES
 
 INCS=          ukfs.h
 INCSDIR=       /usr/include/rump
diff -r 416b19d858a4 -r b9b075d88094 libexec/ld.elf_so/Makefile
--- a/libexec/ld.elf_so/Makefile        Sat Jan 23 21:22:13 2016 +0000
+++ b/libexec/ld.elf_so/Makefile        Sat Jan 23 21:22:45 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.129 2014/09/19 17:43:33 matt Exp $
+#      $NetBSD: Makefile,v 1.130 2016/01/23 21:22:47 christos Exp $
 #
 # NOTE: when changing ld.so, ensure that ldd still compiles.
 #
@@ -91,7 +91,7 @@
 BINDIR=                ${SHLINKINSTALLDIR}
 
 CPPFLAGS+=     -DLIBDIR=\"${LIBDIR}\" -D_PATH_RTLD=\"${BINDIR}/${PROG}\"
-CPPFLAGS+=     -I${.CURDIR} -I.
+CPPFLAGS+=     -I${.CURDIR} -I. -D_KERNTYPES
 CPPFLAGS+=     -DRTLD_LOADER



Home | Main Index | Thread Index | Old Index