Merge branch 'vendor/OPENRESOLV' with the following changes:
[dragonfly.git] / games / Makefile.inc
CommitLineData
984263bc
MD
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
4BINDIR?= /usr/games
5FILESDIR?= ${SHAREDIR}/games
0ac6bf9d 6WARNS?= 6
984263bc 7
ad0e87f9 8# These games write to /var/games/
9.if defined(VARGAMES)
10BINGRP= games
11BINMODE= 550
12.endif
0066c2fb 13
14# Handle libcrypto dependency
15.if defined(GAMESCRYPTO)
16LDADD+= -lprivate_crypto
117e566d 17DPADD+= ${LIBCRYPTO}
0066c2fb 18CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv
19LDFLAGS+= ${PRIVATELIB_LDFLAGS}
20.endif
21
22# Handle libncurses dependency
23.if defined(GAMESCURSES)
24DPADD+= ${LIBNCURSES}
25LDADD+= -lprivate_ncurses
26CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv/ncurses
27LDFLAGS+= ${PRIVATELIB_LDFLAGS}
28.endif