Add warning for external consumers of dmu_tx_callback_register
[zfs.git] / lib / libshare / Makefile.am
blob48d8cb83242888d03579456dcc3af4fdc281fbfc
1 libshare_la_CFLAGS  = $(AM_CFLAGS) $(LIBRARY_CFLAGS)
2 libshare_la_CFLAGS += -fvisibility=hidden
4 libshare_la_CPPFLAGS  = $(AM_CPPFLAGS)
5 libshare_la_CPPFLAGS += -I$(srcdir)/%D%
7 noinst_LTLIBRARIES += libshare.la
8 CPPCHECKTARGETS    += libshare.la
10 libshare_la_SOURCES = \
11         %D%/libshare_impl.h \
12         %D%/libshare.c \
13         %D%/nfs.c \
14         %D%/nfs.h \
15         %D%/smb.h
17 if BUILD_LINUX
18 libshare_la_SOURCES += \
19         %D%/os/linux/nfs.c \
20         %D%/os/linux/smb.c
21 endif
23 if BUILD_FREEBSD
24 libshare_la_SOURCES += \
25         %D%/os/freebsd/nfs.c \
26         %D%/os/freebsd/smb.c
27 endif