aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libshare/Makefile.am
blob: 48d8cb83242888d03579456dcc3af4fdc281fbfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
libshare_la_CFLAGS  = $(AM_CFLAGS) $(LIBRARY_CFLAGS)
libshare_la_CFLAGS += -fvisibility=hidden

libshare_la_CPPFLAGS  = $(AM_CPPFLAGS)
libshare_la_CPPFLAGS += -I$(srcdir)/%D%

noinst_LTLIBRARIES += libshare.la
CPPCHECKTARGETS    += libshare.la

libshare_la_SOURCES = \
	%D%/libshare_impl.h \
	%D%/libshare.c \
	%D%/nfs.c \
	%D%/nfs.h \
	%D%/smb.h

if BUILD_LINUX
libshare_la_SOURCES += \
	%D%/os/linux/nfs.c \
	%D%/os/linux/smb.c
endif

if BUILD_FREEBSD
libshare_la_SOURCES += \
	%D%/os/freebsd/nfs.c \
	%D%/os/freebsd/smb.c
endif