summaryrefslogtreecommitdiff
path: root/usr.sbin/wsmoused/Makefile
blob: a27a85a3d2031b96fc4fb01ccd71ef1d566622f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $NetBSD: Makefile,v 1.9 2009/10/29 14:40:09 christos 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.
LDADD+=		-lutil

YHEADER=	yes

.include <bsd.prog.mk>
ist/libstdc++-v3/include/bits/stl_queue.h?id=c3d31fe1f49b5f6b8fae01d31d37edbdc6f1bcc6'>initial import of GCC 4.5.3 sources. changes since 4.1 are way too numerousmrg