X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=lib%2Flibunicode%2FMakefile.am;h=0a4734c037bd2dedff8d729f21a8e342f8b0b4b7;hb=9d5b5245979f0192c4726c0678d7e25a7125c402;hp=9d5785595f4a5837b27efa3a07a685d79d2db978;hpb=c9c0d073da561bcbefbdf09c87fc75b227415619;p=zfs diff --git a/lib/libunicode/Makefile.am b/lib/libunicode/Makefile.am index 9d5785595..0a4734c03 100644 --- a/lib/libunicode/Makefile.am +++ b/lib/libunicode/Makefile.am @@ -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)