NetBSD/usr.sbin/wsmoused/Makefile
jmmv a79323123c Add the `action' mode, which can be used to associate commands with mouse
button events.  This mode needs to be explicitly enabled at runtime, and
does nothing if not configured.

As there are now two different modes available, adjust the manpages
accordingly, describing what they do and how they work separatedly.

While here, remove a bunch of unused stuff (event syntax) from config file
parsing.  This was initially added with this new mode in mind, but it has
not been used to make it a lot simpler.
2003-08-06 22:11:48 +00:00

28 lines
524 B
Makefile

# $NetBSD: Makefile,v 1.6 2003/08/06 22:11:48 jmmv Exp $
#
PROG= wsmoused
SRCS= wsmoused.c config.c config_yacc.y config_lex.l
MAN= wsmoused.conf.5 wsmoused.8
WSMOUSED_ACTION_MODE?= yes
WSMOUSED_SELECTION_MODE?= yes
.if !empty(WSMOUSED_ACTION_MODE:M[Yy][Ee][Ss])
CPPFLAGS+= -DWSMOUSED_ACTION_MODE
SRCS+= action.c
.endif
.if !empty(WSMOUSED_SELECTION_MODE:M[Yy][Ee][Ss])
CPPFLAGS+= -DWSMOUSED_SELECTION_MODE
SRCS+= selection.c
.endif
CPPFLAGS+= -I${.CURDIR} -I.
LDADD+= -lutil
YHEADER= yes
.include <bsd.prog.mk>