head	1.7;
access;
symbols
	netbsd-11-0-RC5:1.7
	netbsd-11-0-RC4:1.7
	netbsd-11-0-RC3:1.7
	netbsd-11-0-RC2:1.7
	netbsd-11-0-RC1:1.7
	perseant-exfatfs-base-20250801:1.7
	netbsd-11:1.7.0.2
	netbsd-11-base:1.7
	netbsd-10-1-RELEASE:1.5
	perseant-exfatfs-base-20240630:1.6
	perseant-exfatfs:1.6.0.2
	perseant-exfatfs-base:1.6
	netbsd-8-3-RELEASE:1.3
	netbsd-9-4-RELEASE:1.3
	netbsd-10-0-RELEASE:1.5
	netbsd-10-0-RC6:1.5
	netbsd-10-0-RC5:1.5
	netbsd-10-0-RC4:1.5
	netbsd-10-0-RC3:1.5
	netbsd-10-0-RC2:1.5
	netbsd-10-0-RC1:1.5
	netbsd-10:1.5.0.8
	netbsd-10-base:1.5
	netbsd-9-3-RELEASE:1.3
	cjep_sun2x-base1:1.5
	cjep_sun2x:1.5.0.6
	cjep_sun2x-base:1.5
	cjep_staticlib_x-base1:1.5
	netbsd-9-2-RELEASE:1.3
	cjep_staticlib_x:1.5.0.4
	cjep_staticlib_x-base:1.5
	netbsd-9-1-RELEASE:1.3
	phil-wifi-20200421:1.5
	phil-wifi-20200411:1.5
	is-mlppp:1.5.0.2
	is-mlppp-base:1.5
	phil-wifi-20200406:1.5
	netbsd-8-2-RELEASE:1.3
	netbsd-9-0-RELEASE:1.3
	netbsd-9-0-RC2:1.3
	netbsd-9-0-RC1:1.3
	phil-wifi-20191119:1.3
	netbsd-9:1.3.0.34
	netbsd-9-base:1.3
	phil-wifi-20190609:1.3
	netbsd-8-1-RELEASE:1.3
	netbsd-8-1-RC1:1.3
	pgoyette-compat-merge-20190127:1.3
	pgoyette-compat-20190127:1.3
	pgoyette-compat-20190118:1.3
	pgoyette-compat-1226:1.3
	pgoyette-compat-1126:1.3
	pgoyette-compat-1020:1.3
	pgoyette-compat-0930:1.3
	pgoyette-compat-0906:1.3
	netbsd-7-2-RELEASE:1.3
	pgoyette-compat-0728:1.3
	netbsd-8-0-RELEASE:1.3
	phil-wifi:1.3.0.32
	phil-wifi-base:1.3
	pgoyette-compat-0625:1.3
	netbsd-8-0-RC2:1.3
	pgoyette-compat-0521:1.3
	pgoyette-compat-0502:1.3
	pgoyette-compat-0422:1.3
	netbsd-8-0-RC1:1.3
	pgoyette-compat-0415:1.3
	pgoyette-compat-0407:1.3
	pgoyette-compat-0330:1.3
	pgoyette-compat-0322:1.3
	pgoyette-compat-0315:1.3
	netbsd-7-1-2-RELEASE:1.3
	pgoyette-compat:1.3.0.30
	pgoyette-compat-base:1.3
	netbsd-7-1-1-RELEASE:1.3
	matt-nb8-mediatek:1.3.0.28
	matt-nb8-mediatek-base:1.3
	perseant-stdc-iso10646:1.3.0.26
	perseant-stdc-iso10646-base:1.3
	netbsd-8:1.3.0.24
	netbsd-8-base:1.3
	prg-localcount2-base3:1.3
	prg-localcount2-base2:1.3
	prg-localcount2-base1:1.3
	prg-localcount2:1.3.0.22
	prg-localcount2-base:1.3
	pgoyette-localcount-20170426:1.3
	bouyer-socketcan-base1:1.3
	pgoyette-localcount-20170320:1.3
	netbsd-7-1:1.3.0.20
	netbsd-7-1-RELEASE:1.3
	netbsd-7-1-RC2:1.3
	netbsd-7-nhusb-base-20170116:1.3
	bouyer-socketcan:1.3.0.18
	bouyer-socketcan-base:1.3
	pgoyette-localcount-20170107:1.3
	netbsd-7-1-RC1:1.3
	pgoyette-localcount-20161104:1.3
	netbsd-7-0-2-RELEASE:1.3
	localcount-20160914:1.3
	netbsd-7-nhusb:1.3.0.16
	netbsd-7-nhusb-base:1.3
	pgoyette-localcount-20160806:1.3
	pgoyette-localcount-20160726:1.3
	pgoyette-localcount:1.3.0.14
	pgoyette-localcount-base:1.3
	netbsd-7-0-1-RELEASE:1.3
	netbsd-7-0:1.3.0.12
	netbsd-7-0-RELEASE:1.3
	netbsd-7-0-RC3:1.3
	netbsd-7-0-RC2:1.3
	netbsd-7-0-RC1:1.3
	netbsd-7:1.3.0.10
	netbsd-7-base:1.3
	yamt-pagecache-base9:1.3
	yamt-pagecache-tag8:1.2.2.3
	tls-earlyentropy:1.3.0.8
	tls-earlyentropy-base:1.3
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3
	riastradh-drm2-base3:1.3
	riastradh-drm2-base2:1.3
	riastradh-drm2-base1:1.3
	riastradh-drm2:1.3.0.2
	riastradh-drm2-base:1.3
	khorben-n900:1.3.0.6
	agc-symver:1.3.0.4
	agc-symver-base:1.3
	yamt-pagecache-base8:1.3
	yamt-pagecache-base7:1.2
	yamt-pagecache-base6:1.2
	tls-maxphys:1.2.0.4
	tls-maxphys-base:1.3
	yamt-pagecache-base5:1.2
	yamt-pagecache:1.2.0.2
	yamt-pagecache-base4:1.2;
