head	1.6;
access;
symbols
	netbsd-11-0-RC4:1.6
	netbsd-11-0-RC3:1.6
	netbsd-11-0-RC2:1.6
	netbsd-11-0-RC1:1.6
	perseant-exfatfs-base-20250801:1.6
	netbsd-11:1.6.0.28
	netbsd-11-base:1.6
	netbsd-10-1-RELEASE:1.6
	perseant-exfatfs-base-20240630:1.6
	perseant-exfatfs:1.6.0.26
	perseant-exfatfs-base:1.6
	netbsd-8-3-RELEASE:1.6
	netbsd-9-4-RELEASE:1.6
	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.24
	netbsd-10-base:1.6
	netbsd-9-3-RELEASE:1.6
	cjep_sun2x-base1:1.6
	cjep_sun2x:1.6.0.22
	cjep_sun2x-base:1.6
	cjep_staticlib_x-base1:1.6
	netbsd-9-2-RELEASE:1.6
	cjep_staticlib_x:1.6.0.20
	cjep_staticlib_x-base:1.6
	netbsd-9-1-RELEASE:1.6
	phil-wifi-20200421:1.6
	phil-wifi-20200411:1.6
	is-mlppp:1.6.0.18
	is-mlppp-base:1.6
	phil-wifi-20200406:1.6
	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.6
	netbsd-9:1.6.0.16
	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.5
	pgoyette-compat-0728:1.6
	netbsd-8-0-RELEASE:1.6
	phil-wifi:1.6.0.14
	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.12
	pgoyette-compat-base:1.6
	netbsd-7-1-1-RELEASE:1.5
	matt-nb8-mediatek:1.6.0.10
	matt-nb8-mediatek-base:1.6
	perseant-stdc-iso10646:1.6.0.8
	perseant-stdc-iso10646-base:1.6
	netbsd-8:1.6.0.6
	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.4
	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.30
	netbsd-7-1-RELEASE:1.5
	netbsd-7-1-RC2:1.5
	netbsd-7-nhusb-base-20170116:1.5
	bouyer-socketcan:1.6.0.2
	bouyer-socketcan-base:1.6
	pgoyette-localcount-20170107:1.6
	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.28
	netbsd-7-nhusb-base:1.5
	pgoyette-localcount-20160806:1.5
	pgoyette-localcount-20160726:1.5
	pgoyette-localcount:1.5.0.26
	pgoyette-localcount-base:1.5
	netbsd-7-0-1-RELEASE:1.5
	netbsd-7-0:1.5.0.24
	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.8.1
	netbsd-5-1-5-RELEASE:1.2.8.1
	netbsd-6-0-6-RELEASE:1.5
	netbsd-6-1-5-RELEASE:1.5
	netbsd-7:1.5.0.22
	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.20
	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.8.1
	netbsd-5-1-4-RELEASE:1.2.8.1
	netbsd-6-1-2-RELEASE:1.5
	netbsd-6-0-3-RELEASE:1.5
	netbsd-5-2-1-RELEASE:1.2.8.1
	netbsd-5-1-3-RELEASE:1.2.8.1
	netbsd-6-1-1-RELEASE:1.5
	riastradh-drm2-base2:1.5
	riastradh-drm2-base1:1.5
	riastradh-drm2:1.5.0.14
	riastradh-drm2-base:1.5
	netbsd-6-1:1.5.0.18
	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.16
	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.8.1.0.6
	netbsd-6-0-1-RELEASE:1.5
	yamt-pagecache-base7:1.5
	netbsd-5-2-RELEASE:1.2.8.1
	netbsd-5-2-RC1:1.2.8.1
	matt-nb6-plus-nbase:1.5
	yamt-pagecache-base6:1.5
	netbsd-6-0:1.5.0.12
	netbsd-6-0-RELEASE:1.5
	netbsd-6-0-RC2:1.5
	tls-maxphys:1.5.0.10
	tls-maxphys-base:1.5
	matt-nb6-plus:1.5.0.8
	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.6
	netbsd-6-base:1.5
	netbsd-5-1-2-RELEASE:1.2.8.1
	netbsd-5-1-1-RELEASE:1.2.8.1
	yamt-pagecache-base3:1.5
	yamt-pagecache-base2:1.5
	yamt-pagecache:1.5.0.4
	yamt-pagecache-base:1.5
	cherry-xenmp:1.5.0.2
	cherry-xenmp-base:1.5
	bouyer-quota2-nbase:1.4
	bouyer-quota2:1.4.0.2
	bouyer-quota2-base:1.4
	matt-mips64-premerge-20101231:1.4
	matt-nb5-mips64-premerge-20101231:1.2.14.1
	matt-nb5-pq3:1.2.8.1.0.4
	matt-nb5-pq3-base:1.2.8.1
	netbsd-5-1:1.2.8.1.0.2
	netbsd-5-1-RELEASE:1.2.8.1
	netbsd-5-1-RC4:1.2.8.1
	matt-nb5-mips64-k15:1.2.14.1
	netbsd-5-1-RC3:1.2.8.1
	netbsd-5-1-RC2:1.2.8.1
	netbsd-5-1-RC1:1.2.8.1
	netbsd-5-0-2-RELEASE:1.2
	matt-nb5-mips64-premerge-20091211:1.2
	matt-premerge-20091211:1.3
	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.3
	netbsd-5-0:1.2.0.12
	netbsd-5-0-RELEASE:1.2
	netbsd-5-0-RC4:1.2
	netbsd-5-0-RC3:1.2
	netbsd-5-0-RC2:1.2
	jym-xensuspend:1.2.0.10
	jym-xensuspend-base:1.3
	netbsd-5-0-RC1:1.2
	haad-dm-base:1.2
	haad-dm-base2:1.2
	haad-nbase2:1.2
	netbsd-5:1.2.0.8
	netbsd-5-base:1.2
	matt-mips64-base2:1.2
	haad-dm:1.2.0.6
	haad-dm-base1:1.2
	wrstuden-revivesa-base-3:1.2
	wrstuden-revivesa:1.2.0.2
	wrstuden-revivesa-base-2:1.2;
