2011-07-02 19:34:05 +00:00
|
|
|
include $(top_srcdir)/config/Rules.am
|
|
|
|
|
2020-07-13 16:19:18 +00:00
|
|
|
DEFAULT_INCLUDES += -I$(srcdir)
|
|
|
|
|
2021-06-03 21:50:07 +00:00
|
|
|
AM_CFLAGS += -fvisibility=hidden
|
2022-03-31 17:09:18 +00:00
|
|
|
# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
|
|
|
|
AM_CFLAGS += -no-suppress
|
2021-06-03 21:50:07 +00:00
|
|
|
|
2011-12-31 23:30:52 +00:00
|
|
|
noinst_LTLIBRARIES = libshare.la
|
2011-07-02 19:34:05 +00:00
|
|
|
|
2014-06-09 21:55:31 +00:00
|
|
|
USER_C = \
|
|
|
|
libshare_impl.h \
|
|
|
|
libshare.c \
|
2021-04-11 17:37:48 +00:00
|
|
|
nfs.c \
|
2014-06-09 21:55:31 +00:00
|
|
|
nfs.h \
|
|
|
|
smb.h
|
|
|
|
|
2020-07-13 16:19:18 +00:00
|
|
|
if BUILD_LINUX
|
|
|
|
USER_C += \
|
|
|
|
os/linux/nfs.c \
|
|
|
|
os/linux/smb.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_FREEBSD
|
|
|
|
USER_C += \
|
|
|
|
os/freebsd/nfs.c \
|
|
|
|
os/freebsd/smb.c
|
|
|
|
endif
|
|
|
|
|
2020-06-25 18:14:54 +00:00
|
|
|
libshare_la_SOURCES = $(USER_C)
|
2021-01-22 20:54:34 +00:00
|
|
|
|
|
|
|
include $(top_srcdir)/config/CppCheck.am
|