summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server/src/Makefile.am
blob: 01071a79a21c32b77a16ae4268620d87e0a3ac54 (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
28
29
30
31
32
33
34
35
36
37
38
if WITH_SERVER
xlator_LTLIBRARIES = server.la
endif

xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/nfs
nfsrpclibdir = $(top_srcdir)/rpc/rpc-lib/src
server_la_LDFLAGS = -module \
        -export-symbols $(top_srcdir)/xlators/nfs/server/src/nfsserver.sym \
        $(GF_XLATOR_LDFLAGS)

server_la_SOURCES = nfs.c nfs-common.c nfs-fops.c nfs-inodes.c \
	nfs-generics.c mount3.c nfs3-fh.c nfs3.c nfs3-helpers.c nlm4.c \
	nlmcbk_svc.c mount3udp_svc.c acl3.c netgroups.c exports.c \
	mount3-auth.c auth-cache.c

server_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
	$(top_builddir)/api/src/libgfapi.la \
	$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \
	$(top_builddir)/rpc/xdr/src/libgfxdr.la

noinst_HEADERS = nfs.h nfs-common.h nfs-fops.h nfs-inodes.h nfs-generics.h \
	mount3.h nfs3-fh.h nfs3.h nfs3-helpers.h nfs-mem-types.h nlm4.h \
	acl3.h netgroups.h exports.h mount3-auth.h auth-cache.h nfs-messages.h

AM_CPPFLAGS = $(GF_CPPFLAGS) \
	-DLIBDIR=\"$(libdir)/glusterfs/$(PACKAGE_VERSION)/auth\" \
	-I$(top_srcdir)/libglusterfs/src -I$(top_srcdir)/api/src \
	-I$(top_srcdir)/rpc/xdr/src/ -I$(top_builddir)/rpc/xdr/src/ \
	-I$(nfsrpclibdir) -I$(CONTRIBDIR)/rbtree \
	-DDATADIR=\"$(localstatedir)\"

AM_CFLAGS = -Wall $(GF_CFLAGS)

AM_LDFLAGS = -L$(xlatordir)

CLEANFILES =

EXTRA_DIST = nfsserver.sym