locks; strict;
comment	@# @;


1.6
date	2017.01.04.15.44.06;	author christos;	state Exp;
branches
	1.6.22.1;
next	1.5;
commitid	4vyr76vkZ8qFjFAz;

1.5
date	2011.05.23.17.44.41;	author dsl;	state Exp;
branches
	1.5.26.1;
next	1.4;

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

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

1.2
date	2008.09.06.06.40.29;	author rtr;	state Exp;
branches
	1.2.2.1
	1.2.6.1
	1.2.8.1
	1.2.10.1
	1.2.14.1;
next	1.1;

1.1
date	2008.09.06.06.32.05;	author rtr;	state Exp;
branches;
next	;

1.6.22.1
date	2021.06.06.20.30.46;	author cjep;	state Exp;
branches;
next	;
commitid	XNEGuB48YPLw17WC;

1.5.26.1
date	2017.01.07.08.55.59;	author pgoyette;	state Exp;
branches;
next	;
commitid	uEL0C1YuiJrlV0Bz;

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

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

1.2.6.1
date	2008.09.06.06.40.29;	author haad;	state dead;
branches;
next	1.2.6.2;

1.2.6.2
date	2008.10.19.22.41.01;	author haad;	state Exp;
branches;
next	;

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

1.2.10.1
date	2009.05.13.18.53.24;	author jym;	state Exp;
branches;
next	;

1.2.14.1
date	2010.04.21.05.24.33;	author matt;	state Exp;
branches;
next	;


desc
@@


1.6
log
@PR/51771: Yorick Hardy: Use newer xinput features
@
text
@#	$NetBSD: Makefile,v 1.5 2011/05/23 17:44:41 dsl Exp $

.include <bsd.own.mk>

PROG=	xinput
SRCS=	buttonmap.c feedback.c hierarchy.c list.c property.c setcp.c setint.c \
	setmode.c setptr.c state.c test.c test_xi2.c transform.c xinput.c

CPPFLAGS+=	-DVERSION='"1.6.2"'
CPPFLAGS+=	-DHAVE_XI2 -DHAVE_XI22

LDADD+=	-lXi -lX11 -lXrandr -lXinerama -lm
DPADD+=	${LIBXI} ${LIBM}
.PATH:	${X11SRCDIR.${PROG}}/src
.PATH:	${X11SRCDIR.${PROG}}/man

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


1.6.22.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2017/01/04 15:44:06 christos Exp $
d12 2
a13 2
LDADD+=	${XLIBLDADD_XI} ${XLIBLDADD_XRANDR} -lXinerama -lm
DPADD+=	${XLIBDPADD_XI} ${XLIBDPADD_XRANDR} ${LIBXINERAMA} ${LIBM}
@


1.5
log
@Add explicit -lfoo for libraries that are required because of NEEDED
entries in other libraries.
This avoids a bug in 'ld' which causes it to look in the directory
specified by the RPATH entry (in the library with the NEEDED entry)
without adding the directory supplied by --sysroot.
When the RPATH entry in blindly folloed the link is done w.r.t the
systems own libfoo.so which may be missing some symbols.
(Or might have a wrong sized data area that would need copying
into the programs (or other libraries) data space.)
ld also seems to add a NEEDED entry for these libraries directly
into the program binary - this doesn't seem right to me.
Fixes my build where the installed libX11.so is dated from 2009.
CVS :----------------------------------------------------------------------
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2010/05/22 02:40:55 mrg Exp $
d6 2
a7 2
SRCS=	buttonmap.c feedback.c list.c property.c setint.c setmode.c \
	setptr.c state.c test.c xinput.c
