Add unicode makefile references and support

This commit is contained in:
Brian Behlendorf 2009-01-05 12:32:55 -08:00
parent 07c6176130
commit ced77c2f1b
4 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,13 @@
include $(top_srcdir)/config/Rules.am
DEFAULT_INCLUDES += \
-I${top_srcdir}/module/unicode/include \
-I${top_srcdir}/lib/libspl/include
lib_LTLIBRARIES = libunicode.la
libunicode_la_SOURCES = \
${top_srcdir}/module/unicode/u8_textprep.c \
${top_srcdir}/module/unicode/uconv.c \
${top_srcdir}/module/unicode/include/sys/u8_textprep.h \
${top_srcdir}/module/unicode/include/sys/u8_textprep_data.h

View File

@ -0,0 +1,12 @@
subdir-m += include
DISTFILES = u8_textprep.c uconv.c
MODULE := zunicode
EXTRA_CFLAGS = @KERNELCPPFLAGS@
EXTRA_CFLAGS += -I@MODDIR@/unicode/include
obj-m := ${MODULE}.o
${MODULE}-objs += u8_textprep.o
${MODULE}-objs += uconv.o

View File

@ -0,0 +1 @@
subdir-m += sys

View File

@ -0,0 +1 @@
DISTFILES = u8_textprep.h u8_textprep_data.h