The branch, master has been updated
via 2730eda Improve the VFS Makefile so that it is easier for use out
of tree but still works with FreeBSD.
from 1e949f3 provision: Simplify handling of default for --server-role.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 2730eda640d77d22db08f090f1cd1a734645a496
Author: Richard Sharpe <[email protected]>
Date: Mon Apr 16 05:00:08 2012 -0700
Improve the VFS Makefile so that it is easier for use out of tree but still
works with FreeBSD.
Autobuild-User: Richard Sharpe <[email protected]>
Autobuild-Date: Mon Apr 16 19:51:14 CEST 2012 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
examples/VFS/Makefile.in | 22 +++++++++-------------
1 files changed, 9 insertions(+), 13 deletions(-)
Changeset truncated at 500 lines:
diff --git a/examples/VFS/Makefile.in b/examples/VFS/Makefile.in
index f9b81eb..fab5611 100644
--- a/examples/VFS/Makefile.in
+++ b/examples/VFS/Makefile.in
@@ -26,28 +26,24 @@ libdir = @libdir@
VFS_LIBDIR = $(libdir)/vfs
-all: skel_opaque.@SHLIBEXT@ shadow_copy_test.@SHLIBEXT@ \
- skel_transparent.@SHLIBEXT@
+# Change these targets to the names of your modules if building out of tree
+MODULES = skel_opaque.@SHLIBEXT@ shadow_copy_test.@SHLIBEXT@ \
+ skel_transparent.@SHLIBEXT@
-skel_opaque.@SHLIBEXT@: skel_opaque.@OBJEXT@
- @echo "Linking $@"
- @$(CC) $(LDSHFLAGS) $(LDFLAGS) skel_opaque.@OBJEXT@ -o $@
+all: $(MODULES)
-shadow_copy_test.@SHLIBEXT@: shadow_copy_test.@OBJEXT@
- @echo "Linking $@"
- @$(CC) $(LDSHFLAGS) $(LDFLAGS) shadow_copy_test.@OBJEXT@ -o $@
+# Pattern rules
-skel_transparent.@SHLIBEXT@: skel_transparent.@OBJEXT@
- @echo "Linking $@"
- @$(CC) $(LDSHFLAGS) $(LDFLAGS) skel_transparent.@OBJEXT@ -o $@
+.SUFFIXES: .@SHLIBEXT@
-# Pattern rules
+.@OBJEXT@.@SHLIBEXT@:
+ @echo "Linking $<"
+ @$(CC) $(LDSHFLAGS) $(LDFLAGS) $*.@OBJEXT@ -o $*.@SHLIBEXT@
.c.@OBJEXT@:
@echo "Compiling $<"
@$(CC) $(FLAGS) -c $< -D$*_init=samba_init_module
-
install: default
$(INSTALLCMD) -d $(VFS_LIBDIR)
$(INSTALLCMD) -m 755 *.$(SHLIBEXT) $(VFS_LIBDIR)
--
Samba Shared Repository