NetBSD/usr.sbin/wsmoused/Makefile

28 lines
524 B
Makefile
Raw Normal View History

# $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>