2003-08-07 02:11:48 +04:00
|
|
|
# $NetBSD: Makefile,v 1.6 2003/08/06 22:11:48 jmmv Exp $
|
2002-06-27 03:13:04 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
PROG= wsmoused
|
2003-08-06 22:07:53 +04:00
|
|
|
SRCS= wsmoused.c config.c config_yacc.y config_lex.l
|
2002-06-27 03:13:04 +04:00
|
|
|
|
2003-03-04 17:33:55 +03:00
|
|
|
MAN= wsmoused.conf.5 wsmoused.8
|
|
|
|
|
2003-08-07 02:11:48 +04:00
|
|
|
WSMOUSED_ACTION_MODE?= yes
|
2003-08-06 22:07:53 +04:00
|
|
|
WSMOUSED_SELECTION_MODE?= yes
|
|
|
|
|
2003-08-07 02:11:48 +04:00
|
|
|
.if !empty(WSMOUSED_ACTION_MODE:M[Yy][Ee][Ss])
|
|
|
|
CPPFLAGS+= -DWSMOUSED_ACTION_MODE
|
|
|
|
SRCS+= action.c
|
|
|
|
.endif
|
|
|
|
|
2003-08-06 22:07:53 +04:00
|
|
|
.if !empty(WSMOUSED_SELECTION_MODE:M[Yy][Ee][Ss])
|
|
|
|
CPPFLAGS+= -DWSMOUSED_SELECTION_MODE
|
|
|
|
SRCS+= selection.c
|
|
|
|
.endif
|
|
|
|
|
2003-03-07 04:31:30 +03:00
|
|
|
CPPFLAGS+= -I${.CURDIR} -I.
|
2003-03-05 01:31:15 +03:00
|
|
|
LDADD+= -lutil
|
2003-03-04 17:33:55 +03:00
|
|
|
|
|
|
|
YHEADER= yes
|
2002-06-27 03:13:04 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|