Sync usage with man page.
[netbsd-mini2440.git] / usr.sbin / wsmoused / Makefile
blob64350a1f7d8ea6fdefab430b0601473842111f81
1 # $NetBSD: Makefile,v 1.8 2009/04/22 15:23:10 lukem Exp $
4 WARNS?= 2 # XXX -Wcast-qual (etc)
6 PROG= wsmoused
7 SRCS= wsmoused.c config.c config_yacc.y config_lex.l
9 MAN= wsmoused.conf.5 wsmoused.8
11 WSMOUSED_ACTION_MODE?= yes
12 WSMOUSED_SELECTION_MODE?= yes
14 .if !empty(WSMOUSED_ACTION_MODE:M[Yy][Ee][Ss])
15 CPPFLAGS+= -DWSMOUSED_ACTION_MODE
16 SRCS+= action.c
17 .endif
19 .if !empty(WSMOUSED_SELECTION_MODE:M[Yy][Ee][Ss])
20 CPPFLAGS+= -DWSMOUSED_SELECTION_MODE
21 SRCS+= selection.c
22 .endif
24 CPPFLAGS+= -I${.CURDIR} -I.
25 LDADD+= -lutil
27 YHEADER= yes
29 .include <bsd.prog.mk>