aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Makefile.am
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2010-08-27 17:16:54 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2010-08-27 17:16:54 +0200
commit64222fbcbd3ed227e4f9c68e1acccd7e68218982 (patch)
tree7fd0ce19a909ee39f741e50732f1f97cffe21f22 /lib/Makefile.am
parent7cc73a47ddbc25666f0fba1872099eb3245ba25e (diff)
downloadlibfuse-64222fbcbd3ed227e4f9c68e1acccd7e68218982.tar.gz
Add NetBSD support
The bulk of it is just about adding ifdef __NetBSD__ where there is already an ifdef __FreeBSD__ Add a arch=netbsd to deal with NetBSD specifics. I suggests that arch=bsd could be renamed to arch=freebsd NetBSD specific linking with -lperfuse NetBSD patches to lib/mount.c. It turned to be less itrusive to patch mount;c than mount_bsd.c. I suggest mount_bsd.c could be renamed to mount_freebsd.c Patch from Emmanuel Dreyfus
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r--lib/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 22075b2..fe011cb 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -39,6 +39,10 @@ libfuse_la_SOURCES = \
libfuse_la_LDFLAGS = @libfuse_libs@ -version-number 2:8:4 \
-Wl,--version-script,$(srcdir)/fuse_versionscript
+if NETBSD
+libfuse_la_LIBADD = -lperfuse -lpuffs
+endif
+
libulockmgr_la_SOURCES = ulockmgr.c
libulockmgr_la_LDFLAGS = -pthread -version-number 1:0:1