Tizen 2.1 base
[framework/base/fuse.git] / lib / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 AM_CPPFLAGS = -I$(top_srcdir)/include -DFUSERMOUNT_DIR=\"$(bindir)\" \
4  -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DFUSE_USE_VERSION=26
5
6 lib_LTLIBRARIES = libfuse.la libulockmgr.la
7
8 if BSD
9 mount_source = mount_bsd.c
10 else
11 mount_source = mount.c mount_util.c mount_util.h
12 endif
13
14 if ICONV
15 iconv_source = modules/iconv.c
16 else
17 iconv_source =
18 endif
19
20 libfuse_la_SOURCES =            \
21         fuse.c                  \
22         fuse_i.h                \
23         fuse_kern_chan.c        \
24         fuse_loop.c             \
25         fuse_loop_mt.c          \
26         fuse_lowlevel.c         \
27         fuse_misc.h             \
28         fuse_mt.c               \
29         fuse_opt.c              \
30         fuse_session.c          \
31         fuse_signals.c          \
32         buffer.c                \
33         cuse_lowlevel.c         \
34         helper.c                \
35         modules/subdir.c        \
36         $(iconv_source)         \
37         $(mount_source)
38
39 libfuse_la_LDFLAGS = -pthread @libfuse_libs@ -version-number 2:9:2 \
40         -Wl,--version-script,$(srcdir)/fuse_versionscript
41
42 if NETBSD
43 libfuse_la_LIBADD = -lperfuse -lpuffs
44 endif
45
46 libulockmgr_la_SOURCES = ulockmgr.c
47 libulockmgr_la_LDFLAGS = -pthread -version-number 1:0:1
48
49 EXTRA_DIST = fuse_versionscript