head	1.10;
access;
symbols
	netbsd-11-0-RC4:1.10
	netbsd-11-0-RC3:1.10
	netbsd-11-0-RC2:1.10
	netbsd-11-0-RC1:1.10
	perseant-exfatfs-base-20250801:1.10
	netbsd-11:1.10.0.4
	netbsd-11-base:1.10
	netbsd-10-1-RELEASE:1.9
	perseant-exfatfs-base-20240630:1.10
	perseant-exfatfs:1.10.0.2
	perseant-exfatfs-base:1.10
	netbsd-8-3-RELEASE:1.6
	netbsd-9-4-RELEASE:1.7
	netbsd-10-0-RELEASE:1.9
	netbsd-10-0-RC6:1.9
	netbsd-10-0-RC5:1.9
	netbsd-10-0-RC4:1.9
	netbsd-10-0-RC3:1.9
	netbsd-10-0-RC2:1.9
	netbsd-10-0-RC1:1.9
	netbsd-10:1.9.0.2
	netbsd-10-base:1.9
	netbsd-9-3-RELEASE:1.7
	cjep_sun2x-base1:1.8
	cjep_sun2x:1.8.0.4
	cjep_sun2x-base:1.8
	cjep_staticlib_x-base1:1.8
	netbsd-9-2-RELEASE:1.7
	cjep_staticlib_x:1.8.0.2
	cjep_staticlib_x-base:1.8
	netbsd-9-1-RELEASE:1.7
	phil-wifi-20200421:1.7
	phil-wifi-20200411:1.7
	is-mlppp:1.7.0.4
	is-mlppp-base:1.7
	phil-wifi-20200406:1.7
	netbsd-8-2-RELEASE:1.6
	netbsd-9-0-RELEASE:1.7
	netbsd-9-0-RC2:1.7
	netbsd-9-0-RC1:1.7
	phil-wifi-20191119:1.7
	netbsd-9:1.7.0.2
	netbsd-9-base:1.7
	phil-wifi-20190609:1.7
	netbsd-8-1-RELEASE:1.6
	netbsd-8-1-RC1:1.6
	pgoyette-compat-merge-20190127:1.6.10.1
	pgoyette-compat-20190127:1.7
	pgoyette-compat-20190118:1.7
	pgoyette-compat-1226:1.6
	pgoyette-compat-1126:1.6
	pgoyette-compat-1020:1.6
	pgoyette-compat-0930:1.6
	pgoyette-compat-0906:1.6
	netbsd-7-2-RELEASE:1.5
	pgoyette-compat-0728:1.6
	netbsd-8-0-RELEASE:1.6
	phil-wifi:1.6.0.12
	phil-wifi-base:1.6
	pgoyette-compat-0625:1.6
	netbsd-8-0-RC2:1.6
	pgoyette-compat-0521:1.6
	pgoyette-compat-0502:1.6
	pgoyette-compat-0422:1.6
	netbsd-8-0-RC1:1.6
	pgoyette-compat-0415:1.6
	pgoyette-compat-0407:1.6
	pgoyette-compat-0330:1.6
	pgoyette-compat-0322:1.6
	pgoyette-compat-0315:1.6
	netbsd-7-1-2-RELEASE:1.5
	pgoyette-compat:1.6.0.10
	pgoyette-compat-base:1.6
	netbsd-7-1-1-RELEASE:1.5
	matt-nb8-mediatek:1.6.0.8
	matt-nb8-mediatek-base:1.6
	perseant-stdc-iso10646:1.6.0.6
	perseant-stdc-iso10646-base:1.6
	netbsd-8:1.6.0.4
	netbsd-8-base:1.6
	prg-localcount2-base3:1.6
	prg-localcount2-base2:1.6
	prg-localcount2-base1:1.6
	prg-localcount2:1.6.0.2
	prg-localcount2-base:1.6
	pgoyette-localcount-20170426:1.6
	bouyer-socketcan-base1:1.6
	pgoyette-localcount-20170320:1.6
	netbsd-7-1:1.5.0.12
	netbsd-7-1-RELEASE:1.5
	netbsd-7-1-RC2:1.5
	netbsd-7-nhusb-base-20170116:1.5
	bouyer-socketcan:1.5.0.10
	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.8
	netbsd-7-nhusb-base:1.5
	pgoyette-localcount-20160806:1.5
	pgoyette-localcount-20160726:1.5
	pgoyette-localcount:1.5.0.6
	pgoyette-localcount-base:1.5
	netbsd-7-0-1-RELEASE:1.5
	netbsd-7-0:1.5.0.4
	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.1.1.1
	netbsd-5-1-5-RELEASE:1.1.1.1
	netbsd-6-0-6-RELEASE:1.2
	netbsd-6-1-5-RELEASE:1.2
	netbsd-7:1.5.0.2
	netbsd-7-base:1.5
	yamt-pagecache-base9:1.4
	yamt-pagecache-tag8:1.2
	netbsd-6-1-4-RELEASE:1.2
	netbsd-6-0-5-RELEASE:1.2
	tls-earlyentropy:1.4.0.2
	tls-earlyentropy-base:1.5
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3
	riastradh-drm2-base3:1.3
	netbsd-6-1-3-RELEASE:1.2
	netbsd-6-0-4-RELEASE:1.2
	netbsd-5-2-2-RELEASE:1.1.1.1
	netbsd-5-1-4-RELEASE:1.1.1.1
	netbsd-6-1-2-RELEASE:1.2
	netbsd-6-0-3-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.1.1.1
	netbsd-5-1-3-RELEASE:1.1.1.1
	netbsd-6-1-1-RELEASE:1.2
	riastradh-drm2-base2:1.2
	riastradh-drm2-base1:1.2
	riastradh-drm2:1.2.0.12
	riastradh-drm2-base:1.2
	netbsd-6-1:1.2.0.16
	netbsd-6-0-2-RELEASE:1.2
	netbsd-6-1-RELEASE:1.2
	netbsd-6-1-RC4:1.2
	netbsd-6-1-RC3:1.2
	agc-symver:1.2.0.14
	agc-symver-base:1.2
	netbsd-6-1-RC2:1.2
	netbsd-6-1-RC1:1.2
	yamt-pagecache-base8:1.2
	netbsd-5-2:1.1.1.1.0.4
	netbsd-6-0-1-RELEASE:1.2
	yamt-pagecache-base7:1.2
	netbsd-5-2-RELEASE:1.1.1.1
	netbsd-5-2-RC1:1.1.1.1
	matt-nb6-plus-nbase:1.2
	yamt-pagecache-base6:1.2
	netbsd-6-0:1.2.0.10
	netbsd-6-0-RELEASE:1.2
	netbsd-6-0-RC2:1.2
	tls-maxphys:1.2.0.8
	tls-maxphys-base:1.5
	matt-nb6-plus:1.2.0.6
	matt-nb6-plus-base:1.2
	netbsd-6-0-RC1:1.2
	yamt-pagecache-base5:1.2
	yamt-pagecache-base4:1.2
	netbsd-6:1.2.0.4
	netbsd-6-base:1.2
	netbsd-5-1-2-RELEASE:1.1.1.1
	netbsd-5-1-1-RELEASE:1.1.1.1
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.2
	yamt-pagecache-base:1.2
	cherry-xenmp:1.1.1.1.0.22
	cherry-xenmp-base:1.1.1.1
	bouyer-quota2-nbase:1.1.1.1
	bouyer-quota2:1.1.1.1.0.20
	bouyer-quota2-base:1.1.1.1
	matt-mips64-premerge-20101231:1.1.1.1
	matt-nb5-mips64-premerge-20101231:1.1.1.1
	matt-nb5-pq3:1.1.1.1.0.18
	matt-nb5-pq3-base:1.1.1.1
	netbsd-5-1:1.1.1.1.0.16
	netbsd-5-1-RELEASE:1.1.1.1
	netbsd-5-1-RC4:1.1.1.1
	matt-nb5-mips64-k15:1.1.1.1
	netbsd-5-1-RC3:1.1.1.1
	netbsd-5-1-RC2:1.1.1.1
	netbsd-5-1-RC1:1.1.1.1
	netbsd-5-0-2-RELEASE:1.1.1.1
	matt-nb5-mips64-premerge-20091211:1.1.1.1
	matt-premerge-20091211:1.1.1.1
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1.1.1
	matt-nb4-mips64-k7-u2a-k9b:1.1.1.1
	matt-nb5-mips64-u1-k1-k5:1.1.1.1
	matt-nb5-mips64:1.1.1.1.0.14
	netbsd-5-0-1-RELEASE:1.1.1.1
	jym-xensuspend-nbase:1.1.1.1
	netbsd-5-0:1.1.1.1.0.12
	netbsd-5-0-RELEASE:1.1.1.1
	netbsd-5-0-RC4:1.1.1.1
	netbsd-5-0-RC3:1.1.1.1
	netbsd-5-0-RC2:1.1.1.1
	jym-xensuspend:1.1.1.1.0.10
	jym-xensuspend-base:1.1.1.1
	netbsd-5-0-RC1:1.1.1.1
	haad-dm-base:1.1.1.1
	haad-dm-base2:1.1.1.1
	haad-nbase2:1.1.1.1
	netbsd-5:1.1.1.1.0.8
	netbsd-5-base:1.1.1.1
	matt-mips64-base2:1.1.1.1
	haad-dm:1.1.1.1.0.6
	haad-dm-base1:1.1.1.1
	wrstuden-revivesa-base-3:1.1.1.1
	wrstuden-revivesa:1.1.1.1.0.2
	wrstuden-revivesa-base-2:1.1.1.1
	oinkoink:1.1.1.1
	mrg-and-rtr:1.1.1;
