Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/openldap/lib/liblunicode Commit a Makefile with...



details:   https://anonhg.NetBSD.org/src/rev/386f8f6ab870
branches:  trunk
changeset: 1029252:386f8f6ab870
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Dec 28 17:04:18 2021 +0000

description:
Commit a Makefile with tools support

diffstat:

 external/bsd/openldap/lib/liblunicode/Makefile |  42 ++++++++++++++++++++++++++
 1 files changed, 42 insertions(+), 0 deletions(-)

diffs (46 lines):

diff -r 546619f18677 -r 386f8f6ab870 external/bsd/openldap/lib/liblunicode/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/openldap/lib/liblunicode/Makefile    Tue Dec 28 17:04:18 2021 +0000
@@ -0,0 +1,42 @@
+#      $NetBSD: Makefile,v 1.1 2021/12/28 17:04:18 christos Exp $
+
+USE_FORT?=     yes
+
+LIBISPRIVATE=  yes
+
+.include "../../openldap.mk"
+
+LIB=           lunicode
+
+LIBLUNICODE=${LDAP_DISTDIR}/libraries/liblunicode
+.PATH:         ${LIBLUNICODE} ${LIBLUNICODE}/ucdata ${LIBLUNICODE}/ure
+CPPFLAGS+=     -I${LIBLUNICODE} -I${LIBLUNICODE}/ucdata -I.
+
+SRCS+= ucdata.c ure.c urestubs.c ucstr.c
+
+
+.if ${USETOOLS} != "yes"
+UCGENDATOBJ!=     cd ${.CURDIR}/ucgendat && ${PRINTOBJDIR}
+TOOL_UCGENDAT=   ${UCGENDATDIR}/ucgendat
+
+.PHONY:         ucgendat
+includes:       ucgendat
+SUBDIR=         ucgendat
+
+ucgendat:
+       @cd ${.CURDIR}/ucgendat && ${MAKE}
+.endif
+
+uctable.h: ${TOOL_UCGENDAT} ${LIBLUNICODE}/UnicodeData.txt ${LIBLUNICODE}/CompositionExclusions.txt
+       ${_MKTARGET_CREATE}
+       ${TOOL_UCGENDAT} ${LIBLUNICODE}/UnicodeData.txt \
+           -x ${LIBLUNICODE}/CompositionExclusions.txt
+
+ucdata.c: uctable.h
+.endif
+
+
+.include <bsd.lib.mk>
+.if ${USETOOLS} != "yes"
+.include <bsd.subdir.mk>
+.endif



Home | Main Index | Thread Index | Old Index