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.12
	netbsd-11-base:1.7
	netbsd-10-1-RELEASE:1.7
	perseant-exfatfs-base-20240630:1.7
	perseant-exfatfs:1.7.0.10
	perseant-exfatfs-base:1.7
	netbsd-8-3-RELEASE:1.6
	netbsd-9-4-RELEASE:1.6
	netbsd-10-0-RELEASE:1.7
	netbsd-10-0-RC6:1.7
	netbsd-10-0-RC5:1.7
	netbsd-10-0-RC4:1.7
	netbsd-10-0-RC3:1.7
	netbsd-10-0-RC2:1.7
	netbsd-10-0-RC1:1.7
	netbsd-10:1.7.0.8
	netbsd-10-base:1.7
	netbsd-9-3-RELEASE:1.6
	cjep_sun2x-base1:1.7
	cjep_sun2x:1.7.0.6
	cjep_sun2x-base:1.7
	cjep_staticlib_x-base1:1.7
	netbsd-9-2-RELEASE:1.6
	cjep_staticlib_x:1.7.0.4
	cjep_staticlib_x-base:1.7
	netbsd-9-1-RELEASE:1.6
	phil-wifi-20200421:1.7
	phil-wifi-20200411:1.7
	is-mlppp:1.7.0.2
	is-mlppp-base:1.7
	phil-wifi-20200406:1.7
	netbsd-8-2-RELEASE:1.6
	netbsd-9-0-RELEASE:1.6
	netbsd-9-0-RC2:1.6
	netbsd-9-0-RC1:1.6
	phil-wifi-20191119:1.7
	netbsd-9:1.6.0.30
	netbsd-9-base:1.6
	phil-wifi-20190609:1.6
	netbsd-8-1-RELEASE:1.6
	netbsd-8-1-RC1:1.6
	pgoyette-compat-merge-20190127:1.6
	pgoyette-compat-20190127:1.6
	pgoyette-compat-20190118:1.6
	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.6
	pgoyette-compat-0728:1.6
	netbsd-8-0-RELEASE:1.6
	phil-wifi:1.6.0.28
	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.6
	pgoyette-compat:1.6.0.26
	pgoyette-compat-base:1.6
	netbsd-7-1-1-RELEASE:1.6
	matt-nb8-mediatek:1.6.0.24
	matt-nb8-mediatek-base:1.6
	perseant-stdc-iso10646:1.6.0.22
	perseant-stdc-iso10646-base:1.6
	netbsd-8:1.6.0.20
	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.18
	prg-localcount2-base:1.6
	pgoyette-localcount-20170426:1.6
	bouyer-socketcan-base1:1.6
	pgoyette-localcount-20170320:1.6
	netbsd-7-1:1.6.0.16
	netbsd-7-1-RELEASE:1.6
	netbsd-7-1-RC2:1.6
	netbsd-7-nhusb-base-20170116:1.6
	bouyer-socketcan:1.6.0.14
	bouyer-socketcan-base:1.6
	pgoyette-localcount-20170107:1.6
	netbsd-7-1-RC1:1.6
	pgoyette-localcount-20161104:1.6
	netbsd-7-0-2-RELEASE:1.6
	localcount-20160914:1.6
	netbsd-7-nhusb:1.6.0.12
	netbsd-7-nhusb-base:1.6
	pgoyette-localcount-20160806:1.6
	pgoyette-localcount-20160726:1.6
	pgoyette-localcount:1.6.0.10
	pgoyette-localcount-base:1.6
	netbsd-7-0-1-RELEASE:1.6
	netbsd-7-0:1.6.0.8
	netbsd-7-0-RELEASE:1.6
	netbsd-7-0-RC3:1.6
	netbsd-7-0-RC2:1.6
	netbsd-7-0-RC1:1.6
	netbsd-5-2-3-RELEASE:1.1.1.1.8.1
	netbsd-5-1-5-RELEASE:1.1.1.1.8.1
	netbsd-6-0-6-RELEASE:1.5
	netbsd-6-1-5-RELEASE:1.5
	netbsd-7:1.6.0.6
	netbsd-7-base:1.6
	yamt-pagecache-base9:1.6
	yamt-pagecache-tag8:1.5
	netbsd-6-1-4-RELEASE:1.5
	netbsd-6-0-5-RELEASE:1.5
	tls-earlyentropy:1.6.0.4
	tls-earlyentropy-base:1.6
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.6
	riastradh-drm2-base3:1.6
	netbsd-6-1-3-RELEASE:1.5
	netbsd-6-0-4-RELEASE:1.5
	netbsd-5-2-2-RELEASE:1.1.1.1.8.1
	netbsd-5-1-4-RELEASE:1.1.1.1.8.1
	netbsd-6-1-2-RELEASE:1.5
	netbsd-6-0-3-RELEASE:1.5
	netbsd-5-2-1-RELEASE:1.1.1.1.8.1
	netbsd-5-1-3-RELEASE:1.1.1.1.8.1
	netbsd-6-1-1-RELEASE:1.5
	riastradh-drm2-base2:1.6
	riastradh-drm2-base1:1.6
	riastradh-drm2:1.6.0.2
	riastradh-drm2-base:1.6
	netbsd-6-1:1.5.0.16
	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.14
	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.1.1.1.8.1.0.6
	netbsd-6-0-1-RELEASE:1.5
	yamt-pagecache-base7:1.5
	netbsd-5-2-RELEASE:1.1.1.1.8.1
	netbsd-5-2-RC1:1.1.1.1.8.1
	matt-nb6-plus-nbase:1.5
	yamt-pagecache-base6:1.5
	netbsd-6-0:1.5.0.10
	netbsd-6-0-RELEASE:1.5
	netbsd-6-0-RC2:1.5
	tls-maxphys:1.5.0.8
	tls-maxphys-base:1.6
	matt-nb6-plus:1.5.0.6
	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.4
	netbsd-6-base:1.5
	netbsd-5-1-2-RELEASE:1.1.1.1.8.1
	netbsd-5-1-1-RELEASE:1.1.1.1.8.1
	yamt-pagecache-base3:1.5
	yamt-pagecache-base2:1.5
	yamt-pagecache:1.5.0.2
	yamt-pagecache-base:1.5
	cherry-xenmp:1.3.0.4
	cherry-xenmp-base:1.3
	bouyer-quota2-nbase:1.3
	bouyer-quota2:1.3.0.2
	bouyer-quota2-base:1.3
	matt-mips64-premerge-20101231:1.3
	matt-nb5-mips64-premerge-20101231:1.1.1.1.14.1
	matt-nb5-pq3:1.1.1.1.8.1.0.4
	matt-nb5-pq3-base:1.1.1.1.8.1
	netbsd-5-1:1.1.1.1.8.1.0.2
	netbsd-5-1-RELEASE:1.1.1.1.8.1
	netbsd-5-1-RC4:1.1.1.1.8.1
	matt-nb5-mips64-k15:1.1.1.1.14.1
	netbsd-5-1-RC3:1.1.1.1.8.1
	netbsd-5-1-RC2:1.1.1.1.8.1
	netbsd-5-1-RC1:1.1.1.1.8.1
	netbsd-5-0-2-RELEASE:1.1.1.1
	matt-nb5-mips64-premerge-20091211:1.1.1.1
	matt-premerge-20091211:1.2
	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.2
	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.2
	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.7
