xref: /freebsd/share/i18n/esdb/Makefile (revision cfe30d02adda7c3b5c76156ac52d50d8cab325d9)
1# $FreeBSD$
2# $NetBSD: Makefile,v 1.14 2007/04/01 18:52:30 tnozaki Exp $
3
4FILESDIR= ${ESDBDIR}
5
6SUBDIR=	APPLE AST BIG5 CP DEC EUC EBCDIC GB GEORGIAN ISO-2022 ISO-8859 \
7	ISO646 KAZAKH KOI MISC TCVN UTF
8
9FILES+=	esdb.dir esdb.dir.db esdb.alias esdb.alias.db
10CLEANFILES= ${FILES}
11
12esdb.dir: ${SUBDIR}
13	> $@
14.for i in ${SUBDIR}
15	cat ${i}/esdb.dir.${i} >>${.TARGET}
16.endfor
17esdb.dir.db: esdb.dir
18	${MKESDB} -m -o ${.TARGET} ${.ALLSRC}
19
20esdb.alias: ${SUBDIR}
21	> $@
22.for i in ${SUBDIR}
23	cat ${i}/esdb.alias.${i} >>${.TARGET}
24.endfor
25esdb.alias.db: esdb.alias
26	${MKESDB} -m -o ${.TARGET} ${.ALLSRC}
27
28all: ${FILES}
29realall: ${FILES}
30
31.include "./Makefile.inc"
32.include <bsd.prog.mk>
33