xref: /openbsd/usr.bin/infocmp/Makefile (revision c7ef0cfc)
1*c7ef0cfcSnicm#	$OpenBSD: Makefile,v 1.7 2023/10/17 09:52:10 nicm Exp $
2eaf1cda2Smillert
3eaf1cda2SmillertPROG=	infocmp
4*c7ef0cfcSnicmSRCS=	dump_entry.c infocmp.c
5*c7ef0cfcSnicmCURSES=	${.CURDIR}/../../lib/libcurses
6eaf1cda2SmillertDPADD=	${LIBCURSES}
7eaf1cda2SmillertLDADD=	-lcurses
8eaf1cda2SmillertTIC= ${.CURDIR}/../tic
9eaf1cda2SmillertCFLAGS+= -I${CURSES} -I${TIC} -I${.CURDIR} -I.
10eaf1cda2Smillert.PATH:  ${TIC}
11*c7ef0cfcSnicmCLEANFILES+= termsort.h
12eaf1cda2Smillert
13*c7ef0cfcSnicmdump_entry.o: termsort.h
142eaa2fe8Sespie
15*c7ef0cfcSnicmtermsort.h: ${TIC}/MKtermsort.sh
16eaf1cda2Smillert	sh ${TIC}/MKtermsort.sh awk ${CURSES}/Caps > ${.TARGET}
17eaf1cda2Smillert
18eaf1cda2Smillert.include <bsd.prog.mk>
19