summaryrefslogtreecommitdiffstats
path: root/xlators/features/changelog/src/Makefile.am
blob: f70e5f8e70723dc7c3d4802800f31e58ac324e2b (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
xlator_LTLIBRARIES = changelog.la

xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features

noinst_HEADERS = changelog-helpers.h changelog-mem-types.h changelog-rt.h \
		 changelog-rpc-common.h changelog-misc.h changelog-encoders.h \
		 changelog-rpc-common.h changelog-rpc.h changelog-ev-handle.h \
		 changelog-messages.h

changelog_la_LDFLAGS = -module -avoid-version

changelog_la_SOURCES = changelog.c changelog-rt.c changelog-helpers.c \
		changelog-encoders.c changelog-rpc.c changelog-barrier.c \
		changelog-rpc-common.c changelog-ev-handle.c
changelog_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
		      $(top_builddir)/rpc/xdr/src/libgfxdr.la \
		      $(top_builddir)/rpc/rpc-lib/src/libgfrpc.la

AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src \
	      -I$(top_srcdir)/rpc/xdr/src -I$(top_srcdir)/rpc/rpc-lib/src \
	      -I$(top_srcdir)/rpc/rpc-transport/socket/src \
	      -I$(top_srcdir)/xlators/features/changelog/lib/src/ \
	      -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D$(GF_HOST_OS) \
	      -DDATADIR=\"$(localstatedir)\"

AM_CFLAGS = -Wall $(GF_CFLAGS)

CLEANFILES =