NetBSD/x11/share/nls/Makefile

37 lines
698 B
Makefile

# $NetBSD: Makefile,v 1.3 2003/11/08 13:57:30 lukem Exp $
.include <bsd.own.mk>
SUBDIR= Compose XI18N_OBJS XLC_LOCALE
LTFILES=compose.dir locale.alias locale.dir
FILESDIR= ${X11LIBDIR}/locale
.for _F in ${LTFILES}
${_F}.lt: ${_F}
${_MKTARGET_CREATE}
rm -f ${.TARGET}
( \
${CPP} -undef -traditional \
< ${.ALLSRC} | ${X11TOOL_UNXCOMM} \
| sed -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d'; \
${CPP} -undef -traditional \
< ${.ALLSRC} | ${X11TOOL_UNXCOMM} ; \
) > ${.TARGET}
FILES+= ${_F}.lt
FILESNAME_${_F}.lt= ${_F}
CLEANFILES+= ${_F}.lt
.endfor
realall: ${FILES}
.PATH: ${X11SRCDIR.xc}/nls
.include <bsd.x11.mk>
.include <bsd.prog.mk>
.include <bsd.subdir.mk>