Home | History | Annotate | Line # | Download | only in wsmoused
Makefile revision 1.6
      1 # $NetBSD: Makefile,v 1.6 2003/08/06 22:11:48 jmmv Exp $
      2 #
      3 
      4 PROG=	wsmoused
      5 SRCS=	wsmoused.c config.c config_yacc.y config_lex.l
      6 
      7 MAN=	wsmoused.conf.5 wsmoused.8
      8 
      9 WSMOUSED_ACTION_MODE?=		yes
     10 WSMOUSED_SELECTION_MODE?=	yes
     11 
     12 .if !empty(WSMOUSED_ACTION_MODE:M[Yy][Ee][Ss])
     13 CPPFLAGS+=	-DWSMOUSED_ACTION_MODE
     14 SRCS+=		action.c
     15 .endif
     16 
     17 .if !empty(WSMOUSED_SELECTION_MODE:M[Yy][Ee][Ss])
     18 CPPFLAGS+=	-DWSMOUSED_SELECTION_MODE
     19 SRCS+=		selection.c
     20 .endif
     21 
     22 CPPFLAGS+=	-I${.CURDIR} -I.
     23 LDADD+=		-lutil
     24 
     25 YHEADER=	yes
     26 
     27 .include <bsd.prog.mk>
     28