head	1.7;
access;
symbols
	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.4
	netbsd-11-base:1.7
	netbsd-10-1-RELEASE:1.6
	perseant-exfatfs-base-20240630:1.7
	perseant-exfatfs:1.7.0.2
	perseant-exfatfs-base:1.7
	netbsd-8-3-RELEASE:1.5
	netbsd-9-4-RELEASE:1.5
	netbsd-10-0-RELEASE:1.6
	netbsd-10-0-RC6:1.6
	netbsd-10-0-RC5:1.6
	netbsd-10-0-RC4:1.6
	netbsd-10-0-RC3:1.6
	netbsd-10-0-RC2:1.6
	netbsd-10-0-RC1:1.6
	netbsd-10:1.6.0.8
	netbsd-10-base:1.6
	netbsd-9-3-RELEASE:1.5
	cjep_sun2x-base1:1.6
	cjep_sun2x:1.6.0.6
	cjep_sun2x-base:1.6
	cjep_staticlib_x-base1:1.6
	netbsd-9-2-RELEASE:1.5
	cjep_staticlib_x:1.6.0.4
	cjep_staticlib_x-base:1.6
	netbsd-9-1-RELEASE:1.5
	phil-wifi-20200421:1.6
	phil-wifi-20200411:1.6
	is-mlppp:1.6.0.2
	is-mlppp-base:1.6
	phil-wifi-20200406:1.6
	netbsd-8-2-RELEASE:1.5
	netbsd-9-0-RELEASE:1.5
	netbsd-9-0-RC2:1.5
	netbsd-9-0-RC1:1.5
	phil-wifi-20191119:1.6
	netbsd-9:1.5.0.48
	netbsd-9-base:1.5
	phil-wifi-20190609:1.5
	netbsd-8-1-RELEASE:1.5
	netbsd-8-1-RC1:1.5
	pgoyette-compat-merge-20190127:1.5
	pgoyette-compat-20190127:1.5
	pgoyette-compat-20190118:1.5
	pgoyette-compat-1226:1.5
	pgoyette-compat-1126:1.5
	pgoyette-compat-1020:1.5
	pgoyette-compat-0930:1.5
	pgoyette-compat-0906:1.5
	netbsd-7-2-RELEASE:1.5
	pgoyette-compat-0728:1.5
	netbsd-8-0-RELEASE:1.5
	phil-wifi:1.5.0.46
	phil-wifi-base:1.5
	pgoyette-compat-0625:1.5
	netbsd-8-0-RC2:1.5
	pgoyette-compat-0521:1.5
	pgoyette-compat-0502:1.5
	pgoyette-compat-0422:1.5
	netbsd-8-0-RC1:1.5
	pgoyette-compat-0415:1.5
	pgoyette-compat-0407:1.5
	pgoyette-compat-0330:1.5
	pgoyette-compat-0322:1.5
	pgoyette-compat-0315:1.5
	netbsd-7-1-2-RELEASE:1.5
	pgoyette-compat:1.5.0.44
	pgoyette-compat-base:1.5
	netbsd-7-1-1-RELEASE:1.5
	matt-nb8-mediatek:1.5.0.42
	matt-nb8-mediatek-base:1.5
	perseant-stdc-iso10646:1.5.0.40
	perseant-stdc-iso10646-base:1.5
	netbsd-8:1.5.0.38
	netbsd-8-base:1.5
	prg-localcount2-base3:1.5
	prg-localcount2-base2:1.5
	prg-localcount2-base1:1.5
	prg-localcount2:1.5.0.36
	prg-localcount2-base:1.5
	pgoyette-localcount-20170426:1.5
	bouyer-socketcan-base1:1.5
	pgoyette-localcount-20170320:1.5
	netbsd-7-1:1.5.0.34
	netbsd-7-1-RELEASE:1.5
	netbsd-7-1-RC2:1.5
	netbsd-7-nhusb-base-20170116:1.5
	bouyer-socketcan:1.5.0.32
	bouyer-socketcan-base:1.5
	pgoyette-localcount-20170107:1.5
	netbsd-7-1-RC1:1.5
	pgoyette-localcount-20161104:1.5
	netbsd-7-0-2-RELEASE:1.5
	localcount-20160914:1.5
	netbsd-7-nhusb:1.5.0.30
	netbsd-7-nhusb-base:1.5
	pgoyette-localcount-20160806:1.5
	pgoyette-localcount-20160726:1.5
	pgoyette-localcount:1.5.0.28
	pgoyette-localcount-base:1.5
	netbsd-7-0-1-RELEASE:1.5
	netbsd-7-0:1.5.0.26
	netbsd-7-0-RELEASE:1.5
	netbsd-7-0-RC3:1.5
	netbsd-7-0-RC2:1.5
	netbsd-7-0-RC1:1.5
	netbsd-5-2-3-RELEASE:1.2
	netbsd-5-1-5-RELEASE:1.2
	netbsd-6-0-6-RELEASE:1.5
	netbsd-6-1-5-RELEASE:1.5
	netbsd-7:1.5.0.24
	netbsd-7-base:1.5
	yamt-pagecache-base9:1.5
	yamt-pagecache-tag8:1.5
	netbsd-6-1-4-RELEASE:1.5
	netbsd-6-0-5-RELEASE:1.5
	tls-earlyentropy:1.5.0.22
	tls-earlyentropy-base:1.5
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.5
	riastradh-drm2-base3:1.5
	netbsd-6-1-3-RELEASE:1.5
	netbsd-6-0-4-RELEASE:1.5
	netbsd-5-2-2-RELEASE:1.2
	netbsd-5-1-4-RELEASE:1.2
	netbsd-6-1-2-RELEASE:1.5
	netbsd-6-0-3-RELEASE:1.5
	netbsd-5-2-1-RELEASE:1.2
	netbsd-5-1-3-RELEASE:1.2
	netbsd-6-1-1-RELEASE:1.5
	riastradh-drm2-base2:1.5
	riastradh-drm2-base1:1.5
	riastradh-drm2:1.5.0.16
	riastradh-drm2-base:1.5
	netbsd-6-1:1.5.0.20
	netbsd-6-0-2-RELEASE:1.5
	netbsd-6-1-RELEASE:1.5
	netbsd-6-1-RC4:1.5
	netbsd-6-1-RC3:1.5
	agc-symver:1.5.0.18
	agc-symver-base:1.5
	netbsd-6-1-RC2:1.5
	netbsd-6-1-RC1:1.5
	yamt-pagecache-base8:1.5
	netbsd-5-2:1.2.0.4
	netbsd-6-0-1-RELEASE:1.5
	yamt-pagecache-base7:1.5
	netbsd-5-2-RELEASE:1.2
	netbsd-5-2-RC1:1.2
	matt-nb6-plus-nbase:1.5
	yamt-pagecache-base6:1.5
	netbsd-6-0:1.5.0.14
	netbsd-6-0-RELEASE:1.5
	netbsd-6-0-RC2:1.5
	tls-maxphys:1.5.0.12
	tls-maxphys-base:1.5
	matt-nb6-plus:1.5.0.10
	matt-nb6-plus-base:1.5
	netbsd-6-0-RC1:1.5
	yamt-pagecache-base5:1.5
	yamt-pagecache-base4:1.5
	netbsd-6:1.5.0.8
	netbsd-6-base:1.5
	netbsd-5-1-2-RELEASE:1.2
	netbsd-5-1-1-RELEASE:1.2
	yamt-pagecache-base3:1.5
	yamt-pagecache-base2:1.5
	yamt-pagecache:1.5.0.6
	yamt-pagecache-base:1.5
	cherry-xenmp:1.5.0.4
	cherry-xenmp-base:1.5
	bouyer-quota2-nbase:1.5
	bouyer-quota2:1.5.0.2
	bouyer-quota2-base:1.5
	matt-mips64-premerge-20101231:1.5
	matt-nb5-mips64-premerge-20101231:1.2
	matt-nb5-pq3:1.2.0.18
	matt-nb5-pq3-base:1.2
	netbsd-5-1:1.2.0.16
	netbsd-5-1-RELEASE:1.2
	netbsd-5-1-RC4:1.2
	matt-nb5-mips64-k15:1.2
	netbsd-5-1-RC3:1.2
	netbsd-5-1-RC2:1.2
	netbsd-5-1-RC1:1.2
	netbsd-5-0-2-RELEASE:1.2
	matt-nb5-mips64-premerge-20091211:1.2
	matt-premerge-20091211:1.5
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.2
	matt-nb4-mips64-k7-u2a-k9b:1.2
	matt-nb5-mips64-u1-k1-k5:1.2
	matt-nb5-mips64:1.2.0.14
	netbsd-5-0-1-RELEASE:1.2
	jym-xensuspend-nbase:1.5
	netbsd-5-0:1.2.0.12
	netbsd-5-0-RELEASE:1.2
	netbsd-5-0-RC4:1.2
	netbsd-4:1.2.0.10
	netbsd-5-0-RC3:1.2
	netbsd-5-0-RC2:1.2
	jym-xensuspend:1.2.0.8
	jym-xensuspend-base:1.5
	netbsd-5-0-RC1:1.2
	netbsd-5:1.2.0.6
	netbsd-5-base:1.2
	matt-mips64-base2:1.2
	wrstuden-revivesa-base-3:1.2
	wrstuden-revivesa:1.2.0.2
	wrstuden-revivesa-base-2:1.2;