date	2019.10.24.18.17.59;	author kamil;	state Exp;
branches
	1.7.6.1;
next	1.6;
commitid	Vefkz61rB04qd9IB;

1.6
date	2013.05.31.09.14.18;	author mrg;	state Exp;
branches
	1.6.28.1;
next	1.5;
commitid	F7ygpiofHNnloLRw;

1.5
date	2011.08.11.23.15.36;	author joerg;	state Exp;
branches
	1.5.2.1
	1.5.8.1;
next	1.4;

1.4
date	2011.07.23.07.11.49;	author mrg;	state Exp;
branches;
next	1.3;

1.3
date	2010.11.20.23.45.13;	author mrg;	state Exp;
branches;
next	1.2;

1.2
date	2009.03.09.07.07.19;	author mrg;	state Exp;
branches;
next	1.1;

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

1.7.6.1
date	2021.06.06.20.30.47;	author cjep;	state Exp;
branches;
next	;
commitid	XNEGuB48YPLw17WC;

1.6.28.1
date	2020.04.13.08.02.30;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.5.2.1
date	2014.05.22.14.09.39;	author yamt;	state Exp;
branches;
next	;
commitid	FFQX08bYGKywAxBx;

1.5.8.1
date	2013.06.23.06.28.42;	author tls;	state Exp;
branches;
next	;
commitid	OnlO1cBgtQRcIHUw;

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
	1.1.1.1.8.1
	1.1.1.1.10.1
	1.1.1.1.14.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.33;	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.04;	author haad;	state Exp;
branches;
next	;

1.1.1.1.8.1
date	2009.09.17.04.24.29;	author snj;	state Exp;
branches;
next	;

1.1.1.1.10.1
date	2009.05.13.18.53.25;	author jym;	state Exp;
branches;
next	;

1.1.1.1.14.1
date	2010.04.21.05.24.34;	author matt;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Switch the iconv(3) prototype to the POSIX conformant variation

Remove const from the 2nd argument.

const char ** and char ** are incompatible types and it was a cost to keep
the technically incompatible form for a more purist variation. NetBSD was
almost the last alive OS to still keep the const argument (known leftovers:
Minix and Illumos).