locks; strict;
comment	@# @;


1.10
date	2023.06.03.09.09.07;	author lukem;	state Exp;
branches;
next	1.9;
commitid	aBaIRnuykonRStrE;

1.9
date	2022.10.28.09.43.58;	author wiz;	state Exp;
branches;
next	1.8;
commitid	R4wMU7jTgxDL4tZD;

1.8
date	2021.04.12.06.08.30;	author mrg;	state Exp;
branches
	1.8.4.1;
next	1.7;
commitid	T0Nhd3kddHji0YOC;

1.7
date	2019.01.03.23.39.47;	author mrg;	state Exp;
branches;
next	1.6;
commitid	IoPABRrCAdj3wo6B;

1.6
date	2017.03.04.23.23.21;	author mrg;	state Exp;
branches
	1.6.10.1
	1.6.12.1;
next	1.5;
commitid	tQraLvpFHswKXhIz;

1.5
date	2014.07.13.16.35.49;	author joerg;	state Exp;
branches
	1.5.6.1
	1.5.10.1;
next	1.4;
commitid	iu7LjDPlUCSZIeIx;

1.4
date	2014.04.05.17.01.55;	author tron;	state Exp;
branches
	1.4.2.1;
next	1.3;
commitid	82FrRAZdoIb92wvx;