locks; strict;
comment	@# @;


1.7
date	2023.06.03.09.09.20;	author lukem;	state Exp;
branches;
next	1.6;
commitid	aBaIRnuykonRStrE;

1.6
date	2019.10.13.07.28.18;	author mrg;	state Exp;
branches;
next	1.5;
commitid	vRNwN94v7NgB2GGB;

1.5
date	2009.05.12.21.50.38;	author plunky;	state Exp;
branches
	1.5.46.1;
next	1.4;

1.4
date	2009.05.12.13.11.18;	author plunky;	state Exp;
branches;
next	1.3;

1.3
date	2009.05.07.18.08.55;	author plunky;	state Exp;
branches;
next	1.2;

1.2
date	2008.08.18.08.25.32;	author plunky;	state Exp;
branches
	1.2.2.1
	1.2.8.1
	1.2.10.1;
next	1.1;

1.1
date	2008.08.17.13.20.57;	author plunky;	state Exp;
branches;
next	;

1.5.46.1
date	2020.04.13.08.05.51;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.2.2.1
date	2008.08.18.08.25.32;	author wrstuden;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2008.09.18.04.30.01;	author wrstuden;	state Exp;
branches;
next	;

1.2.8.1
date	2009.05.13.19.20.19;	author jym;	state Exp;
branches;
next	;

