1 1.1 christos # $NetBSD: Makefile,v 1.1 2021/12/28 17:04:18 christos Exp $ 2 1.1 christos 3 1.1 christos USE_FORT?= yes 4 1.1 christos 5 1.1 christos LIBISPRIVATE= yes 6 1.1 christos 7 1.1 christos .include "../../openldap.mk" 8 1.1 christos 9 1.1 christos LIB= lunicode 10 1.1 christos 11 1.1 christos LIBLUNICODE=${LDAP_DISTDIR}/libraries/liblunicode 12 1.1 christos .PATH: ${LIBLUNICODE} ${LIBLUNICODE}/ucdata ${LIBLUNICODE}/ure 13 1.1 christos CPPFLAGS+= -I${LIBLUNICODE} -I${LIBLUNICODE}/ucdata -I. 14 1.1 christos 15 1.1 christos SRCS+= ucdata.c ure.c urestubs.c ucstr.c 16 1.1 christos 17 1.1 christos 18 1.1 christos .if ${USETOOLS} != "yes" 19 1.1 christos UCGENDATOBJ!= cd ${.CURDIR}/ucgendat && ${PRINTOBJDIR} 20 1.1 christos TOOL_UCGENDAT= ${UCGENDATDIR}/ucgendat 21 1.1 christos 22 1.1 christos .PHONY: ucgendat 23 1.1 christos includes: ucgendat 24 1.1 christos SUBDIR= ucgendat 25 1.1 christos 26 1.1 christos ucgendat: 27 1.1 christos @cd ${.CURDIR}/ucgendat && ${MAKE} 28 1.1 christos .endif 29 1.1 christos 30 1.1 christos uctable.h: ${TOOL_UCGENDAT} ${LIBLUNICODE}/UnicodeData.txt ${LIBLUNICODE}/CompositionExclusions.txt 31 1.1 christos ${_MKTARGET_CREATE} 32 1.1 christos ${TOOL_UCGENDAT} ${LIBLUNICODE}/UnicodeData.txt \ 33 1.1 christos -x ${LIBLUNICODE}/CompositionExclusions.txt 34 1.1 christos 35 1.1 christos ucdata.c: uctable.h 36 1.1 christos .endif 37 1.1 christos 38 1.1 christos 39 1.1 christos .include <bsd.lib.mk> 40 1.1 christos .if ${USETOOLS} != "yes" 41 1.1 christos .include <bsd.subdir.mk> 42 1.1 christos .endif 43