diff options
author | Volker Lendecke <vl@samba.org> | 2012-03-02 20:02:35 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-03-03 00:53:40 +0100 |
commit | bc6803febb90d8a22271b5976403cf3e1c36192b (patch) | |
tree | 8a042216a31b3d2dfd6844709ebcdc7bb15ca589 /examples | |
parent | b1cedbbeea14e67cbce32d6ab152c6c5413ba7d8 (diff) | |
download | samba-bc6803febb90d8a22271b5976403cf3e1c36192b.tar.gz |
examples: Make examples/VFS/Makefile.in FreeBSD-friendly
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Sat Mar 3 00:53:43 CET 2012 on sn-devel-104
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/Makefile.in | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/examples/VFS/Makefile.in b/examples/VFS/Makefile.in index 9591186b3e..bbb66be83b 100644 --- a/examples/VFS/Makefile.in +++ b/examples/VFS/Makefile.in @@ -26,16 +26,24 @@ libdir = @libdir@ VFS_LIBDIR = $(libdir)/vfs -# Auto target -default: $(patsubst %.c,%.$(SHLIBEXT),$(wildcard *.c)) +all: skel_opaque.@SHLIBEXT@ shadow_copy_test.@SHLIBEXT@ \ + skel_transparent.@SHLIBEXT@ -# Pattern rules +skel_opaque.@SHLIBEXT@: skel_opaque.@OBJEXT@ + @echo "Linking $@" + @$(CC) $(LDSHFLAGS) $(LDFLAGS) skel_opaque.@OBJEXT@ -o $@ + +shadow_copy_test.@SHLIBEXT@: shadow_copy_test.@OBJEXT@ + @echo "Linking $@" + @$(CC) $(LDSHFLAGS) $(LDFLAGS) shadow_copy_test.@OBJEXT@ -o $@ -%.$(SHLIBEXT): %.$(OBJEXT) +skel_transparent.@SHLIBEXT@: skel_transparent.@OBJEXT@ @echo "Linking $@" - @$(CC) $(LDSHFLAGS) $(LDFLAGS) -o $@ $< + @$(CC) $(LDSHFLAGS) $(LDFLAGS) skel_transparent.@OBJEXT@ -o $@ + +# Pattern rules -%.$(OBJEXT): %.c +.c.@OBJEXT@: @echo "Compiling $<" @$(CC) $(FLAGS) -c $< |