]> granicus.if.org Git - zfs/blobdiff - lib/libunicode/Makefile.am
OpenZFS 9079 - race condition in starting and ending condensing thread for indirect...
[zfs] / lib / libunicode / Makefile.am
index 9d5785595f4a5837b27efa3a07a685d79d2db978..0a4734c037bd2dedff8d729f21a8e342f8b0b4b7 100644 (file)
@@ -1,15 +1,24 @@
 include $(top_srcdir)/config/Rules.am
 
-AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
+VPATH = $(top_srcdir)/module/unicode
+
+# Includes kernel code, generate warnings for large stack frames
+AM_CFLAGS += $(FRAME_LARGER_THAN)
 
 DEFAULT_INCLUDES += \
-       -I${top_srcdir}/module/unicode/include \
-       -I${top_srcdir}/lib/libspl/include
+       -I$(top_srcdir)/include \
+       -I$(top_srcdir)/lib/libspl/include
+
+noinst_LTLIBRARIES = libunicode.la
+
+USER_C =
+
+KERNEL_C = \
+       u8_textprep.c \
+       uconv.c
 
-lib_LTLIBRARIES = libunicode.la
+nodist_libunicode_la_SOURCES = \
+       $(USER_C) \
+       $(KERNEL_C)
 
-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
+EXTRA_DIST = $(USER_C)