xref: /netbsd-src/external/mit/xorg/bin/xmodmap/Makefile (revision 80d9064ac03cbb6a4174695f0d5b237c8766d3d0)
1#	$NetBSD: Makefile,v 1.4 2014/03/17 10:11:27 mrg Exp $
2
3.include <bsd.own.mk>
4
5PROG=	xmodmap
6SRCS=	xmodmap.c pf.c handle.c exec.c
7
8CPPFLAGS+=	-I${X11SRCDIR.${PROG}}/../include -DHAVE_CONFIG_H
9
10LDADD+=	-lX11
11DPADD+=	${LIBX11}
12
13.PATH:	${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/man
14
15COPTS.handle.c+=-Wno-error	# uses XKeycodeToKeysym
16COPTS.exec.c+=	-Wno-error	# uses XKeycodeToKeysym
17
18.include <bsd.x11.mk>
19.include <bsd.prog.mk>
20