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