summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src/Makefile.am
blob: 72a581ddf107179656d1648e8af98421cdb2a56c (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
xlator_LTLIBRARIES = server.la
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/protocol

server_la_LDFLAGS = -module -avoidversion

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

server_la_SOURCES = server.c server-resolve.c server-helpers.c  \
	server3_1-fops.c server-handshake.c authenticate.c

noinst_HEADERS = server.h server-helpers.h server-mem-types.h authenticate.h

AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall    \
	-I$(top_srcdir)/libglusterfs/src -shared -nostartfiles  \
	-DCONFDIR=\"$(sysconfdir)/glusterfs\" -D$(GF_HOST_OS)   \
	-DLIBDIR=\"$(libdir)/glusterfs/$(PACKAGE_VERSION)/auth\" \
	$(GF_CFLAGS) -I$(top_srcdir)/xlators/protocol/lib/src   \
	-I$(top_srcdir)/rpc/rpc-lib/src/       \
	-I$(top_srcdir)/rpc/xdr/src/       \
	-I$(top_srcdir)/contrib/md5/

CLEANFILES = *~