summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/transport/ib-verbs/src/Makefile.am
blob: 8f6e6a35b5b04056ca3316830254d007f3fc81c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# TODO : need to change transportdir

transport_LTLIBRARIES = ib-verbs.la
transportdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/transport

ib_verbs_la_LDFLAGS = -module -avoidversion

ib_verbs_la_SOURCES = ib-verbs.c name.c
ib_verbs_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la     \
	-libverbs $(top_builddir)/xlators/protocol/lib/src/libgfproto.la

noinst_HEADERS = ib-verbs.h name.h

AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS)  \
	-I$(top_srcdir)/libglusterfs/src -shared -nostartfiles $(GF_CFLAGS)   \
	-I$(top_srcdir)/xlators/protocol/transport/ib-verbs                    \
	-I$(top_srcdir)/xlators/protocol/lib/src

CLEANFILES = *~