summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-11-21 09:20:36 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-11-21 11:56:44 +0100
commit2d1285f14956a89c36219f34611f4c454197140f (patch)
treeb86f7ef54929a9f656b35409a5787e8a005f4e6e /cfg.mk
parent36eb09b1dffd3bcf1fbea35daf87a667b40d7123 (diff)
downloadgnutls-2d1285f14956a89c36219f34611f4c454197140f.tar.gz
lib: added unistring sub-library
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index 4637eeec13..4d454bac71 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -85,9 +85,16 @@ config:
bootstrap: autoreconf .submodule.stamp
+UNISTRING_MODULES = "unistr/u8-check unistr/u8-to-u16 unistr/u8-to-u32 unistr/u32-to-u8 \
+ unistr/u16-to-u8 uninorm/nfc uninorm/u8-normalize uninorm/u16-normalize \
+ uninorm/u32-normalize unictype/category-all"
+
+unistringimport:
+ ../gnulib/gnulib-tool --libtool --macro-prefix=unistring --lgpl=3orGPLv2 --dir=. --local-dir=lib/unistring/override --lib=libunistring --without-tests --source-base=lib/unistring --m4-base=lib/unistring/m4 --doc-base=doc --aux-dir=build-aux --import $(UNISTRING_MODULES)
+
# The only non-lgpl modules used are: gettime progname timespec. Those
# are not used (and must not be used) in the library)
-glimport:
+glimport: unistringimport
../gnulib/gnulib-tool --dir=. --local-dir=gl/override --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=gl/tests --aux-dir=build-aux --lgpl=2 --add-import
../gnulib/gnulib-tool --dir=. --local-dir=src/gl/override --lib=libgnu_gpl --source-base=src/gl --m4-base=src/gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --add-import