2022-04-08 02:07:08 +03:00
|
|
|
include $(srcdir)/%D%/include/Makefile.am
|
2010-08-26 22:50:56 +04:00
|
|
|
|
2022-04-08 02:07:08 +03:00
|
|
|
libspl_assert_la_CFLAGS = $(AM_CFLAGS) $(LIBRARY_CFLAGS)
|
|
|
|
libspl_la_CFLAGS = $(libspl_assert_la_CFLAGS)
|
2010-08-26 22:50:56 +04:00
|
|
|
|
2022-04-08 02:07:08 +03:00
|
|
|
noinst_LTLIBRARIES += libspl_assert.la libspl.la
|
|
|
|
CPPCHECKTARGETS += libspl_assert.la libspl.la
|
2020-07-05 01:24:13 +03:00
|
|
|
|
|
|
|
libspl_assert_la_SOURCES = \
|
2022-04-08 02:07:08 +03: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-10 01:55:31 +04:00
|
|
|
|
2019-10-02 20:39:48 +03:00
|
|
|
if BUILD_LINUX
|
2022-04-08 02:07:08 +03: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 20:39:48 +03:00
|
|
|
endif
|
|
|
|
|
2020-04-14 21:36:28 +03:00
|
|
|
if BUILD_FREEBSD
|
2022-04-08 02:07:08 +03: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 21:36:28 +03:00
|
|
|
endif
|
|
|
|
|
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)
|