locks; strict;
comment	@# @;


1.7
date	2024.09.08.09.36.46;	author rillig;	state Exp;
branches;
next	1.6;
commitid	rdsoFf00hj9B9ZoF;

1.6
date	2023.06.03.21.31.45;	author lukem;	state Exp;
branches
	1.6.2.1;
next	1.5;
commitid	r3TGTar07z3GZxrE;

1.5
date	2020.02.12.00.30.48;	author fox;	state Exp;
branches;
next	1.4;
commitid	Jd3mRWbw77bsOjWB;

1.4
date	2020.02.09.07.51.20;	author fox;	state Exp;
branches;
next	1.3;
commitid	n06IMtJ3gwBwlYVB;

1.3
date	2013.01.02.15.50.34;	author dsl;	state Exp;
branches
	1.3.32.1;
next	1.2;

1.2
date	2012.03.24.02.08.34;	author christos;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;

1.1
date	2012.03.23.21.29.45;	author christos;	state Exp;
branches;
next	;

1.6.2.1
date	2025.08.02.05.21.05;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;

1.3.32.1
date	2020.04.08.14.04.05;	author martin;	state Exp;
branches;
next	;
commitid	Qli2aW9E74UFuA3C;

1.2.2.1
date	2012.03.24.02.08.34;	author yamt;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2012.04.17.00.03.11;	author yamt;	state Exp;
branches;
next	1.2.2.3;

1.2.2.3
date	2013.01.23.00.04.37;	author yamt;	state Exp;
branches;
next	;

1.2.4.1
date	2013.02.25.00.26.07;	author tls;	state Exp;
branches;
next	;


desc
@@


1.7
log
@fix a/an grammar in obvious cases
@
text
@#	$NetBSD: Makefile,v 1.6 2023/06/03 21:31:45 lukem Exp $

.include <bsd.own.mk>
.include "../Makefile.inc"

PROG=		ipsend
SRCS=		ipsend.c ip.c ipsopt.c iplang_y.c iplang_l.l sbpf.c \
		sock.c 44arp.c
MAN=		ipsend.1 ipsend.5
DPADD+=		${LIBL}
LDADD+=		-ll

CPPFLAGS+=	-I${UDIST}/ipsend
CPPFLAGS+=	-I${UDIST}/iplang
CPPFLAGS+=	-I${.CURDIR} -I.

# There is some very dubious code to locate the values of
# tcb.rcv_adv, tcb.snd_nxt and tcb.rcv_nxt for a socket.
CPPFLAGS+=	-D_KMEMUSER

CLEANFILES+=	iplang_y.c iplang_y.h

DPSRCS+=	iplang_y.h

.PATH:		${UDIST}/ipsend \
		${UDIST}/iplang

iplang_y.c: iplang_y.y
	${_MKTARGET_CREATE}
	${YACC} -d ${.ALLSRC}
	mv y.tab.c ${.TARGET}
	mv y.tab.h ${.TARGET:.c=.h}

iplang_y.h: iplang_y.c

