summaryrefslogtreecommitdiffstats
path: root/xlators/features/changetimerecorder/src/Makefile.am
blob: 128227a83d66676d26658fd417ed9dc794e8414a (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
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features

# changetimerecorder can only get build when libgfdb is enabled
if BUILD_GFDB
   xlator_LTLIBRARIES = changetimerecorder.la
endif

changetimerecorder_la_LDFLAGS = -module -avoid-version

changetimerecorder_la_SOURCES = changetimerecorder.c ctr-helper.c

changetimerecorder_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la\
			$(top_builddir)/libglusterfs/src/gfdb/libgfdb.la\
			$(top_builddir)/api/src/libgfapi.la\
			$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la

noinst_HEADERS = changetimerecorder.h ctr_mem_types.h ctr-helper.h

AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src \
		-I$(top_srcdir)/libglusterfs/src/gfdb \
		-I$(top_srcdir)/api/src \
		-I$(top_srcdir)/rpc/rpc-lib/src \
		-I$(top_srcdir)/rpc/xdr/src \
		-DDATADIR=\"$(localstatedir)\"

AM_CFLAGS = -Wall $(GF_CFLAGS) $(SQLITE_CFLAGS)

CLEANFILES =