Relocate readline and ncurses headers to /usr/include/priv
[dragonfly.git] / games / robots / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 5/31/93
2 # $FreeBSD: src/games/robots/Makefile,v 1.5.2.3 2002/08/07 16:31:42 ru Exp $
3
4 PROG=   robots
5 CFLAGS+=-DMAX_PER_UID=5
6 SRCS=   extern.c init_field.c main.c make_level.c move.c move_robs.c \
7         play_level.c query.c rnd_pos.c score.c flush_in.c
8 MAN=    robots.6
9 DPADD=  ${LIBNCURSES}
10 LDADD=  -lprivate_ncurses
11
12 CFLAGS+=        -I${_SHLIBDIRPREFIX}/usr/include/priv/ncurses
13 LDFLAGS+=       ${PRIVATELIB_LDFLAGS}
14 HIDEGAME=       hidegame
15
16 beforeinstall:
17 .if !exists(${DESTDIR}/var/games/robots_roll)
18         ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
19             ${DESTDIR}/var/games/robots_roll
20 .endif
21
22 .include <bsd.prog.mk>