2010-08-26 22:50:56 +04:00
|
|
|
include $(top_srcdir)/config/Rules.am
|
|
|
|
|
2020-06-19 22:24:20 +03:00
|
|
|
SUBDIRS = include
|
2010-08-26 22:50:56 +04:00
|
|
|
|
2020-07-05 01:24:13 +03:00
|
|
|
noinst_LTLIBRARIES = libspl_assert.la libspl.la
|
|
|
|
|
|
|
|
libspl_assert_la_SOURCES = \
|
|
|
|
assert.c
|
2010-08-26 22:50:56 +04:00
|
|
|
|
2014-06-10 01:55:31 +04:00
|
|
|
USER_C = \
|
2021-04-19 08:13:24 +03:00
|
|
|
atomic.c \
|
2014-06-10 01:55:31 +04:00
|
|
|
list.c \
|
|
|
|
mkdirp.c \
|
2016-10-26 07:32:23 +03:00
|
|
|
page.c \
|
2018-12-12 03:01:41 +03:00
|
|
|
strlcat.c \
|
|
|
|
strlcpy.c \
|
2014-06-10 01:55:31 +04:00
|
|
|
timestamp.c \
|
|
|
|
include/sys/list.h \
|
|
|
|
include/sys/list_impl.h
|
|
|
|
|
2019-10-02 20:39:48 +03:00
|
|
|
if BUILD_LINUX
|
|
|
|
USER_C += \
|
|
|
|
os/linux/getexecname.c \
|
|
|
|
os/linux/gethostid.c \
|
2020-08-30 20:37:44 +03:00
|
|
|
os/linux/getmntany.c \
|
|
|
|
os/linux/zone.c
|
2019-10-02 20:39:48 +03:00
|
|
|
endif
|
|
|
|
|
2020-04-14 21:36:28 +03:00
|
|
|
if BUILD_FREEBSD
|
|
|
|
USER_C += \
|
|
|
|
os/freebsd/getexecname.c \
|
|
|
|
os/freebsd/gethostid.c \
|
|
|
|
os/freebsd/getmntany.c \
|
2020-08-30 20:37:44 +03:00
|
|
|
os/freebsd/mnttab.c \
|
|
|
|
os/freebsd/zone.c
|
2020-04-14 21:36:28 +03:00
|
|
|
endif
|
|
|
|
|
2021-04-19 08:13:24 +03:00
|
|
|
libspl_la_SOURCES = $(USER_C)
|
2011-07-05 23:12:08 +04:00
|
|
|
|
2020-07-05 01:24:13 +03:00
|
|
|
libspl_la_LIBADD = \
|
|
|
|
libspl_assert.la
|
|
|
|
|
2021-04-19 08:13:24 +03:00
|
|
|
libspl_la_LIBADD += $(LIBATOMIC_LIBS) $(LIBCLOCK_GETTIME)
|
2021-01-22 23:54:34 +03:00
|
|
|
|
|
|
|
include $(top_srcdir)/config/CppCheck.am
|