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