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 remove tools support, ...



details:   https://anonhg.NetBSD.org/src/rev/891648b08caf
branches:  trunk
changeset: 1029253:891648b08caf
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Dec 28 17:05:23 2021 +0000

description:
remove tools support, not needed, but add the ugcendat Makefile

diffstat:

 external/bsd/openldap/lib/liblunicode/Makefile          |  27 +----------------
 external/bsd/openldap/lib/liblunicode/ucgendat/Makefile |  22 +++++++++++++
 2 files changed, 23 insertions(+), 26 deletions(-)

diffs (65 lines):

diff -r 386f8f6ab870 -r 891648b08caf external/bsd/openldap/lib/liblunicode/Makefile
--- a/external/bsd/openldap/lib/liblunicode/Makefile    Tue Dec 28 17:04:18 2021 +0000
+++ b/external/bsd/openldap/lib/liblunicode/Makefile    Tue Dec 28 17:05:23 2021 +0000
@@ -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 @@
 
 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
diff -r 386f8f6ab870 -r 891648b08caf external/bsd/openldap/lib/liblunicode/ucgendat/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/openldap/lib/liblunicode/ucgendat/Makefile   Tue Dec 28 17:05:23 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index