1include $(top_srcdir)/config/Rules.am 2 3SUBDIRS = include 4 5noinst_LTLIBRARIES = libspl_assert.la libspl.la 6 7libspl_assert_la_SOURCES = \ 8 assert.c 9 10USER_C = \ 11 libspl_impl.h \ 12 atomic.c \ 13 getexecname.c \ 14 list.c \ 15 mkdirp.c \ 16 page.c \ 17 strlcat.c \ 18 strlcpy.c \ 19 timestamp.c \ 20 include/sys/list.h \ 21 include/sys/list_impl.h 22 23if BUILD_LINUX 24USER_C += \ 25 os/linux/getexecname.c \ 26 os/linux/gethostid.c \ 27 os/linux/getmntany.c \ 28 os/linux/zone.c 29endif 30 31if BUILD_FREEBSD 32USER_C += \ 33 os/freebsd/getexecname.c \ 34 os/freebsd/gethostid.c \ 35 os/freebsd/getmntany.c \ 36 os/freebsd/mnttab.c \ 37 os/freebsd/zone.c 38endif 39 40libspl_la_SOURCES = $(USER_C) 41 42libspl_la_LIBADD = \ 43 libspl_assert.la 44 45libspl_la_LIBADD += $(LIBATOMIC_LIBS) $(LIBCLOCK_GETTIME) 46 47include $(top_srcdir)/config/CppCheck.am 48