1.3
date	2014.03.17.09.24.11;	author mrg;	state Exp;
branches;
next	1.2;
commitid	FMxe6yqP4Ks582tx;

1.2
date	2011.07.23.06.41.08;	author mrg;	state Exp;
branches
	1.2.2.1
	1.2.8.1;
next	1.1;

1.1
date	2008.07.29.05.01.22;	author mrg;	state Exp;
branches
	1.1.1.1;
next	;

1.8.4.1
date	2021.06.06.20.30.45;	author cjep;	state Exp;
branches;
next	;
commitid	XNEGuB48YPLw17WC;

1.6.10.1
date	2019.01.18.08.49.03;	author pgoyette;	state Exp;
branches;
next	;
commitid	Lmlzg3OVT2cd6f8B;

1.6.12.1
date	2019.06.10.22.02.35;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.5.6.1
date	2017.03.20.06.56.47;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.5.10.1
date	2017.04.21.16.52.57;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.4.2.1
date	2014.08.10.06.50.54;	author tls;	state Exp;
branches;
next	;
commitid	DgL6ai6yRo4DAMLx;

1.2.2.1
date	2014.05.22.14.09.36;	author yamt;	state Exp;
branches;
next	;
commitid	FFQX08bYGKywAxBx;

1.2.8.1
date	2014.08.20.00.00.09;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.1.1.1
date	2008.07.29.05.01.22;	author mrg;	state Exp;
branches
	1.1.1.1.2.1
	1.1.1.1.6.1;