# XXX
# We have a problem with make and linking ipsend
# cc   -o /home/source/src/usr.sbin/ipf/ipsend/../../../dist/ipf/ipsend .....
# isn't correct.
# Use .NOPATH as a workaround for that problem
.NOPATH: ipsend

.include <bsd.prog.mk>
@


1.6
log
@adapt to ${CC_WNO_MAYBE_UNINITIALIZED}

Use ${CC_WNO_MAYBE_UNINITIALIZED} instead of
the older style more complex expressions.

Remove workarounds if they were for a specific
version of gcc < 10.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2020/02/12 00:30:48 fox Exp $
d40 1
a40 1
# Use .NOPATH as an workaround for that problem
@


1.6.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2024/09/08 09:36:46 rillig Exp $
d40 1
a40 1
# Use .NOPATH as a workaround for that problem
@


1.5
log
@external/bsd/ipf: Fix build failure under LLVM.

-Wno-error= flag now only applies to gcc 8 and not to LLVM based builds.

Reviewed by: kamil@@
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2020/02/09 07:51:20 fox Exp $
a27 2
COPTS.ipsopt.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=maybe-uninitialized :}

@


1.4
log
@external/bsd/ipf: Suppress -Werror=maybe-uninitialized error.

Add -Wno-error=maybe-uninitialized in ipsopt.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@@
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2013/01/02 15:50:34 dsl Exp $
d28 1
a28 1
COPTS.ipsopt.c+=	-Wno-error=maybe-uninitialized
@


1.3
log
@# There is some very dubious code to locate the values of
# tcb.rcv_adv, tcb.snd_nxt and tcb.rcv_nxt for a socket.
so add: CPPFLAGS+=     -D_KMEMUSER
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2012/03/24 02:08:34 christos Exp $
d28 2
@


1.3.32.1
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
#	$NetBSD$
a27 2
COPTS.ipsopt.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=maybe-uninitialized :}

@


1.2
log
@Make this build from our own tree.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2012/03/23 21:29:45 christos Exp $
d17 4
@


1.2.4.1
log
@resync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2012/03/24 02:08:34 christos Exp $
a16 4
# There is some very dubious code to locate the values of
# tcb.rcv_adv, tcb.snd_nxt and tcb.rcv_nxt for a socket.
CPPFLAGS+=	-D_KMEMUSER

@


1.2.2.1
log
@file Makefile was added on branch yamt-pagecache on 2012-04-17 00:03:11 +0000
@
text
@d1 39
@


1.2.2.2
log
@sync with head
@
text
@a0 39
#	$NetBSD$

.include <bsd.own.mk>
.include "../Makefile.inc"

PROG=		ipsend
SRCS=		ipsend.c ip.c ipsopt.c iplang_y.c iplang_l.l sbpf.c \
		sock.c 44arp.c
MAN=		ipsend.1 ipsend.5
DPADD+=		${LIBL}
LDADD+=		-ll

CPPFLAGS+=	-I${UDIST}/ipsend
CPPFLAGS+=	-I${UDIST}/iplang
CPPFLAGS+=	-I${.CURDIR} -I.

CLEANFILES+=	iplang_y.c iplang_y.h

DPSRCS+=	iplang_y.h

.PATH:		${UDIST}/ipsend \
		${UDIST}/iplang

iplang_y.c: iplang_y.y
	${_MKTARGET_CREATE}
	${YACC} -d ${.ALLSRC}
	mv y.tab.c ${.TARGET}
	mv y.tab.h ${.TARGET:.c=.h}

iplang_y.h: iplang_y.c

# XXX
# We have a problem with make and linking ipsend
# cc   -o /home/source/src/usr.sbin/ipf/ipsend/../../../dist/ipf/ipsend .....
# isn't correct.
# Use .NOPATH as an workaround for that problem
.NOPATH: ipsend

.include <bsd.prog.mk>
@


1.2.2.3
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2.2.2 2012/04/17 00:03:11 yamt Exp $
a16 4
# There is some very dubious code to locate the values of
# tcb.rcv_adv, tcb.snd_nxt and tcb.rcv_nxt for a socket.
CPPFLAGS+=	-D_KMEMUSER

@


1.1
log
@Build gluons
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2005/01/01 13:56:21 lukem Exp $
d4 1
d13 3
a15 3
CPPFLAGS+=	-I${NETBSDSRCDIR}/dist/ipf/ipsend
CPPFLAGS+=	-I${NETBSDSRCDIR}/dist/ipf/iplang
CPPFLAGS+=	-I.
d21 2
a22 2
.PATH:		${NETBSDSRCDIR}/dist/ipf/ipsend \
		${NETBSDSRCDIR}/dist/ipf/iplang
@