1.2.10.1
date	2008.08.18.08.25.32;	author bouyer;	state dead;
branches;
next	1.2.10.2;

1.2.10.2
date	2009.03.24.21.46.36;	author bouyer;	state Exp;
branches;
next	;


desc
@@


1.7
log
@bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
	GCC_NO_warning
to
	CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
@
text
@# $NetBSD: Makefile,v 1.6 2019/10/13 07:28:18 mrg Exp $
#

PROG=	btpand
MAN=	btpand.8
SRCS=	btpand.c bnep.c channel.c client.c packet.c server.c tap.c

DPADD+=	${LIBBLUETOOTH} ${LIBEVENT} ${LIBUTIL}
LDADD+=	-lbluetooth -levent -lutil

COPTS.tap.c+=	${CC_WNO_STRINGOP_TRUNCATION}

.include <bsd.prog.mk>
@


1.6
log
@introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION    -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION  -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW    -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE   -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints.  many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2009/05/12 21:50:38 plunky Exp $
d11 1
a11 1
COPTS.tap.c+=	${GCC_NO_STRINGOP_TRUNCATION}
@


1.5
log
@update to use the new Service Discovery API
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2009/05/12 13:11:18 plunky Exp $
d11 2
@


1.5.46.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
# $NetBSD$
a10 2
COPTS.tap.c+=	${GCC_NO_STRINGOP_TRUNCATION}

@