next	;

1.1.1.1.2.1
date	2008.07.29.05.01.22;	author wrstuden;	state dead;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	2008.09.18.05.18.28;	author wrstuden;	state Exp;
branches;
next	;

1.1.1.1.6.1
date	2008.07.29.05.01.22;	author haad;	state dead;
branches;
next	1.1.1.1.6.2;

1.1.1.1.6.2
date	2008.10.19.22.41.00;	author haad;	state Exp;
branches;
next	;


desc
@@


1.10
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.9 2022/10/28 09:43:58 wiz Exp $

.include <bsd.own.mk>

PROG=	xauth
SRCS=	xauth.c gethost.c process.c parsedpy.c

CPPFLAGS+=		-DRETSIGTYPE=void -DPACKAGE_VERSION=\"1.0.8\"
CPPFLAGS+= 		-DHAVE_STRLCPY
CPPFLAGS+= 		-DHAVE_REALLOCARRAY
CPPFLAGS.gethost.c=	${X11FLAGS.CONNECTION}
CPPFLAGS.parsedpy.c=	${X11FLAGS.CONNECTION}

.if (${USE_INET6} != "no")
CPPFLAGS+=      	-DIPv6
.endif

CWARNFLAGS.clang=	-Wno-empty-body
COPTS.parsedpy.c+=	${CC_WNO_STRINGOP_OVERFLOW}

LDADD+=	-lXau -lXmuu -lXt -lSM -lICE -lXext -lX11
DPADD+=	${LIBXAU} ${LIBXMUU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}