Keep the const form for the internal purposes inside citrus and rump.

Address the build breakage fallout in the same change.

There are no ABI changes.

Change accepted by core@@.
@
text
@#	$NetBSD: Makefile,v 1.6 2013/05/31 09:14:18 mrg Exp $

.include <bsd.own.mk>

PROG=	xwininfo
SRCS=	xwininfo.c clientwin.c dsimple.c

XWININFODIR=	${X11SRCDIR.${PROG}}
CPPFLAGS+=-I${XWININFODIR} -I${XWININFODIR}/../include -DICONV_CONST=''

.PATH:	${XWININFODIR} ${XWININFODIR}/man

LDADD+=	-lXmuu -lXt -lSM -lICE -lXext -lX11 -lxcb -lxcb-shape
DPADD+=	${LIBXMUU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11} ${LIBXCB} ${LIBXCB_SHAPE}

CWARNFLAGS.clang+=	-Wno-tautological-compare

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


1.7.6.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2019/10/24 18:17:59 kamil Exp $
d13 2
a14 2
LDADD+=	${XLIBLDADD_XCB_SHAPE} ${XLIBLDADD_XMUU}
DPADD+=	${XLIBDPADD_XCB_SHAPE} ${XLIBDPADD_XMUU}
@


1.6
log
@define HAVE_MKSTEMP and HAVE_LRINT for bitmap.
define PACKAGE_STRING/VERSION correctly for xrandr, xsetroot and xstdcmap.
define ICONV_CONST for xwininfo.
install new xcb-proto files.
build new Xrandr sources.
bump version on libxcb and libXrandr.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2011/08/11 23:15:36 joerg Exp $
d9 1
a9 1
CPPFLAGS+=-I${XWININFODIR} -I${XWININFODIR}/../include -DICONV_CONST=const
@


1.6.28.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
d9 1
a9 1
CPPFLAGS+=-I${XWININFODIR} -I${XWININFODIR}/../include -DICONV_CONST=''
@


1.5
log
@Various warning adjustments for clang
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2011/07/23 07:11:49 mrg Exp $
d9 1
a9 1
CPPFLAGS+=-I${XWININFODIR} -I${XWININFODIR}/../include
@


1.5.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.5 2011/08/11 23:15:36 joerg Exp $
d9 1
a9 1
CPPFLAGS+=-I${XWININFODIR} -I${XWININFODIR}/../include -DICONV_CONST=const
@


1.5.8.1
log
@resync from head
@
text
@d1 1
a1 1
#	$NetBSD$
d9 1
a9 1
CPPFLAGS+=-I${XWININFODIR} -I${XWININFODIR}/../include -DICONV_CONST=const
@


1.4
log
@add .../man to the .PATH to find moved manuals.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2010/11/20 23:45:13 mrg Exp $
d16 2
@


1.3
log
@link with xcb and xcb-shape.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2009/03/09 07:07:19 mrg Exp $
d10 2
a11 1
.PATH:	${XWININFODIR}
@


1.2
log
@add clientwin.c, needed by newer packages.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
d12 2
a13 2
LDADD+=	-lXmuu -lXt -lSM -lICE -lXext -lX11
DPADD+=	${LIBXMUU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2003/09/13 21:50:55 lukem Exp $
d6 1
a6 1
SRCS=	xwininfo.c dsimple.c
@


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.14.1
log
@sync to netbsd-5
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1.8.1 2009/09/17 04:24:29 snj Exp $
d6 1
a6 1
SRCS=	xwininfo.c clientwin.c dsimple.c
@


1.1.1.1.8.1
log
@Apply patch (requested by mrg in ticket #958):
Sync X.Org reachover build framework and setlists with the new X.Org.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2009/03/09 07:07:19 mrg Exp $
d6 1
a6 1
SRCS=	xwininfo.c clientwin.c dsimple.c
@


1.1.1.1.10.1
log
@Sync with HEAD.

Second commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2009/03/09 07:07:19 mrg Exp $
d6 1
a6 1
SRCS=	xwininfo.c clientwin.c dsimple.c
@


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


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

.include <bsd.own.mk>

PROG=	xwininfo
SRCS=	xwininfo.c dsimple.c

XWININFODIR=	${X11SRCDIR.${PROG}}
CPPFLAGS+=-I${XWININFODIR} -I${XWININFODIR}/../include
.PATH:	${XWININFODIR}

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

.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:33 +0000
@
text
@d1 16
@


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

.include <bsd.own.mk>

PROG=	xwininfo
SRCS=	xwininfo.c dsimple.c

XWININFODIR=	${X11SRCDIR.${PROG}}
CPPFLAGS+=-I${XWININFODIR} -I${XWININFODIR}/../include
.PATH:	${XWININFODIR}

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

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