aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2011-06-11 15:41:08 +0200
committerMemphiz <memphis@machzwo.de>2011-06-11 15:43:09 +0200
commit28c4d78e91b13b569352d250c05e24a758529e36 (patch)
tree886780f23f0f8bda34548134b96ed2bf8aeeac3f /tools
parent9e1ad2896900233265f147d2a2f7b3fc19f86425 (diff)
[linux/osx/ios] Prepare dyloading libnfs
- added libnfs to configure.in search - added libnfs makefile for linux - added libnfs dyload wrapper
Diffstat (limited to 'tools')
-rw-r--r--tools/darwin/depends/libnfs/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/darwin/depends/libnfs/Makefile b/tools/darwin/depends/libnfs/Makefile
index c9a2bab13c..08392d3053 100644
--- a/tools/darwin/depends/libnfs/Makefile
+++ b/tools/darwin/depends/libnfs/Makefile
@@ -14,7 +14,8 @@ CONFIGURE=./configure --prefix=$(PREFIX) --without-examples
RPC_HEADERS=rpcinc/auth.h rpcinc/auth_unix.h rpcinc/clnt.h rpcinc/pmap_clnt.h rpcinc/pmap_prot.h rpcinc/pmap_rmt.h rpcinc/rpc.h rpcinc/rpc_msg.h rpcinc/svc.h rpcinc/svc_auth.h rpcinc/types.h rpcinc/xdr.h
-LIBDYLIB=$(SOURCE)/lib/libnfs.1.0.0.dylib
+DYLIBNAME=libnfs.1.0.0.dylib
+LIBDYLIB=$(SOURCE)/lib/$(DYLIBNAME)
CLEAN_FILES=$(ARCHIVE) $(SOURCE)
@@ -38,6 +39,7 @@ $(LIBDYLIB): $(SOURCE)
.installed:
make -C $(SOURCE) install
touch $@
+ ln -s $(PREFIX)/lib/$(DYLIBNAME) $(PREFIX)/lib/libnfs.dylib
clean:
make -C $(SOURCE) clean