summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/src/Makefile.am
blob: 58e33a4e1167b1e44955a3827609e653848583fd (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
noinst_HEADERS = $(CONTRIBDIR)/fuse-include/fuse_kernel.h\
	$(CONTRIBDIR)/fuse-include/fuse-mount.h\
	$(CONTRIBDIR)/fuse-include/fuse-misc.h fuse-mem-types.h

xlator_LTLIBRARIES = fuse.la
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/mount

if GF_DARWIN_HOST_OS
    mount_source=$(CONTRIBDIR)/macfuse/mount_darwin.c
else
    mount_source=$(CONTRIBDIR)/fuse-lib/mount.c
endif

fuse_la_SOURCES = fuse-bridge.c $(CONTRIBDIR)/fuse-lib/misc.c \
	$(mount_source)
fuse_la_LDFLAGS = -module -avoidversion -shared -nostartfiles

AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D$(GF_HOST_OS) -Wall \
	-I$(top_srcdir)/libglusterfs/src -I$(CONTRIBDIR)/fuse-include \
	-I$(top_srcdir)/glusterfsd/src $(GF_CFLAGS) $(GF_FUSE_CFLAGS)


CLEANFILES =