[SCM] Samba Shared Repository - branch master updated

Richard Sharpe sharpe at samba.org
Mon Apr 16 11:52:03 MDT 2012


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 <realrichardsharpe at gmail.com>
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 <sharpe at samba.org>
    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. at SHLIBEXT@ shadow_copy_test. at SHLIBEXT@ \
-	skel_transparent. at SHLIBEXT@
+# Change these targets to the names of your modules if building out of tree
+MODULES		= skel_opaque. at SHLIBEXT@ shadow_copy_test. at SHLIBEXT@ \
+		skel_transparent. at SHLIBEXT@
 
-skel_opaque. at SHLIBEXT@: skel_opaque. at OBJEXT@
-	@echo "Linking $@"
-	@$(CC) $(LDSHFLAGS) $(LDFLAGS) skel_opaque. at OBJEXT@ -o $@
+all: $(MODULES)
 
-shadow_copy_test. at SHLIBEXT@: shadow_copy_test. at OBJEXT@
-	@echo "Linking $@"
-	@$(CC) $(LDSHFLAGS) $(LDFLAGS) shadow_copy_test. at OBJEXT@ -o $@
+# Pattern rules
 
-skel_transparent. at SHLIBEXT@: skel_transparent. at OBJEXT@
-	@echo "Linking $@"
-	@$(CC) $(LDSHFLAGS) $(LDFLAGS) skel_transparent. at OBJEXT@ -o $@
+.SUFFIXES: . at SHLIBEXT@
 
-# Pattern rules
+. at OBJEXT@. at SHLIBEXT@:
+	@echo "Linking $<"
+	@$(CC) $(LDSHFLAGS) $(LDFLAGS) $*. at OBJEXT@ -o $*. at SHLIBEXT@
 
 .c. at 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


More information about the samba-cvs mailing list