1995-10-22 00:58:41 +00:00
|
|
|
# $Id: Makefile,v 1.4 1995/09/28 18:23:34 bde Exp $
|
1995-02-17 17:29:50 +00:00
|
|
|
|
|
|
|
PROG = colldef
|
|
|
|
LFLAGS = -8 -i
|
|
|
|
YFLAGS = -d
|
|
|
|
CFLAGS += -I. -I${.CURDIR}/../../lib/libc/locale
|
1995-09-28 18:23:44 +00:00
|
|
|
SRCS = parse.c scan.c
|
1995-02-17 17:29:50 +00:00
|
|
|
LDADD = -ll
|
|
|
|
DPADD = ${LIBL}
|
1995-09-28 18:23:44 +00:00
|
|
|
CLEANFILES += lex.yy.c parse.c scan.c y.tab.[ch]
|
1995-02-17 17:29:50 +00:00
|
|
|
|
1995-06-19 22:15:35 +00:00
|
|
|
LOCALES= ru_SU.KOI8-R ru_SU.CP866 lt_LN.ISO_8859-1
|
1995-02-17 17:29:50 +00:00
|
|
|
LOCALEDIR= ${DESTDIR}/usr/share/locale
|
|
|
|
|
1995-10-22 00:58:41 +00:00
|
|
|
LATIN1LINKS = \
|
|
|
|
da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES fi_FI \
|
|
|
|
fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE nl_NL no_NO \
|
|
|
|
pt_PT sv_SE
|
|
|
|
|
1995-02-17 17:29:50 +00:00
|
|
|
afterinstall:
|
|
|
|
for l in ${LOCALES}; do \
|
|
|
|
colldef -o ${LOCALEDIR}/$$l/LC_COLLATE ${.CURDIR}/data/$$l; \
|
|
|
|
chown ${BINOWN}.${BINGRP} ${LOCALEDIR}/$$l/LC_COLLATE; \
|
|
|
|
chmod 644 ${LOCALEDIR}/$$l/LC_COLLATE; \
|
|
|
|
done
|
1995-10-22 00:58:41 +00:00
|
|
|
for l in ${LATIN1LINKS}; do \
|
|
|
|
ln -fs ../lt_LN.ISO_8859-1/LC_COLLATE \
|
|
|
|
${LOCALEDIR}/$$l.ISO_8859-1/LC_COLLATE; \
|
|
|
|
done
|
1995-02-17 17:29:50 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|