Module Name:    src
Committed By:   christos
Date:           Tue Dec 28 17:04:18 UTC 2021

Added Files:
        src/external/bsd/openldap/lib/liblunicode: Makefile

Log Message:
Commit a Makefile with tools support


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/bsd/openldap/lib/liblunicode/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/external/bsd/openldap/lib/liblunicode/Makefile
diff -u /dev/null src/external/bsd/openldap/lib/liblunicode/Makefile:1.1
--- /dev/null	Tue Dec 28 12:04:18 2021
+++ src/external/bsd/openldap/lib/liblunicode/Makefile	Tue Dec 28 12:04:18 2021
@@ -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

Reply via email to