mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 19:28:53 +03:00
Add linux libspl support
All changes needed for the libspl layer. This includes modifications to files directly copied from OpenSolaris and the addition of new files needed to fill in the gaps. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
include $(top_srcdir)/config/Rules.am
|
||||
|
||||
AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
|
||||
|
||||
SUBDIRS = include $(TARGET_ASM_DIR)
|
||||
DIST_SUBDIRS = include asm-generic asm-i386 asm-x86_64
|
||||
|
||||
DEFAULT_INCLUDES += \
|
||||
-I${top_srcdir}/lib/libspl/include
|
||||
|
||||
AM_CCASFLAGS = \
|
||||
-I${top_srcdir}/lib/libspl/include
|
||||
|
||||
lib_LTLIBRARIES = libspl.la
|
||||
|
||||
libspl_la_LDFLAGS = -lrt
|
||||
|
||||
libspl_la_SOURCES = \
|
||||
${top_srcdir}/lib/libspl/getexecname.c \
|
||||
${top_srcdir}/lib/libspl/gethrtime.c \
|
||||
${top_srcdir}/lib/libspl/gethrestime.c \
|
||||
${top_srcdir}/lib/libspl/getmntany.c \
|
||||
${top_srcdir}/lib/libspl/list.c \
|
||||
${top_srcdir}/lib/libspl/mkdirp.c \
|
||||
${top_srcdir}/lib/libspl/strlcat.c \
|
||||
${top_srcdir}/lib/libspl/strlcpy.c \
|
||||
${top_srcdir}/lib/libspl/strnlen.c \
|
||||
${top_srcdir}/lib/libspl/timestamp.c \
|
||||
${top_srcdir}/lib/libspl/zone.c \
|
||||
${top_srcdir}/lib/libspl/xdr.c \
|
||||
${top_srcdir}/lib/libspl/${TARGET_ASM_DIR}/atomic.S \
|
||||
${top_srcdir}/lib/libspl/include/sys/list.h \
|
||||
${top_srcdir}/lib/libspl/include/sys/list_impl.h
|
||||
Reference in New Issue
Block a user