This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
37 lines
922 B
Makefile
37 lines
922 B
Makefile
# $NetBSD: Makefile,v 1.10 2015/07/20 23:50:23 mrg Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
.include "Makefile.common"
|
|
|
|
PROG= xkbcomp
|
|
SRCS= xkbcomp.c xkbscan.c expr.c vmod.c indicators.c misc.c \
|
|
keymap.c keycodes.c keytypes.c compat.c action.c alias.c \
|
|
symbols.c geometry.c xkbpath.c listing.c \
|
|
xkbparse.y parseutils.c utils.c
|
|
|
|
CPPFLAGS.xkbpath.c= -DDFLT_XKB_CONFIG_ROOT=\"${XKBROOTDIR}\"
|
|
|
|
CPPFLAGS+= -I${X11SRCDIR.${PROG}}
|
|
CPPFLAGS+= -DHAVE_STRDUP -DHAVE_STRCASECMP
|
|
CPPFLAGS.geometry.c= -Wno-error # XXX
|
|
COPTS.xkbscan.c+= -Wno-stack-protector
|
|
|
|
FILESDIR=${XKBROOTDIR}
|
|
FILES= README
|
|
|
|
SYMLINKS+= ${BINDIR}/xkbcomp ${XKBROOTDIR}/xkbcomp
|
|
SYMLINKS+= ${XKBDATADIR} ${XKBCOMPDIR}
|
|
|
|
LDADD+= -lxkbfile -lXext -lX11
|
|
DPADD+= ${LIBXKBFILE} ${LIBXEXT} ${LIBX11}
|
|
|
|
.PATH: ${X11SRCDIR.${PROG}}
|
|
.PATH: ${X11SRCDIR.${PROG}}/man
|
|
|
|
CWARNFLAGS.clang+= -Wno-parentheses
|
|
|
|
.include "../../xorg-pkg-ver.mk"
|
|
|
|
.include <bsd.x11.mk>
|
|
.include <bsd.prog.mk>
|