blob: ee7a3e60f3e557fedda9d75687a79bf589920613 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $OpenBSD: Makefile,v 1.5 2011/06/23 22:46:12 schwarze Exp $
PROG= tic
SRCS= dump_entry.c tic.c
MAN= tic.1 captoinfo.1 infotocap.1
LINKS= ${BINDIR}/tic ${BINDIR}/infotocap ${BINDIR}/tic ${BINDIR}/captoinfo
DPADD= ${LIBCURSES}
LDADD= -lcurses
CURSES= ${.CURDIR}/../../lib/libcurses
CFLAGS+= -I${CURSES} -I${.CURDIR} -I.
CLEANFILES+= termsort.c captoinfo.1
.if (${MACHINE_ARCH} == sh)
COPTS+= -O1
.endif
beforedepend: termsort.c
termsort.c: MKtermsort.sh
sh ${.CURDIR}/MKtermsort.sh awk ${CURSES}/Caps > ${.TARGET}
captoinfo.1: captoinfo.1tbl
cp ${.ALLSRC} ${.TARGET}
.include <bsd.prog.mk>
|