mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-30 23:48:09 +01:00
691cda9ce1
The filenames in SRCS must have one of the extensions .s, .S, .c, or .cc if they are to be handled by bsd.dep.mk. Lex and yacc files must be converted to C files and kept around for everything to work. This is handled fairly automatically if the names of the generated C files are put in SRCS. Unfortunately these names must be put in CLEANFILES too. pcvt Makefiles: Fix DPADD. It was missing. Fix CLEANFILES. Some temporary files were missing. Fix CFLAGS. There were some `-I dir' options. There must be no whitespace separating -I and -D options from the corresponding args if these options are to be handled by bsd.dep.mk.
23 lines
586 B
Makefile
23 lines
586 B
Makefile
# $Id: Makefile,v 1.3 1995/06/19 22:15:35 asami Exp $
|
|
|
|
PROG = colldef
|
|
LFLAGS = -8 -i
|
|
YFLAGS = -d
|
|
CFLAGS += -I. -I${.CURDIR}/../../lib/libc/locale
|
|
SRCS = parse.c scan.c
|
|
LDADD = -ll
|
|
DPADD = ${LIBL}
|
|
CLEANFILES += lex.yy.c parse.c scan.c y.tab.[ch]
|
|
|
|
LOCALES= ru_SU.KOI8-R ru_SU.CP866 lt_LN.ISO_8859-1
|
|
LOCALEDIR= ${DESTDIR}/usr/share/locale
|
|
|
|
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
|
|
|
|
.include <bsd.prog.mk>
|