xref: /dragonfly/games/Makefile.inc (revision a3127495)
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
6WARNS?=		6
7
8# These games write to /var/games/
9.if defined(VARGAMES)
10BINGRP=		games
11BINMODE=	550
12.endif
13
14# Handle libcrypto dependency
15.if defined(GAMESCRYPTO)
16LDADD+=		-lprivate_crypto
17DPADD+=		${LIBRECRYPTO}
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
29