summaryrefslogtreecommitdiffstats
path: root/geo-replication/src/Makefile.am
blob: 6feeda8e68c21dc1b8940e1545b650f19840285b (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
29
30
31
32
33

gsyncddir = $(libexecdir)/glusterfs

gsyncd_SCRIPTS = gverify.sh peer_add_secret_pub peer_gsec_create

# peer_gsec_create is not added to EXTRA_DIST as it's derived
# from a .in file
EXTRA_DIST = gverify.sh peer_add_secret_pub

gsyncd_PROGRAMS = gsyncd

gsyncd_SOURCES = gsyncd.c procdiggy.c

gsyncd_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
	$(GF_GLUSTERFS_LIBS)

gsyncd_LDFLAGS = $(GF_LDFLAGS)

noinst_HEADERS = procdiggy.h

AM_CPPFLAGS = $(GF_CPPFLAGS) \
	-I$(top_srcdir)/libglusterfs/src\
	-DGSYNCD_PREFIX=\"$(libexecdir)/glusterfs\"\
	-DUSE_LIBGLUSTERFS\
	-DSBIN_DIR=\"$(sbindir)\" -DPYTHON=\"$(PYTHON)\"

AM_CFLAGS = -Wall $(GF_CFLAGS)


CLEANFILES =

$(top_builddir)/libglusterfs/src/libglusterfs.la:
	$(MAKE) -C $(top_builddir)/libglusterfs/src/ all