Don't depend on HAVE_GCC being always defined.
This commit is contained in:
parent
9255259cb4
commit
e16a720f89
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2011/06/20 07:43:56 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2012/08/10 12:20:11 joerg Exp $
|
||||
|
||||
BINDIR= /usr/bin
|
||||
|
||||
|
@ -9,9 +9,7 @@ MAN= sftp.1
|
|||
LDADD+= -ledit -lterminfo
|
||||
DPADD+= ${LIBEDIT} ${LIBTERMINFO}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.sftp.c+= -Wno-pointer-sign
|
||||
COPTS.sftp-client.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
# $NetBSD: Makefile,v 1.3 2011/06/20 07:43:56 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2012/08/10 12:20:12 joerg Exp $
|
||||
|
||||
BINDIR= /usr/bin
|
||||
|
||||
PROG= ssh-keygen
|
||||
SRCS= ssh-keygen.c moduli.c
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.ssh-keygen.c= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.7 2011/08/17 05:32:09 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2012/08/10 12:20:12 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -10,10 +10,8 @@ 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) || defined(HAVE_PCC)
|
||||
COPTS.mux.c= -Wno-pointer-sign
|
||||
COPTS.sshconnect2.c= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
|
||||
MAN= ssh.1 ssh_config.5
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.8 2011/09/07 17:49:19 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2012/08/10 12:20:12 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -18,9 +18,7 @@ SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
|
|||
auth2-jpake.c \
|
||||
roaming_common.c roaming_serv.c sandbox-rlimit.c
|
||||
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.auth-options.c= -Wno-pointer-sign
|
||||
.endif
|
||||
COPTS.ldapauth.c= -Wno-format-nonliteral # XXX: should fix
|
||||
|
||||
.if (${USE_PAM} != "no")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.10 2011/07/25 03:03:33 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2012/08/10 12:20:12 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -72,13 +72,11 @@ LIBDPLIBS+= crypto ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libcrypto \
|
|||
crypt ${NETBSDSRCDIR}/lib/libcrypt \
|
||||
z ${NETBSDSRCDIR}/lib/libz
|
||||
|
||||
.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
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.inc,v 1.20 2011/07/04 12:05:00 manu Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.21 2012/08/10 12:20:10 joerg Exp $
|
||||
|
||||
# librpc sources
|
||||
.PATH: ${.CURDIR}/rpc
|
||||
|
@ -169,6 +169,6 @@ MLINKS+= bindresvport.3 bindresvport_sa.3 \
|
|||
xdr.3 xdr_wrapstring.3
|
||||
|
||||
# XXX
|
||||
.if ${HAVE_GCC} == 45 || ${MACHINE} == "vax"
|
||||
.if ${HAVE_GCC:U} == 45 || ${MACHINE} == "vax"
|
||||
COPTS.xdr_float.c+= -fno-strict-aliasing
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.50 2012/03/21 05:37:42 matt Exp $
|
||||
# $NetBSD: Makefile,v 1.51 2012/08/10 12:20:10 joerg Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
||||
|
||||
USE_SHLIBDIR= yes
|
||||
|
@ -127,7 +127,7 @@ tc1: libedit.a tc1.o
|
|||
.include <bsd.subdir.mk>
|
||||
|
||||
# XXX
|
||||
.if ${HAVE_GCC} >= 45
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45
|
||||
COPTS.editline.c+= -Wno-cast-qual
|
||||
COPTS.tokenizer.c+= -Wno-cast-qual
|
||||
COPTS.tokenizern.c+= -Wno-cast-qual
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
|
||||
# $NetBSD: Makefile,v 1.35 2012/03/21 05:37:44 matt Exp $
|
||||
# $NetBSD: Makefile,v 1.36 2012/08/10 12:20:10 joerg Exp $
|
||||
|
||||
USE_FORT?= yes # network protocol library
|
||||
|
||||
|
@ -31,10 +31,8 @@ SRCS+= sra.c pk.c
|
|||
CPPFLAGS+= -DSRA
|
||||
.endif
|
||||
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
.for f in auth enc_des kerberos5 pk
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.38 2012/04/07 04:52:20 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.39 2012/08/10 12:20:11 joerg Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||
|
||||
# dump.h header file
|
||||
|
@ -37,8 +37,6 @@ LDADD+= -lutil
|
|||
|
||||
.PATH: ${NETBSDSRCDIR}/sys/ufs/ffs
|
||||
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.ffs_inode.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.43 2011/08/14 12:32:01 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.44 2012/08/10 12:20:11 joerg Exp $
|
||||
# @(#)Makefile 8.2 (Berkeley) 4/27/95
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
@ -30,9 +30,7 @@ DPADD+=${LIBUTIL}
|
|||
LDADD+=-lprop
|
||||
DPADD+=${LIBPROP}
|
||||
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.ffs_appleufs.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "m68000"
|
||||
COPTS.pass1.c+= -fno-tree-fre -fno-tree-lrs
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.33 2011/08/15 00:16:58 dholland Exp $
|
||||
# $NetBSD: Makefile,v 1.34 2012/08/10 12:20:11 joerg Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
@ -31,11 +31,9 @@ LDADD+= -lutil -ledit -lterminfo -lprop
|
|||
DPADD+= ${LIBUTIL} ${LIBEDIT} ${LIBTERMINFO} ${LIBPROP}
|
||||
.endif
|
||||
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
.for f in fsdb ffs_appleufs
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "m68000"
|
||||
COPTS.pass1.c+= -fno-tree-fre -fno-tree-lrs
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.inc,v 1.4 2011/06/20 07:44:00 mrg Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.5 2012/08/10 12:20:11 joerg Exp $
|
||||
#
|
||||
|
||||
SRCS+= rcfile.c ctx.c cfopt.c subr.c nls.c rap.c mbuf.c rq.c file.c \
|
||||
|
@ -13,8 +13,6 @@ CPPFLAGS+= -I${SMBDIST}/include -I${SMBDIST}/mount_smbfs
|
|||
DPADD+=${LIBUTIL}
|
||||
LDADD+=-lutil
|
||||
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
.for f in ctx mbuf nb_name nbns_rq
|
||||
COPTS.${f}.c+= -Wno-pointer-sign
|
||||
.endfor
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.38 2011/06/20 07:44:00 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.39 2012/08/10 12:20:11 joerg Exp $
|
||||
# @(#)Makefile 8.2 (Berkeley) 3/27/94
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
@ -26,8 +26,6 @@ DPADD+=${LIBPROP}
|
|||
LINKS= ${BINDIR}/newfs ${BINDIR}/mount_mfs
|
||||
MLINKS= mount_mfs.8 mfs.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
||||
COPTS.ffs_appleufs.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2011/07/01 01:26:15 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2012/08/10 12:20:11 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -16,8 +16,6 @@ LDADD+= -lutil
|
|||
CPPFLAGS+=-DV7FS_EI -I${V7FS} -I${FSCK} -g
|
||||
.PATH: ${V7FS} ${FSCK}
|
||||
|
||||
.if defined(HAVE_GCC)
|
||||
COPTS.newfs_v7fs.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
Loading…
Reference in New Issue