Module Name: src
Committed By: christos
Date: Tue Dec 28 17:05:23 UTC 2021
Modified Files:
src/external/bsd/openldap/lib/liblunicode: Makefile
Added Files:
src/external/bsd/openldap/lib/liblunicode/ucgendat: Makefile
Log Message:
remove tools support, not needed, but add the ugcendat Makefile
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/openldap/lib/liblunicode/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/bsd/openldap/lib/liblunicode/ucgendat/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/openldap/lib/liblunicode/Makefile
diff -u src/external/bsd/openldap/lib/liblunicode/Makefile:1.1 src/external/bsd/openldap/lib/liblunicode/Makefile:1.2
--- src/external/bsd/openldap/lib/liblunicode/Makefile:1.1 Tue Dec 28 12:04:18 2021
+++ src/external/bsd/openldap/lib/liblunicode/Makefile Tue Dec 28 12:05:23 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2021/12/28 17:04:18 christos Exp $
+# $NetBSD: Makefile,v 1.2 2021/12/28 17:05:23 christos Exp $
USE_FORT?= yes
@@ -14,29 +14,4 @@ CPPFLAGS+= -I${LIBLUNICODE} -I${LIBLUNIC
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
Added files:
Index: src/external/bsd/openldap/lib/liblunicode/ucgendat/Makefile
diff -u /dev/null src/external/bsd/openldap/lib/liblunicode/ucgendat/Makefile:1.1
--- /dev/null Tue Dec 28 12:05:23 2021
+++ src/external/bsd/openldap/lib/liblunicode/ucgendat/Makefile Tue Dec 28 12:05:23 2021
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2021/12/28 17:05:23 christos Exp $
+
+.include <bsd.hostinit.mk>
+.include <${.CURDIR}/../../../openldap.mk>
+
+.PATH: ${LDAP_DISTDIR}/libraries/liblunicode/ucdata
+
+PROG= ucgendat
+
+SRCS+= ucgendat.c
+
+CPPFLAGS+= \
+ -I${LDAP_SRCDIR}/include \
+ -I${LDAP_DISTDIR}/include \
+ '-Dlutil_progname(a,b,c)=__UNCONST(getprogname())'
+
+HOST_CPPFLAGS+= ${CPPFLAGS}
+
+.ifndef HOSTPROG
+HOSTPROG= ${PROG}
+.include <bsd.hostprog.mk>
+.endif