Local changes for the flex upgrade.
[dragonfly.git] / games / Makefile.inc
1 #       @(#)Makefile.inc        8.1 (Berkeley) 5/31/93
2 # $FreeBSD: src/games/Makefile.inc,v 1.10.2.2 2002/02/18 16:02:39 ru Exp $
3
4 BINDIR?=        /usr/games
5 FILESDIR?=      ${SHAREDIR}/games
6 WARNS?=         6
7
8 # These games write to /var/games/
9 .if defined(VARGAMES)
10 BINGRP=         games
11 BINMODE=        550
12 .endif
13
14 # Handle libcrypto dependency
15 .if defined(GAMESCRYPTO)
16 LDADD+=         -lprivate_crypto
17 DPADD+=         ${LIBCRYPTO}
18 CFLAGS+=        -I${_SHLIBDIRPREFIX}/usr/include/priv
19 LDFLAGS+=       ${PRIVATELIB_LDFLAGS}
20 .endif
21
22 # Handle libncurses dependency
23 .if defined(GAMESCURSES)
24 DPADD+=         ${LIBNCURSES}
25 LDADD+=         -lprivate_ncurses
26 CFLAGS+=        -I${_SHLIBDIRPREFIX}/usr/include/priv/ncurses
27 LDFLAGS+=       ${PRIVATELIB_LDFLAGS}
28 .endif