130ab7336b
* Don't bother prefixing commands with a line of ${_MKCMD}\ and instead rely upon "make -s". This is less intrusive on all the Makefiles than the former. Idea from David Laight. * Rename the variables use to print messages. The scheme now is: _MKMSG_FOO Run _MKMSG 'foo' _MKTARGET_FOO Run _MKMSG_FOO ${.TARGET} From discussion with Alistair Crooks.
47 lines
885 B
Makefile
47 lines
885 B
Makefile
# $NetBSD: Makefile,v 1.4 2003/10/21 10:01:21 lukem Exp $
|
|
|
|
NOMAN=
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
BINDIR?= /usr/share/i18n/esdb
|
|
|
|
.SUFFIXES: .src .esdb
|
|
|
|
.src.esdb:
|
|
${_MKTARGET_CREATE}
|
|
${TOOL_MKESDB} -o $@ $>
|
|
|
|
SUBDIR= CP EUC EBCDIC ISO-2022 ISO-8859 ISO646 MISC UTF
|
|
|
|
.for i in ${SUBDIR}
|
|
.include "${.CURDIR}/$i/Makefile.inc"
|
|
.endfor
|
|
|
|
# ----------------------------------------------------------------------
|
|
# esdb.{dir,alias}
|
|
#
|
|
|
|
esdb.dir: ${SRC_esdb.dir}
|
|
${_MKTARGET_CREATE}
|
|
cat $> > $@
|
|
esdb.dir.db: esdb.dir
|
|
${_MKTARGET_CREATE}
|
|
${TOOL_MKESDB} -m -o $@ $>
|
|
|
|
esdb.alias: ${SRC_esdb.alias}
|
|
${_MKTARGET_CREATE}
|
|
cat $> > $@
|
|
esdb.alias.db: esdb.alias
|
|
${_MKTARGET_CREATE}
|
|
${TOOL_MKESDB} -m -o $@ $>
|
|
|
|
FILES+= esdb.dir esdb.dir.db esdb.alias esdb.alias.db
|
|
CLEANFILES+= esdb.dir esdb.dir.db esdb.alias esdb.alias.db
|
|
FILESDIR:= ${BINDIR}
|
|
|
|
all: ${FILES}
|
|
realall: ${FILES}
|
|
|
|
.include <bsd.prog.mk>
|