2022-04-07 23:07:08 +00:00
|
|
|
include $(srcdir)/%D%/include/Makefile.am
|
2010-08-26 18:50:56 +00:00
|
|
|
|
2022-04-07 23:07:08 +00:00
|
|
|
libspl_assert_la_CFLAGS = $(AM_CFLAGS) $(LIBRARY_CFLAGS)
|
|
|
|
libspl_la_CFLAGS = $(libspl_assert_la_CFLAGS)
|
2010-08-26 18:50:56 +00:00
|
|
|
|
2022-04-07 23:07:08 +00:00
|
|
|
noinst_LTLIBRARIES += libspl_assert.la libspl.la
|
|
|
|
CPPCHECKTARGETS += libspl_assert.la libspl.la
|
2020-07-04 22:24:13 +00:00
|
|
|
|
|
|
|
libspl_assert_la_SOURCES = \
|
2022-04-07 23:07:08 +00:00
|
|
|
%D%/assert.c
|
|
|
|
|
|
|
|
libspl_la_SOURCES = \
|
|
|
|
%D%/libspl_impl.h \
|
|
|
|
%D%/atomic.c \
|
|
|
|
%D%/getexecname.c \
|
|
|
|
%D%/list.c \
|
|
|
|
%D%/mkdirp.c \
|
|
|
|
%D%/page.c \
|
|
|
|
%D%/strlcat.c \
|
|
|
|
%D%/strlcpy.c \
|
|
|
|
%D%/timestamp.c \
|
|
|
|
%D%/include/sys/list.h \
|
|
|
|
%D%/include/sys/list_impl.h
|
2014-06-09 21:55:31 +00:00
|
|
|
|
2019-10-02 17:39:48 +00:00
|
|
|
if BUILD_LINUX
|
2022-04-07 23:07:08 +00:00
|
|
|
libspl_la_SOURCES += \
|
|
|
|
%D%/os/linux/getexecname.c \
|
|
|
|
%D%/os/linux/gethostid.c \
|
|
|
|
%D%/os/linux/getmntany.c \
|
|
|
|
%D%/os/linux/zone.c
|
2019-10-02 17:39:48 +00:00
|
|
|
endif
|
|
|
|
|
2020-04-14 18:36:28 +00:00
|
|
|
if BUILD_FREEBSD
|
2022-04-07 23:07:08 +00:00
|
|
|
libspl_la_SOURCES += \
|
|
|
|
%D%/os/freebsd/getexecname.c \
|
|
|
|
%D%/os/freebsd/gethostid.c \
|
|
|
|
%D%/os/freebsd/getmntany.c \
|
|
|
|
%D%/os/freebsd/mnttab.c \
|
|
|
|
%D%/os/freebsd/zone.c
|
2020-04-14 18:36:28 +00:00
|
|
|
endif
|
|
|
|
|
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)
|