.PATH:	${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/man

.include <bsd.own.mk>

USE_SSP:=	no

.include <bsd.x11.mk>
.include <bsd.prog.mk>
@


1.9
log
@put reallocarray() in the public namespace

reallocarray() will be part of the next POSIX release, see
https://austingroupbugs.net/view.php?id=1218

adapt an errno value to match POSIX expectations

As discussed on tech-userlevel
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2021/04/12 06:08:30 mrg Exp $
d19 1
a19 1
COPTS.parsedpy.c+=	${GCC_NO_STRINGOP_OVERFLOW}
@


1.8
log
@new GCC_NO_* uses for warning issues.  most of the users of the new
GCC_NO_RETURN_LOCAL_ADDR are bugs in GCC itself, not the code.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2019/01/03 23:39:47 mrg Exp $
d10 1
@


1.8.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2021/04/12 06:08:30 mrg Exp $
d20 2
a21 3
LDADD+=	${XLIBLDADD_XAU} ${XLIBLDADD_XMUU}
DPADD+= ${XLIBDPADD_XAU} ${XLIBDPADD_XMUU}
#DPADD+=	${LIBXAU} ${LIBXMUU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
@


1.7
log
@define IPv6 unless not building INET6.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2017/03/04 23:23:21 mrg Exp $
d18 1
@


1.6
log
@define HAVE_STRLCPY.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2014/07/13 16:35:49 joerg Exp $
d13 4
@


1.6.12.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2019/01/03 23:39:47 mrg Exp $
a12 4
.if (${USE_INET6} != "no")
CPPFLAGS+=      	-DIPv6
.endif

@


1.6.10.1
log
@Synch with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2017/03/04 23:23:21 mrg Exp $
a12 4
.if (${USE_INET6} != "no")
CPPFLAGS+=      	-DIPv6
.endif

@


1.5
log
@Disable more warnings for clang build to deal with xsrc changes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2014/04/05 17:01:55 tron Exp $
d9 1
@


1.5.10.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2017/03/04 23:23:21 mrg Exp $
a8 1
CPPFLAGS+= 		-DHAVE_STRLCPY
@


1.5.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2017/03/04 23:23:21 mrg Exp $
a8 1
CPPFLAGS+= 		-DHAVE_STRLCPY
@


1.4
log
@Force "USE_SSP" to "no" when compiling xauth(1) for now. This avoid the
program to fail with error messages like this one:

/usr/X11R7/bin/xauth:  file /home/tron/.Xauthority does not exist
/usr/X11R7/bin/xauth:  unable to link authority file /home/tron/.Xauthority, use /home/tron/.Xauthority

This seems to be some weird compiler bug. If you add a debug printf(3) call
before the line in "xsrc/external/mit/xauth/dist/process.c" that calls
link(2) the target and source filename have the correct value and
the call works. Without the printf(3) call it fails.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2014/03/17 09:24:11 mrg Exp $
d12 2
@


1.4.2.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2014/07/13 16:35:49 joerg Exp $
a11 2
CWARNFLAGS.clang=	-Wno-empty-body

@


1.3
log
@updates for xauth 1.0.8 and xconsole 1.0.6.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2011/07/23 06:41:08 mrg Exp $
d17 4
@


1.2
log
@add .../man to .PATH to find moved manuals.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
d8 1
a8 1
CPPFLAGS+=		-DRETSIGTYPE=void
@


1.2.8.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d8 1
a8 1
CPPFLAGS+=		-DRETSIGTYPE=void -DPACKAGE_VERSION=\"1.0.8\"
a11 2
CWARNFLAGS.clang=	-Wno-empty-body

a16 4
.include <bsd.own.mk>

USE_SSP:=	no

@


1.2.2.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2011/07/23 06:41:08 mrg Exp $
d8 1
a8 1
CPPFLAGS+=		-DRETSIGTYPE=void -DPACKAGE_VERSION=\"1.0.8\"
a16 4
.include <bsd.own.mk>

USE_SSP:=	no

@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2003/09/13 21:50:51 lukem Exp $
d15 1
a15 1
.PATH:	${X11SRCDIR.${PROG}}
@


1.1.1.1
log
@initial import of the crossbuild framework for modular Xorg.  this
is heavily based upon the work rtr@@ did on src/x11, but hacked to
work for modern modular Xorg source split.

the sources will live in xsrc/external/mit/<package>/dist.

documentation on using this will come when the above directories
are fully populated.  there are 192 of them so it may take some time
before that is completed.
@
text
@@


1.1.1.1.6.1
log
@file Makefile was added on branch haad-dm on 2008-10-19 22:41:00 +0000
@
text
@d1 18
@


1.1.1.1.6.2
log
@Sync with HEAD.
@
text
@a0 18
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $

.include <bsd.own.mk>

PROG=	xauth
SRCS=	xauth.c gethost.c process.c parsedpy.c

CPPFLAGS+=		-DRETSIGTYPE=void
CPPFLAGS.gethost.c=	${X11FLAGS.CONNECTION}
CPPFLAGS.parsedpy.c=	${X11FLAGS.CONNECTION}

LDADD+=	-lXau -lXmuu -lXt -lSM -lICE -lXext -lX11
DPADD+=	${LIBXAU} ${LIBXMUU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}

.PATH:	${X11SRCDIR.${PROG}}

.include <bsd.x11.mk>
.include <bsd.prog.mk>
@


1.1.1.1.2.1
log
@file Makefile was added on branch wrstuden-revivesa on 2008-09-18 05:18:28 +0000
@
text
@d1 18
@


1.1.1.1.2.2
log
@Sync with wrstuden-revivesa-base-2.
@
text
@a0 18
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $

.include <bsd.own.mk>

PROG=	xauth
SRCS=	xauth.c gethost.c process.c parsedpy.c

CPPFLAGS+=		-DRETSIGTYPE=void
CPPFLAGS.gethost.c=	${X11FLAGS.CONNECTION}
CPPFLAGS.parsedpy.c=	${X11FLAGS.CONNECTION}

LDADD+=	-lXau -lXmuu -lXt -lSM -lICE -lXext -lX11
DPADD+=	${LIBXAU} ${LIBXMUU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}

.PATH:	${X11SRCDIR.${PROG}}

.include <bsd.x11.mk>
.include <bsd.prog.mk>
@
