1include $(srcdir)/%D%/include/Makefile.am 2 3libspl_assert_la_CFLAGS = $(AM_CFLAGS) $(LIBRARY_CFLAGS) 4libspl_la_CFLAGS = $(libspl_assert_la_CFLAGS) 5 6noinst_LTLIBRARIES += libspl_assert.la libspl.la 7CPPCHECKTARGETS += libspl_assert.la libspl.la 8 9libspl_assert_la_SOURCES = \ 10 %D%/assert.c 11 12libspl_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 24 25if BUILD_LINUX 26libspl_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 31endif 32 33if BUILD_FREEBSD 34libspl_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 40endif 41 42libspl_la_LIBADD = \ 43 libspl_assert.la 44 45libspl_la_LIBADD += $(LIBATOMIC_LIBS) $(LIBCLOCK_GETTIME) 46