1include $(top_srcdir)/config/Rules.am 2 3DEFAULT_INCLUDES += -I$(srcdir) 4 5noinst_LTLIBRARIES = libshare.la 6 7USER_C = \ 8 libshare_impl.h \ 9 libshare.c \ 10 nfs.h \ 11 smb.h 12 13if BUILD_LINUX 14USER_C += \ 15 os/linux/nfs.c \ 16 os/linux/smb.c 17endif 18 19if BUILD_FREEBSD 20USER_C += \ 21 os/freebsd/nfs.c \ 22 os/freebsd/smb.c 23endif 24 25libshare_la_SOURCES = $(USER_C) 26 27include $(top_srcdir)/config/CppCheck.am 28