remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
This commit is contained in:
parent
f4082af472
commit
75e42fa7da
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2010/11/21 19:19:22 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2011/06/20 07:43:56 mrg Exp $
|
||||
|
||||
BINDIR= /usr/bin
|
||||
|
||||
@ -11,7 +11,7 @@ DPADD+= ${LIBEDIT} ${LIBTERMINFO}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.sftp.c+= -Wno-pointer-sign
|
||||
COPTS.sftp-client.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 2010/11/21 19:19:22 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2011/06/20 07:43:56 mrg Exp $
|
||||
|
||||
BINDIR= /usr/bin
|
||||
|
||||
@ -7,6 +7,6 @@ SRCS= ssh-keygen.c moduli.c
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.ssh-keygen.c= -Wno-pointer-sign
|
||||
.endif
|
||||
|
4
crypto/external/bsd/openssh/bin/ssh/Makefile
vendored
4
crypto/external/bsd/openssh/bin/ssh/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2011/06/04 02:08:50 tsutsui Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2011/06/20 07:43:56 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -10,7 +10,7 @@ SRCS= ssh.c readconf.c clientloop.c sshtty.c \
|
||||
roaming_common.c roaming_client.c
|
||||
|
||||
COPTS.sshconnect1.c= -fno-strict-aliasing
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.mux.c= -Wno-pointer-sign
|
||||
COPTS.sshconnect2.c= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2010/12/02 10:21:28 he Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2011/06/20 07:43:56 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -17,7 +17,7 @@ SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
|
||||
kexdhs.c kexgexs.c sftp-server.c sftp-common.c auth2-jpake.c \
|
||||
roaming_common.c roaming_serv.c
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.auth-options.c= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
7
crypto/external/bsd/openssh/lib/Makefile
vendored
7
crypto/external/bsd/openssh/lib/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.8 2011/02/05 16:01:57 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2011/06/20 07:43:56 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -28,10 +28,13 @@ LIBDPLIBS+= crypto ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libcrypto \
|
||||
crypt ${NETBSDSRCDIR}/lib/libcrypt \
|
||||
z ${NETBSDSRCDIR}/lib/libz
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
.for f in dns channels hostfile ssh-pkcs11
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
# XXX
|
||||
COPTS.channels.c+= -fno-strict-aliasing
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.52 2011/02/20 08:26:09 matt Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.53 2011/06/20 07:43:56 mrg Exp $
|
||||
#
|
||||
# Makefile for sysinst
|
||||
|
||||
@ -46,7 +46,7 @@ CPPFLAGS+= -I. -I${.CURDIR}/../.. -I${.CURDIR} \
|
||||
CPPFLAGS+=-DINET6
|
||||
.endif
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.label.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.16 2008/08/29 00:02:22 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.17 2011/06/20 07:43:57 mrg Exp $
|
||||
|
||||
NOMAN=
|
||||
.include <bsd.own.mk>
|
||||
@ -12,7 +12,7 @@ SRCS= dhclient.c clparse.c
|
||||
CPPFLAGS+= -DCLIENT_PATH='"PATH=/usr/bin:/usr/sbin:/bin:/sbin"' \
|
||||
-DSMALL -I${RSRCDIR} -I${RSRCDIR}/includes
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
CPPFLAGS+= -fno-strict-aliasing
|
||||
.endif
|
||||
|
||||
|
4
external/bsd/am-utils/bin/amd/Makefile
vendored
4
external/bsd/am-utils/bin/amd/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.6 2011/05/26 12:56:25 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2011/06/20 07:43:57 mrg Exp $
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
|
||||
@ -44,7 +44,7 @@ LDADD+= -lssl -lcrypto
|
||||
SRCS+= info_nis.c
|
||||
.endif
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS.amq_subr.c+= -fno-strict-aliasing
|
||||
.endif
|
||||
|
||||
|
4
external/bsd/am-utils/bin/amq/Makefile
vendored
4
external/bsd/am-utils/bin/amq/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 2010/02/08 07:56:38 plunky Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2011/06/20 07:43:57 mrg Exp $
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
|
||||
@ -13,7 +13,7 @@ MAN+= amq.8
|
||||
CPPFLAGS+= -I${DIST}
|
||||
LDADD+= ${LIBAMU}
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS.amq_xdr.c+= -fno-strict-aliasing
|
||||
COPTS.amq.c+= -fno-strict-aliasing
|
||||
.endif
|
||||
|
4
external/bsd/am-utils/bin/pawd/Makefile
vendored
4
external/bsd/am-utils/bin/pawd/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2010/02/08 07:56:38 plunky Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2011/06/20 07:43:57 mrg Exp $
|
||||
|
||||
BINDIR= /usr/bin
|
||||
|
||||
@ -15,7 +15,7 @@ MAN+= pawd.1
|
||||
CPPFLAGS+= -I${DIST}
|
||||
LDADD+= ${LIBAMU}
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS.amq_xdr.c+= -fno-strict-aliasing
|
||||
.endif
|
||||
|
||||
|
4
external/bsd/am-utils/lib/libamu/Makefile
vendored
4
external/bsd/am-utils/lib/libamu/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 2010/02/08 07:56:38 plunky Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2011/06/20 07:43:57 mrg Exp $
|
||||
|
||||
NOLINKLIB= # defined
|
||||
|
||||
@ -18,7 +18,7 @@ SRCS= hasmntopt.c misc_rpc.c mount_fs.c mtab.c mtab_bsd.c \
|
||||
wire.c xdr_func.c xutil.c
|
||||
|
||||
# XXX
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS.xdr_func.c+= -fno-strict-aliasing
|
||||
.endif
|
||||
|
||||
|
4
external/bsd/bind/Makefile.inc
vendored
4
external/bsd/bind/Makefile.inc
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.11 2011/05/26 12:56:25 joerg Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.12 2011/06/20 07:43:57 mrg Exp $
|
||||
|
||||
.if !defined(BIND9_MAKEFILE_INC)
|
||||
BIND9_MAKEFILE_INC=yes
|
||||
@ -52,7 +52,7 @@ CPPFLAGS+=-I${BIND_SRCDIR}/include \
|
||||
CPPFLAGS+= -DWANT_IPV6
|
||||
.endif
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
4
external/bsd/bind/bin/named/Makefile
vendored
4
external/bsd/bind/bin/named/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 2009/07/28 21:18:01 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2011/06/20 07:43:57 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -13,7 +13,7 @@ DIST=${IDIST}/bin/named
|
||||
CPPFLAGS+=-I${DIST}/include -I${DIST}/unix/include -DCONFIGARGS=\"defaults\"
|
||||
CPPFLAGS+=-DNO_VERSION_DATE
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
.for f in client
|
||||
COPTS.${f}.c+= -fno-strict-aliasing
|
||||
.endfor
|
||||
|
4
external/bsd/bind/lib/libdns/Makefile
vendored
4
external/bsd/bind/lib/libdns/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2011/02/16 03:47:21 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2011/06/20 07:43:57 mrg Exp $
|
||||
|
||||
LIB=dns
|
||||
|
||||
@ -12,7 +12,7 @@ DIST= ${IDIST}/lib/dns
|
||||
.PATH.c: ${DIST}/unix ${DIST}/sec/dst ${DIST}
|
||||
CPPFLAGS+= -I${BIND_SRCDIR}/include/dns -I${DIST}
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
.for f in lookup byaddr request sdb validator
|
||||
COPTS.${f}.c+= -Wno-pointer-sign -fno-strict-aliasing
|
||||
.endfor
|
||||
|
4
external/historical/nawk/bin/Makefile
vendored
4
external/historical/nawk/bin/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.5 2011/05/26 12:56:27 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2011/06/20 07:43:57 mrg Exp $
|
||||
|
||||
WARNS?= 4
|
||||
CWARNFLAGS.clang+= -Wno-array-bounds -Wno-self-assign
|
||||
@ -17,7 +17,7 @@ LDADD+= -lm
|
||||
DPADD+= ${LIBM}
|
||||
.endif
|
||||
YHEADER= yes
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.21 2008/08/29 00:02:22 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.22 2011/06/20 07:43:58 mrg Exp $
|
||||
|
||||
USE_SHLIBDIR= yes
|
||||
|
||||
@ -25,6 +25,6 @@ LDSTATIC?= -static
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.crypt-sha1.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.22 2009/07/20 17:28:51 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.23 2011/06/20 07:43:58 mrg Exp $
|
||||
|
||||
USE_FORT?= yes # network protocol library
|
||||
|
||||
@ -301,7 +301,7 @@ CPPFLAGS+= -I. \
|
||||
CPPFLAGS+=-DHAVE_IPV6
|
||||
.endif
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.24 2008/08/29 00:02:22 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.25 2011/06/20 07:43:58 mrg Exp $
|
||||
|
||||
USE_FORT?= yes # network protocol library
|
||||
|
||||
@ -92,10 +92,8 @@ CPPFLAGS+= -I. \
|
||||
CPPFLAGS+=-DHAVE_IPV6
|
||||
.endif
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.for f in mkey
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
.endfor
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS.mkey.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
${gen_files} hdb_asn1.hx: hdb_asn1_files
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2008/10/27 07:26:55 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2011/06/20 07:43:58 mrg Exp $
|
||||
|
||||
USE_FORT?= yes # cryptographic software
|
||||
|
||||
@ -42,7 +42,7 @@ CPPFLAGS+= -I. \
|
||||
CPPFLAGS+=-DHAVE_IPV6
|
||||
.endif
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.6 2009/07/20 12:16:37 skrll Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2011/06/20 07:43:58 mrg Exp $
|
||||
|
||||
USE_FORT?= yes # cryptographic software
|
||||
|
||||
@ -140,10 +140,8 @@ CPPFLAGS+= -I. \
|
||||
CPPFLAGS+=-DHAVE_IPV6
|
||||
.endif
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.for f in mkey
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
.endfor
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.mkey.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
${gen_files_ocsp} ocsp_asn1.hx: ocsp_asn1_files
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.25 2008/08/29 00:02:22 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.26 2011/06/20 07:43:58 mrg Exp $
|
||||
|
||||
USE_FORT?= yes # network protocol library
|
||||
|
||||
@ -89,7 +89,7 @@ CLEANFILES= kadm5_err.h kadm5_err.c
|
||||
fi
|
||||
.endif
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.marshall.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.28 2008/08/29 00:02:22 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.29 2011/06/20 07:43:58 mrg Exp $
|
||||
|
||||
USE_FORT?= yes # network protocol library
|
||||
|
||||
@ -102,7 +102,7 @@ CPPFLAGS+=-DHAVE_IPV6
|
||||
CPPFLAGS+= -DNO_DLOPEN
|
||||
.endif
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.marshall.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.110 2011/05/20 21:42:48 nakayama Exp $
|
||||
# $NetBSD: Makefile,v 1.111 2011/06/20 07:43:58 mrg Exp $
|
||||
#
|
||||
# @(#)Makefile 5.1beta 93/09/24
|
||||
#
|
||||
@ -158,7 +158,7 @@ COMMON_SRCS+= e_acos.c e_acosf.c e_acosh.c e_acoshf.c e_asin.c e_asinf.c \
|
||||
.PATH: ${.CURDIR}/compat
|
||||
COMMON_SRCS+= compat_cabs.c compat_cabsf.c
|
||||
# XXX our compatibility cabs() is different!
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS.compat_cabs.c= -fno-builtin-cabs
|
||||
COPTS.compat_cabsf.c= -fno-builtin-cabsf
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
|
||||
# $NetBSD: Makefile,v 1.32 2011/04/24 19:00:56 elric Exp $
|
||||
# $NetBSD: Makefile,v 1.33 2011/06/20 07:43:58 mrg Exp $
|
||||
|
||||
USE_FORT?= yes # network protocol library
|
||||
|
||||
@ -29,7 +29,7 @@ SRCS+= sra.c pk.c
|
||||
CPPFLAGS+= -DSRA
|
||||
.endif
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
.for f in auth enc_des kerberos5 pk
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
.endfor
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2008/08/29 00:02:22 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2011/06/20 07:43:59 mrg Exp $
|
||||
|
||||
NOLINT= # defined
|
||||
|
||||
@ -26,7 +26,7 @@ CPPFLAGS+= -I. \
|
||||
-I${DESTDIR}/usr/include/krb5 \
|
||||
-DHAVE_CONFIG_H
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.server.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2008/08/29 00:02:23 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2011/06/20 07:43:59 mrg Exp $
|
||||
|
||||
NOLINT= # defined
|
||||
|
||||
@ -25,7 +25,7 @@ CPPFLAGS+= -I. \
|
||||
-I${DESTDIR}/usr/include/krb5 \
|
||||
-DHAVE_CONFIG_H
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.server.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.21 2008/08/29 00:02:23 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.22 2011/06/20 07:43:59 mrg Exp $
|
||||
|
||||
NOLINT= # defined
|
||||
|
||||
@ -25,7 +25,7 @@ CPPFLAGS+= -I. \
|
||||
-I${DESTDIR}/usr/include/krb5 \
|
||||
-DHAVE_CONFIG_H
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.server.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.16 2008/08/29 00:02:23 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.17 2011/06/20 07:43:59 mrg Exp $
|
||||
|
||||
NOLINT= # defined
|
||||
|
||||
@ -23,7 +23,7 @@ CPPFLAGS+= -I. \
|
||||
CPPFLAGS+=-DHAVE_IPV6
|
||||
.endif
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.kpasswdd.c+= -fno-strict-aliasing
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2008/08/29 00:02:23 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2011/06/20 07:43:59 mrg Exp $
|
||||
|
||||
NOMAN= #defined
|
||||
|
||||
@ -14,7 +14,7 @@ regress:
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
CFLAGS+= -fno-reorder-blocks
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2008/08/29 00:02:23 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2011/06/20 07:43:59 mrg Exp $
|
||||
|
||||
NOMAN= #defined
|
||||
|
||||
@ -14,6 +14,6 @@ regress:
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
CFLAGS+= -fno-reorder-blocks
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2008/08/29 00:02:23 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2011/06/20 07:43:59 mrg Exp $
|
||||
|
||||
NOMAN= #defined
|
||||
PROG= ras3
|
||||
@ -13,6 +13,6 @@ regress:
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
CFLAGS+= -fno-reorder-blocks
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.5 2008/08/29 00:02:23 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2011/06/20 07:43:59 mrg Exp $
|
||||
|
||||
PROG= dkctl
|
||||
MAN= dkctl.8
|
||||
@ -8,6 +8,6 @@ DPADD+= ${LIBUTIL}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.dkctl.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.36 2009/04/11 07:58:11 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.37 2011/06/20 07:43:59 mrg Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||
|
||||
# dump.h header file
|
||||
@ -35,7 +35,7 @@ MLINKS+=dump.8 rdump.8
|
||||
|
||||
.PATH: ${NETBSDSRCDIR}/sys/ufs/ffs
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.ffs_inode.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.14 2008/08/29 00:02:23 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2011/06/20 07:44:00 mrg Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||
|
||||
.include <bsd.own.mk>
|
||||
@ -16,7 +16,7 @@ CPPFLAGS+= -I${FSCK}
|
||||
LDADD+=-lutil
|
||||
DPADD+=${LIBUTIL}
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
.for f in pass5 utilities
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
.endfor
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.41 2011/03/06 17:08:16 bouyer Exp $
|
||||
# $NetBSD: Makefile,v 1.42 2011/06/20 07:44:00 mrg Exp $
|
||||
# @(#)Makefile 8.2 (Berkeley) 4/27/95
|
||||
|
||||
WARNS?= 3 # XXX: sign-compare issues
|
||||
@ -32,7 +32,7 @@ DPADD+=${LIBUTIL}
|
||||
LDADD+=-lprop
|
||||
DPADD+=${LIBPROP}
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.ffs_appleufs.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.28 2011/03/06 17:08:16 bouyer Exp $
|
||||
# $NetBSD: Makefile,v 1.29 2011/06/20 07:44:00 mrg Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||
|
||||
WARNS?= 3 # XXX: sign-compare issues in ../fsck_ffs
|
||||
@ -33,7 +33,7 @@ LDADD+= -lutil -ledit -lterminfo -lprop
|
||||
DPADD+= ${LIBUTIL} ${LIBEDIT} ${LIBTERMINFO} ${LIBPROP}
|
||||
.endif
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
.for f in fsdb ffs_appleufs
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
.endfor
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.3 2010/04/03 11:55:41 plunky Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.4 2011/06/20 07:44:00 mrg Exp $
|
||||
#
|
||||
|
||||
SRCS+= rcfile.c ctx.c cfopt.c subr.c nls.c rap.c mbuf.c rq.c file.c \
|
||||
@ -13,7 +13,7 @@ CPPFLAGS+= -I${SMBDIST}/include -I${SMBDIST}/mount_smbfs
|
||||
DPADD+=${LIBUTIL}
|
||||
LDADD+=-lutil
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
.for f in ctx mbuf nb_name nbns_rq
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
.endfor
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.37 2011/03/06 17:08:16 bouyer Exp $
|
||||
# $NetBSD: Makefile,v 1.38 2011/06/20 07:44:00 mrg Exp $
|
||||
# @(#)Makefile 8.2 (Berkeley) 3/27/94
|
||||
|
||||
.include <bsd.own.mk>
|
||||
@ -28,6 +28,6 @@ MLINKS= mount_mfs.8 mfs.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.ffs_appleufs.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2008/08/29 00:02:23 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2011/06/20 07:44:00 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -8,7 +8,7 @@ MAN= newfs_sysvbfs.8
|
||||
DPADD+= ${LIBUTIL}
|
||||
LDADD+= -lutil
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS.newfs_sysvbfs.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.24 2008/08/29 00:02:23 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.25 2011/06/20 07:44:00 mrg Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||
|
||||
.include <bsd.own.mk>
|
||||
@ -12,7 +12,7 @@ MAN= restore.8
|
||||
MLINKS+=restore.8 rrestore.8
|
||||
.PATH: ${NETBSDSRCDIR}/sbin/dump
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.tape.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.kmodule.mk,v 1.29 2011/05/17 01:12:34 christos Exp $
|
||||
# $NetBSD: bsd.kmodule.mk,v 1.30 2011/06/20 07:44:00 mrg Exp $
|
||||
|
||||
# We are not building this with PIE
|
||||
MKPIE=no
|
||||
@ -19,7 +19,7 @@ CPPFLAGS+= -isystem ${S}/../common/include
|
||||
CPPFLAGS+= -D_KERNEL -D_LKM -D_MODULE
|
||||
|
||||
# XXX until the kernel is fixed again...
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
CFLAGS+= -fno-strict-aliasing -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.15 2010/12/15 08:09:23 he Exp $
|
||||
# $NetBSD: Makefile,v 1.16 2011/06/20 07:44:00 mrg Exp $
|
||||
|
||||
WARNS?= 1 # fails -Wshadow -Wcast-qual
|
||||
|
||||
@ -15,7 +15,7 @@ LDADD+= -lm
|
||||
DPADD+= ${LIBM}
|
||||
.endif
|
||||
YHEADER= yes
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.26 2008/08/29 00:02:24 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.27 2011/06/20 07:44:01 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -15,6 +15,6 @@ MAN= crontab.1 crontab.5
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.misc.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.11 2009/04/14 22:15:19 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.12 2011/06/20 07:44:01 mrg Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
|
||||
PROG= ctags
|
||||
@ -8,7 +8,7 @@ SRCS= C.c ctags.c fortran.c lisp.c print.c tree.c yacc.c
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if !defined(HOSTPROGNAME)
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.ctags.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.14 2011/06/19 00:43:54 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2011/06/20 07:44:01 mrg Exp $
|
||||
|
||||
USE_FORT?= yes # data-driven bugs?
|
||||
|
||||
@ -26,6 +26,6 @@ LINKS+= ${BINDIR}/gzip ${BINDIR}/gunzip \
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.gzip.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.14 2011/05/26 12:56:33 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2011/06/20 07:44:01 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -10,7 +10,7 @@ CPPFLAGS+=-I${DIST}/include -I${.CURDIR} -I. -DGTAGS
|
||||
#DBG=-g
|
||||
|
||||
#CWARNFLAGS+=-Wno-parentheses -Wno-unused -Wno-missing-prototypes
|
||||
#.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
#.if defined(HAVE_GCC)
|
||||
#CWARNFLAGS+=-Wno-pointer-sign
|
||||
#COPTS+=-fno-strict-aliasing
|
||||
#.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.46 2011/05/26 12:56:33 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.47 2011/06/20 07:44:01 mrg Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
@ -77,7 +77,7 @@ LDADD+= -ldes -lcom_err -lroken
|
||||
DPADD+= ${LIBDES} ${LIBCOM_ERR} ${LIBROKEN}
|
||||
.endif
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
.for f in commands telnet terminal utilities
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
.endfor
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.6 2008/08/29 00:02:24 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2011/06/20 07:44:01 mrg Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
|
||||
PROG= tr
|
||||
@ -6,7 +6,7 @@ SRCS= str.c tr.c
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
.for f in str tr
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
.endfor
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2008/08/29 00:02:25 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2011/06/20 07:44:01 mrg Exp $
|
||||
|
||||
PROG= bootptest
|
||||
SRCS= bootptest.c print-bootp.c getether.c
|
||||
@ -6,6 +6,6 @@ MAN= bootptest.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.print-bootp.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.14 2009/04/22 15:23:02 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2011/06/20 07:44:01 mrg Exp $
|
||||
|
||||
PROG= cron
|
||||
SRCS= cron.c database.c do_command.c entry.c env.c job.c \
|
||||
@ -9,6 +9,6 @@ MAN= cron.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.misc.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.24 2011/05/26 12:56:33 joerg Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.25 2011/06/20 07:44:02 mrg Exp $
|
||||
|
||||
WARNS?= 1 # XXX -Wshadow -Wcast-qual -Wsign-compare
|
||||
|
||||
@ -17,7 +17,7 @@ OMOBJDIR!=cd $(.CURDIR)/../omapip && ${PRINTOBJDIR}
|
||||
MROBJDIR!=cd $(.CURDIR)/../minires && ${PRINTOBJDIR}
|
||||
DSTOBJDIR!=cd $(.CURDIR)/../dst && ${PRINTOBJDIR}
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS+= -fno-strict-aliasing
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.13 2009/04/22 15:23:03 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2011/06/20 07:44:02 mrg Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/18/93
|
||||
|
||||
WARNS?= 3 # XXX -Wsign-compare
|
||||
@ -10,7 +10,7 @@ SRCS= dumplfs.c lfs_cksum.c misc.c
|
||||
.PATH: ${NETBSDSRCDIR}/sys/ufs/lfs
|
||||
MAN= dumplfs.8
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS+= -fno-strict-aliasing
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.17 2009/04/22 15:23:03 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.18 2011/06/20 07:44:02 mrg Exp $
|
||||
|
||||
WARNS?= 2 # XXX -Wextra -Wsign-compare
|
||||
NOLINT= # defined
|
||||
@ -29,7 +29,7 @@ CPPFLAGS+= -I. \
|
||||
CPPFLAGS+=-DHAVE_IPV6
|
||||
.endif
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS.mit_dump.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.43 2011/01/26 01:18:55 pooka Exp $
|
||||
# $NetBSD: Makefile,v 1.44 2011/06/20 07:44:02 mrg Exp $
|
||||
#
|
||||
|
||||
.include <bsd.own.mk>
|
||||
@ -44,7 +44,7 @@ CPPFLAGS+= -I${.CURDIR} -I.
|
||||
.PATH: ${.CURDIR}/arch ${UFSSRC}/ffs ${UFSSRC}/ext2fs
|
||||
|
||||
.if !defined(HOSTPROGNAME)
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
.for f in i386 macppc
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
.endfor
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.5 2010/02/03 15:34:46 roy Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2011/06/20 07:44:02 mrg Exp $
|
||||
|
||||
WARNS?= 2 # XXX -Wextra -Wsign-compare
|
||||
NOLINT= # defined
|
||||
@ -26,7 +26,7 @@ CPPFLAGS+= -I. \
|
||||
CPPFLAGS+=-DHAVE_IPV6
|
||||
.endif
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS.mit_dump.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.10 2010/02/03 15:34:46 roy Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2011/06/20 07:44:02 mrg Exp $
|
||||
|
||||
PROG = isdnd
|
||||
SRCS = rc_parse.y rc_scan.l main.c rc_config.c log.c curses.c \
|
||||
@ -32,7 +32,7 @@ CPPFLAGS+= -DI4B_NOTCPIP_MONITOR
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.alias.c+= -Wno-pointer-sign
|
||||
COPTS.holiday.c+= -Wno-pointer-sign
|
||||
COPTS.monitor.c+= -Wno-pointer-sign
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.5 2010/02/06 23:45:27 he Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2011/06/20 07:44:02 mrg Exp $
|
||||
|
||||
PROG = isdnmonitor
|
||||
SRCS = main.c curses.c
|
||||
@ -10,6 +10,6 @@ MAN = isdnmonitor.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.main.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2010/02/03 15:34:46 roy Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2011/06/20 07:44:02 mrg Exp $
|
||||
|
||||
PROG = isdntel
|
||||
SRCS = main.c display.c files.c alias.c
|
||||
@ -7,6 +7,6 @@ MAN = isdntel.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.alias.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2008/08/29 00:02:25 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2011/06/20 07:44:02 mrg Exp $
|
||||
|
||||
PROG = isdntrace
|
||||
SRCS = q921.c q931.c q931_util.c q932_fac.c 1tr6.c trace.c \
|
||||
@ -7,7 +7,7 @@ MAN = isdntrace.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.q932_fac.c+= -Wno-pointer-sign
|
||||
COPTS.trace.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 2009/01/16 19:39:52 pooka Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.2 2011/06/20 07:44:03 mrg Exp $
|
||||
#
|
||||
|
||||
.PATH: ${.CURDIR}/cd9660 ${NETBSDSRCDIR}/sys/fs/cd9660
|
||||
@ -9,7 +9,7 @@ SRCS+= cd9660_strings.c cd9660_debug.c cd9660_eltorito.c
|
||||
SRCS+= cd9660_write.c cd9660_conversion.c iso9660_rrip.c cd9660_archimedes.c
|
||||
|
||||
.if !defined(HOSTPROGNAME)
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
.for f in cd9660_debug cd9660_write
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
.endfor
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.14 2009/08/20 21:59:12 he Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2011/06/20 07:44:03 mrg Exp $
|
||||
|
||||
LIBISPRIVATE= yes
|
||||
|
||||
@ -20,6 +20,6 @@ version.c: VERSION
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4 || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.print.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.10 2008/08/29 00:02:25 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2011/06/20 07:44:03 mrg Exp $
|
||||
|
||||
PROG= mopd
|
||||
SRCS= mopd.c process.c
|
||||
@ -9,6 +9,6 @@ DPADD+= ${LIBUTIL}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.process.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,9 +1,9 @@
|
||||
# $NetBSD: Makefile,v 1.8 2008/08/29 00:02:25 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2011/06/20 07:44:03 mrg Exp $
|
||||
|
||||
PROG= mopprobe
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.mopprobe.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.7 2008/08/29 00:02:25 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2011/06/20 07:44:03 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -15,7 +15,7 @@ DISKLABEL_SRC= ${NETBSDSRCDIR}/sbin/disklabel
|
||||
.PATH: ${DISKLABEL_SRC}
|
||||
CPPFLAGS+= -I${DISKLABEL_SRC}
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.iso9660.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.6 2009/04/22 15:23:06 lukem Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.7 2011/06/20 07:44:03 mrg Exp $
|
||||
|
||||
WARNS?= 1 # XXX -Wshadow -Wcast-qual -Wsign-compare
|
||||
|
||||
@ -10,6 +10,6 @@ USE_FORT?=yes # network client/server
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS+= -fno-strict-aliasing
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.40 2011/05/26 12:56:34 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.41 2011/06/20 07:44:03 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -33,7 +33,7 @@ DPADD+=${LIBPAM} ${PAM_STATIC_DPADD}
|
||||
LDADD+= -lpcap -lcrypt -lutil -Wl,--export-dynamic
|
||||
DPADD+= ${LIBPCAP} ${LIBCRYPT} ${LIBUTIL}
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
.for f in chap-md5 chap_ms eap
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
.endfor
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.12 2008/08/29 00:02:25 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2011/06/20 07:44:03 mrg Exp $
|
||||
|
||||
USE_FORT?= yes # network server
|
||||
|
||||
@ -16,6 +16,6 @@ DPADD+= ${LIBUTIL}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.mkarp.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 8.1 (Berkeley) 6/4/93
|
||||
# $NetBSD: Makefile,v 1.12 2008/08/29 00:02:25 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2011/06/20 07:44:03 mrg Exp $
|
||||
|
||||
USE_FORT?= yes # network server
|
||||
|
||||
@ -12,7 +12,7 @@ DPADD+= ${LIBUTIL}
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS.utils.c+= -fno-strict-aliasing
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.21 2008/09/30 06:25:22 dholland Exp $
|
||||
# $NetBSD: Makefile,v 1.22 2011/06/20 07:44:04 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -24,7 +24,7 @@ RPC_SVCFILES= pcnfsd_svc.c
|
||||
RPC_SVCCLASS= udp tcp
|
||||
RPC_SVCFLAGS= -I
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.pcnfsd_v1.c+= -Wno-pointer-sign
|
||||
COPTS.pcnfsd_v2.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.14 2009/10/31 22:32:51 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2011/06/20 07:44:04 mrg Exp $
|
||||
|
||||
WARNS?= 2 # XXX -Wcast-qual -Wsign-compare
|
||||
|
||||
@ -21,6 +21,6 @@ FILES= rtadvd.conf
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4)
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS.dump.c=-fno-strict-aliasing
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.51 2010/12/17 09:54:28 jruoho Exp $
|
||||
# $NetBSD: Makefile,v 1.52 2011/06/20 07:44:04 mrg Exp $
|
||||
|
||||
WARNS?= 1 # XXX: out of date third-party program
|
||||
|
||||
@ -93,7 +93,7 @@ LDADD+= -lcrypto -lcrypt
|
||||
DPADD+= ${LIBCRYPTO} ${LIBCRYPT}
|
||||
.endif
|
||||
|
||||
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS+= -fno-strict-aliasing
|
||||
.for f in print-802_11 print-esp print-fr print-radius print-telnet tcpdump util
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
|
@ -1,10 +1,10 @@
|
||||
# $NetBSD: Makefile,v 1.4 2008/08/29 00:02:26 gmcgarry Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2011/06/20 07:44:04 mrg Exp $
|
||||
|
||||
PROG= wiconfig
|
||||
MAN= wiconfig.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS+= -fno-strict-aliasing
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user