summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/Makefile.am
blob: 53dd3aa5da575cf115b36d961bb6ae607f6b08b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
xlator_LTLIBRARIES = locks.la
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features

locks_la_LDFLAGS = -module -avoidversion

locks_la_SOURCES = common.c posix.c entrylk.c inodelk.c reservelk.c
locks_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la 

noinst_HEADERS = locks.h common.h locks-mem-types.h

AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -fno-strict-aliasing -D$(GF_HOST_OS) \
	-I$(top_srcdir)/libglusterfs/src $(GF_CFLAGS) -shared -nostartfiles

CLEANFILES = 

uninstall-local:
	rm -f $(DESTDIR)$(xlatordir)/posix-locks.so

install-data-hook:
	ln -sf locks.so $(DESTDIR)$(xlatordir)/posix-locks.so