NetBSD/x11/bin/xkbcomp/Makefile
lukem 5906faf133 Explicitly add -I/path/to/dist/src so that any yacc-generated .c files
in the .OBJDIR compile correctly.

(Something I changed in the last commit must have broken this.
Or make(1) changed.  Or something else borked.  In any case, it's fixed now.)
2003-09-23 11:04:45 +00:00

30 lines
838 B
Makefile

# $NetBSD: Makefile,v 1.3 2003/09/23 11:04:47 lukem Exp $
.include <bsd.own.mk>
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+= -I${X11SRCDIR.xc}/programs/${PROG}
CPPFLAGS.xkbpath.c= -DDFLT_XKB_CONFIG_ROOT=\"${X11LIBDIR}/xkb\"
CPPFLAGS.geometry.c= -Wno-error # XXX
FILESDIR=${X11LIBDIR}/xkb
FILES= README README.config README.enhancing
SYMLINKS+=${BINDIR}/xkbcomp ${X11LIBDIR}/xkb/xkbcomp
SUBDIR= compat geometry keycodes keymap semantics symbols types compiled rules
LDADD+= -lxkbfile -lXext -lX11
DPADD+= ${LIBXKBFILE} ${LIBXEXT} ${LIBX11}
.PATH: ${X11SRCDIR.xc}/programs/${PROG}
.include <bsd.x11.mk>
.include <bsd.prog.mk>
.include <bsd.subdir.mk>