From 64222fbcbd3ed227e4f9c68e1acccd7e68218982 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 27 Aug 2010 17:16:54 +0200 Subject: 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 --- lib/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/Makefile.am') 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 -- cgit v1.2.3