1libshare_la_CFLAGS = $(AM_CFLAGS) $(LIBRARY_CFLAGS) 2libshare_la_CFLAGS += -fvisibility=hidden 3 4libshare_la_CPPFLAGS = $(AM_CPPFLAGS) 5libshare_la_CPPFLAGS += -I$(srcdir)/%D% 6 7noinst_LTLIBRARIES += libshare.la 8CPPCHECKTARGETS += libshare.la 9 10libshare_la_SOURCES = \ 11 %D%/libshare_impl.h \ 12 %D%/libshare.c \ 13 %D%/nfs.c \ 14 %D%/nfs.h \ 15 %D%/smb.h 16 17if BUILD_LINUX 18libshare_la_SOURCES += \ 19 %D%/os/linux/nfs.c \ 20 %D%/os/linux/smb.c 21endif 22 23if BUILD_FREEBSD 24libshare_la_SOURCES += \ 25 %D%/os/freebsd/nfs.c \ 26 %D%/os/freebsd/smb.c 27endif 28