summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/legacy/server/src/Makefile.am
blob: bfc0b7eb6b183d286a2a9f9c67852577331099a0 (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

xlator_LTLIBRARIES = server-old.la
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/legacy/protocol

server_old_la_LDFLAGS = -module -avoidversion

server_old_la_SOURCES = server-protocol.c server-resolve.c server-helpers.c \
			authenticate.c

server_old_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la   \
	$(top_builddir)/xlators/protocol/legacy/lib/src/libgfproto.la

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

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

CLEANFILES =

install-data-hook:
	ln -sf server-old.so $(DESTDIR)$(xlatordir)/server.so