Remove building with NOCRYPTO option
[minix.git] / external / mit / xorg / bin / xkbcomp / Makefile
blob04df417133c020ba63acc22a9787772141072926
1 # $NetBSD: Makefile,v 1.10 2015/07/20 23:50:23 mrg Exp $
3 .include <bsd.own.mk>
4 .include "Makefile.common"
6 PROG= xkbcomp
7 SRCS= xkbcomp.c xkbscan.c expr.c vmod.c indicators.c misc.c \
8 keymap.c keycodes.c keytypes.c compat.c action.c alias.c \
9 symbols.c geometry.c xkbpath.c listing.c \
10 xkbparse.y parseutils.c utils.c
12 CPPFLAGS.xkbpath.c= -DDFLT_XKB_CONFIG_ROOT=\"${XKBROOTDIR}\"
14 CPPFLAGS+= -I${X11SRCDIR.${PROG}}
15 CPPFLAGS+= -DHAVE_STRDUP -DHAVE_STRCASECMP
16 CPPFLAGS.geometry.c= -Wno-error # XXX
17 COPTS.xkbscan.c+= -Wno-stack-protector
19 FILESDIR=${XKBROOTDIR}
20 FILES= README
22 SYMLINKS+= ${BINDIR}/xkbcomp ${XKBROOTDIR}/xkbcomp
23 SYMLINKS+= ${XKBDATADIR} ${XKBCOMPDIR}
25 LDADD+= -lxkbfile -lXext -lX11
26 DPADD+= ${LIBXKBFILE} ${LIBXEXT} ${LIBX11}
28 .PATH: ${X11SRCDIR.${PROG}}
29 .PATH: ${X11SRCDIR.${PROG}}/man
31 CWARNFLAGS.clang+= -Wno-parentheses
33 .include "../../xorg-pkg-ver.mk"
35 .include <bsd.x11.mk>
36 .include <bsd.prog.mk>