NetBSD/usr.sbin/wsmoused/Makefile
lukem d877c4c3c0 Enable WARNS=4 by default, except for:
cpuctl  dumplfs  hprop  ipf  iprop-log  kadmin  kcm  kdc  kdigest
	kimpersonate  kstash  ktutil  makefs  ndbootd  ntp  pppd  quot
	racoon  racoonctl  rtadvd  sntp  sup  tcpdchk  tcpdmatch  tcpdump
	traceroute  traceroute6  user  veriexecgen  wsmoused  zic
(Mostly third-party applications)
2009-04-22 15:23:01 +00:00

30 lines
574 B
Makefile

# $NetBSD: Makefile,v 1.8 2009/04/22 15:23:10 lukem Exp $
#
WARNS?= 2 # XXX -Wcast-qual (etc)
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. -DYY_NO_INPUT
LDADD+= -lutil
YHEADER= yes
.include <bsd.prog.mk>