mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
e03766c6a9
Sponsored by: EMC / Isilon Storage Division
33 lines
857 B
Makefile
33 lines
857 B
Makefile
# $FreeBSD$
|
|
# $NetBSD: Makefile,v 1.14 2007/04/01 18:52:30 tnozaki Exp $
|
|
|
|
FILESDIR= ${ESDBDIR}
|
|
|
|
SUBDIR= APPLE AST BIG5 CP DEC EUC EBCDIC GB GEORGIAN ISO-2022 ISO-8859 \
|
|
ISO646 KAZAKH KOI MISC TCVN UTF
|
|
SUBDIR_PARALLEL=
|
|
|
|
FILES+= esdb.dir esdb.dir.db esdb.alias esdb.alias.db
|
|
CLEANFILES= ${FILES}
|
|
|
|
esdb.dir: ${SUBDIR}
|
|
newfile=$$(for i in ${SUBDIR}; do \
|
|
cat $$i/esdb.dir.$$i; \
|
|
done); \
|
|
[ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
|
|
printf '%s\n' "$$newfile" >${.TARGET}
|
|
esdb.dir.db: esdb.dir
|
|
${MKESDB} -m -o ${.TARGET} ${.ALLSRC}
|
|
|
|
esdb.alias: ${SUBDIR}
|
|
newfile=$$(for i in ${SUBDIR}; do \
|
|
cat $$i/esdb.alias.$$i; \
|
|
done); \
|
|
[ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
|
|
printf '%s\n' "$$newfile" >${.TARGET}
|
|
esdb.alias.db: esdb.alias
|
|
${MKESDB} -m -o ${.TARGET} ${.ALLSRC}
|
|
|
|
.include "./Makefile.inc"
|
|
.include <bsd.prog.mk>
|