1.4
log
@no longer needs libsdp
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2009/05/07 18:08:55 plunky Exp $
d6 1
a6 1
SRCS=	btpand.c bnep.c channel.c client.c packet.c server.c sdp.c tap.c
a10 2
CPPFLAGS+=	-DSDP_COMPAT

@


1.3
log
@Ensure that these programs continue to build while I am in the
process of updating the Service Discovery Protocol API.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2008/08/18 08:25:32 plunky Exp $
d8 2
a9 2
DPADD+=	${LIBBLUETOOTH} ${LIBSDP} ${LIBEVENT} ${LIBUTIL}
LDADD+=	-lbluetooth -lsdp -levent -lutil
@


1.2
log
@no need to use -g and _DIAGNOSTIC
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2008/08/17 13:20:57 plunky Exp $
d11 2
@


1.2.8.1
log
@Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2008/08/18 08:25:32 plunky Exp $
d6 1
a6 1
SRCS=	btpand.c bnep.c channel.c client.c packet.c server.c tap.c
d8 2
a9 4
DPADD+=	${LIBBLUETOOTH} ${LIBEVENT} ${LIBUTIL}
LDADD+=	-lbluetooth -levent -lutil

CPPFLAGS+=	-DSDP_COMPAT
@


1.2.10.1
log
@file Makefile was added on branch netbsd-4 on 2009-03-24 21:46:36 +0000
@
text
@d1 11
@


1.2.10.2
log
@Pull up following revision(s) (requested by plunky in ticket #1290):
	usr.sbin/btpand/channel.c: revision 1.1
	usr.sbin/btpand/sdp.h: revision 1.1, 1.2
	usr.sbin/btpand/sdp.c: revision 1.1, 1.2
	usr.sbin/btpand/client.c: revision 1.1, 1.2
	usr.sbin/btpand/bnep.c: revision 1.1 - 1.3
	usr.sbin/btpand/bnep.h: revision 1.1
	usr.sbin/btpand/Makefile: revision 1.1, 1.2
	usr.sbin/btpand/packet.c: revision 1.1
	usr.sbin/btpand/btpand.h: revision 1.1
	usr.sbin/btpand/btpand.c: revision 1.1
	usr.sbin/btpand/btpand.8: revision 1.1 - 1.3
	usr.sbin/btpand/tap.c: revision 1.1 via patch
	usr.sbin/btpand/server.c: revision 1.1, 1.2
	usr.sbin/Makefile: patch
	distrib/sets/lists/base/mi: patch
	distrib/sets/lists/comp/mi: patch
	distrib/sets/lists/man/mi: patch
add btpand(8), a Bluetooth PAN daemon
@
text
@a0 11
# $NetBSD: Makefile,v 1.1 2008/08/17 13:20:57 plunky Exp $
#

PROG=	btpand
MAN=	btpand.8
SRCS=	btpand.c bnep.c channel.c client.c packet.c server.c sdp.c tap.c

DPADD+=	${LIBBLUETOOTH} ${LIBSDP} ${LIBEVENT} ${LIBUTIL}
LDADD+=	-lbluetooth -lsdp -levent -lutil

.include <bsd.prog.mk>
@


1.2.2.1
log
@file Makefile was added on branch wrstuden-revivesa on 2008-09-18 04:30:01 +0000
@
text
@d1 11
@


1.2.2.2
log
@Sync with wrstuden-revivesa-base-2.
@
text
@a0 11
# $NetBSD: Makefile,v 1.2 2008/08/18 08:25:32 plunky Exp $
#

PROG=	btpand
MAN=	btpand.8
SRCS=	btpand.c bnep.c channel.c client.c packet.c server.c sdp.c tap.c

DPADD+=	${LIBBLUETOOTH} ${LIBSDP} ${LIBEVENT} ${LIBUTIL}
LDADD+=	-lbluetooth -lsdp -levent -lutil

.include <bsd.prog.mk>
@


1.1
log
@add btpand(8), a Bluetooth PAN daemon
@
text
@d1 1
a1 1
# $NetBSD:$
a7 2
CFLAGS+=-g -D_DIAGNOSTIC

@
