2010-08-26 18:50:56 +00:00
|
|
|
include $(top_srcdir)/config/Rules.am
|
|
|
|
|
2014-06-09 21:55:31 +00:00
|
|
|
VPATH = \
|
|
|
|
$(top_srcdir)/lib/libspl \
|
|
|
|
$(top_srcdir)/lib/libspl/$(TARGET_ASM_DIR)
|
|
|
|
|
2010-08-26 18:50:56 +00:00
|
|
|
AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
|
|
|
|
|
|
|
|
SUBDIRS = include $(TARGET_ASM_DIR)
|
|
|
|
DIST_SUBDIRS = include asm-generic asm-i386 asm-x86_64
|
|
|
|
|
|
|
|
DEFAULT_INCLUDES += \
|
2010-09-04 20:26:23 +00:00
|
|
|
-I$(top_srcdir)/lib/libspl/include
|
2010-08-26 18:50:56 +00:00
|
|
|
|
|
|
|
AM_CCASFLAGS = \
|
2010-09-04 20:26:23 +00:00
|
|
|
-I$(top_srcdir)/lib/libspl/include
|
2010-08-26 18:50:56 +00:00
|
|
|
|
2011-12-31 23:30:52 +00:00
|
|
|
noinst_LTLIBRARIES = libspl.la
|
2010-08-26 18:50:56 +00:00
|
|
|
|
2014-06-09 21:55:31 +00:00
|
|
|
USER_C = \
|
|
|
|
getexecname.c \
|
|
|
|
gethrtime.c \
|
|
|
|
gethrestime.c \
|
|
|
|
getmntany.c \
|
|
|
|
list.c \
|
|
|
|
mkdirp.c \
|
|
|
|
strlcat.c \
|
|
|
|
strlcpy.c \
|
|
|
|
strnlen.c \
|
|
|
|
timestamp.c \
|
|
|
|
zone.c \
|
|
|
|
xdr.c \
|
|
|
|
include/sys/list.h \
|
|
|
|
include/sys/list_impl.h
|
|
|
|
|
|
|
|
USER_ASM = atomic.S
|
|
|
|
|
|
|
|
KERNEL_C =
|
|
|
|
|
|
|
|
nodist_libspl_la_SOURCES = \
|
|
|
|
$(USER_C) \
|
|
|
|
$(USER_ASM) \
|
|
|
|
$(KERNEL_C)
|
2011-07-05 19:12:08 +00:00
|
|
|
|
2013-09-26 17:42:41 +00:00
|
|
|
libspl_la_LIBADD = -lrt
|
2014-06-09 21:55:31 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = $(USER_C)
|