zdb: zero-pad checksum output follow up
[zfs.git] / lib / libspl / Makefile.am
blob822bef7e7a8d91f6868a647e16ccfffb7cf8548b
1 include $(srcdir)/%D%/include/Makefile.am
3 libspl_assert_la_CFLAGS = $(AM_CFLAGS) $(LIBRARY_CFLAGS)
4 libspl_la_CFLAGS        = $(libspl_assert_la_CFLAGS)
6 noinst_LTLIBRARIES += libspl_assert.la libspl.la
7 CPPCHECKTARGETS    += libspl_assert.la libspl.la
9 libspl_assert_la_SOURCES = \
10         %D%/assert.c
12 libspl_la_SOURCES = \
13         %D%/libspl_impl.h \
14         %D%/atomic.c \
15         %D%/getexecname.c \
16         %D%/list.c \
17         %D%/mkdirp.c \
18         %D%/page.c \
19         %D%/strlcat.c \
20         %D%/strlcpy.c \
21         %D%/timestamp.c \
22         %D%/include/sys/list.h \
23         %D%/include/sys/list_impl.h
25 if BUILD_LINUX
26 libspl_la_SOURCES += \
27         %D%/os/linux/getexecname.c \
28         %D%/os/linux/gethostid.c \
29         %D%/os/linux/getmntany.c \
30         %D%/os/linux/zone.c
31 endif
33 if BUILD_FREEBSD
34 libspl_la_SOURCES += \
35         %D%/os/freebsd/getexecname.c \
36         %D%/os/freebsd/gethostid.c \
37         %D%/os/freebsd/getmntany.c \
38         %D%/os/freebsd/mnttab.c \
39         %D%/os/freebsd/zone.c
40 endif
42 libspl_la_LIBADD = \
43         libspl_assert.la
45 libspl_la_LIBADD += $(LIBATOMIC_LIBS) $(LIBCLOCK_GETTIME)