d9 2
a10 1
CPPFLAGS+=	-DVERSION='"1.4.0"'
d12 1
a12 1
LDADD+=	-lXi -lX11 -lm
@


1.5.26.1
log
@Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2017/01/04 15:44:06 christos Exp $
d6 2
a7 2
SRCS=	buttonmap.c feedback.c hierarchy.c list.c property.c setcp.c setint.c \
	setmode.c setptr.c state.c test.c test_xi2.c transform.c xinput.c
d9 1
a9 2
CPPFLAGS+=	-DVERSION='"1.6.2"'
CPPFLAGS+=	-DHAVE_XI2 -DHAVE_XI22
d11 1
a11 1
LDADD+=	-lXi -lX11 -lXrandr -lXinerama -lm
@


1.4
log
@version.c is gone.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2009/03/10 04:50:24 mrg Exp $
d11 1
a11 1
LDADD+=	-lXi -lm
@


1.3
log
@build property.c, and the new Xi manuals.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2008/09/06 06:40:29 rtr Exp $
d7 1
a7 1
	setptr.c state.c test.c version.c xinput.c \
@


1.2
log
@remove commented out CPPFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2008/09/06 06:32:05 rtr Exp $
d6 2
a7 2
SRCS=	buttonmap.c feedback.c list.c setint.c setmode.c \
	setptr.c state.c test.c version.c xinput.c
d9 1
a9 1
CPPFLAGS+=	-DVERSION='"1.3.0"'
@


1.2.14.1
log
@sync to netbsd-5
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2.8.1 2009/09/17 04:24:29 snj Exp $
d6 2
a7 2
SRCS=	buttonmap.c feedback.c list.c property.c setint.c setmode.c \
	setptr.c state.c test.c version.c xinput.c \
d9 1
a9 1
CPPFLAGS+=	-DVERSION='"1.4.0"'
@


1.2.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.3 2009/03/10 04:50:24 mrg Exp $
d6 2
a7 2
SRCS=	buttonmap.c feedback.c list.c property.c setint.c setmode.c \
	setptr.c state.c test.c version.c xinput.c \
d9 1
a9 1
CPPFLAGS+=	-DVERSION='"1.4.0"'
@


1.2.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.3 2009/03/10 04:50:24 mrg Exp $
d6 2
a7 2
SRCS=	buttonmap.c feedback.c list.c property.c setint.c setmode.c \
	setptr.c state.c test.c version.c xinput.c \
d9 1
a9 1
CPPFLAGS+=	-DVERSION='"1.4.0"'
@


1.2.6.1
log
@file Makefile was added on branch haad-dm on 2008-10-19 22:41:01 +0000
@
text
@d1 17
@


1.2.6.2
log
@Sync with HEAD.
@
text
@a0 17
#	$NetBSD: Makefile,v 1.2 2008/09/06 06:40:29 rtr Exp $

.include <bsd.own.mk>

PROG=	xinput
SRCS=	buttonmap.c feedback.c list.c setint.c setmode.c \
	setptr.c state.c test.c version.c xinput.c

CPPFLAGS+=	-DVERSION='"1.3.0"'

LDADD+=	-lXi -lm
DPADD+=	${LIBXI} ${LIBM}
.PATH:	${X11SRCDIR.${PROG}}/src
.PATH:	${X11SRCDIR.${PROG}}/man

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


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


1.2.2.2
log
@Sync with wrstuden-revivesa-base-2.
@
text
@a0 17
#	$NetBSD: Makefile,v 1.2 2008/09/06 06:40:29 rtr Exp $

.include <bsd.own.mk>

PROG=	xinput
SRCS=	buttonmap.c feedback.c list.c setint.c setmode.c \
	setptr.c state.c test.c version.c xinput.c

CPPFLAGS+=	-DVERSION='"1.3.0"'

LDADD+=	-lXi -lm
DPADD+=	${LIBXI} ${LIBM}
.PATH:	${X11SRCDIR.${PROG}}/src
.PATH:	${X11SRCDIR.${PROG}}/man

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


1.1
log
@reachover for building xinput
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
a9 1
#CPPFLAGS+=-DXRENDER -DXFREE86_FT2 -I${DESTDIR}${X11INCDIR}/freetype2
@
