summaryrefslogtreecommitdiff
path: root/examples/VFS/Makefile.in
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-07-16 05:42:34 +0000
committerGerald Carter <jerry@samba.org>2003-07-16 05:42:34 +0000
commit1caa6b23e417f77e7b38ecdfa47d9abe8c7b7d0e (patch)
tree8bdf608593fc37227886691b0a12190dd1e8ba66 /examples/VFS/Makefile.in
parent4a090ba06a54f5da179ac02bb307cc03d08831bf (diff)
downloadsamba-1caa6b23e417f77e7b38ecdfa47d9abe8c7b7d0e.tar.gz
samba-1caa6b23e417f77e7b38ecdfa47d9abe8c7b7d0e.tar.bz2
samba-1caa6b23e417f77e7b38ecdfa47d9abe8c7b7d0e.zip
ading new files from 3.0
(This used to be commit 99feae7b5b1c229a925367b87c0c0f636d9a2d75)
Diffstat (limited to 'examples/VFS/Makefile.in')
-rw-r--r--examples/VFS/Makefile.in43
1 files changed, 43 insertions, 0 deletions
diff --git a/examples/VFS/Makefile.in b/examples/VFS/Makefile.in
new file mode 100644
index 0000000000..c368974bd5
--- /dev/null
+++ b/examples/VFS/Makefile.in
@@ -0,0 +1,43 @@
+CC = @CC@
+CFLAGS = @CFLAGS@
+CPPFLAGS = @CPPFLAGS@
+LDFLAGS = @LDFLAGS@
+LDSHFLAGS = @LDSHFLAGS@
+INSTALLCMD = @INSTALL@
+SAMBA_SOURCE = @SAMBA_SOURCE@
+SHLIBEXT = @SHLIBEXT@
+OBJEXT = @OBJEXT@
+FLAGS = $(CFLAGS) -Iinclude -I$(SAMBA_SOURCE)/include -I$(SAMBA_SOURCE)/ubiqx -I$(SAMBA_SOURCE)/smbwrapper -I. $(CPPFLAGS) -I$(SAMBA_SOURCE)
+
+
+prefix = @prefix@
+libdir = @libdir@
+
+VFS_LIBDIR = $(libdir)/vfs
+
+# Auto target
+default: $(patsubst %.c,%.$(SHLIBEXT),$(wildcard *.c))
+
+# Pattern rules
+
+%.$(SHLIBEXT): %.$(OBJEXT)
+ @echo "Linking $@"
+ @$(CC) $(LDSHFLAGS) $(LDFLAGS) -o $@ $<
+
+%.$(OBJEXT): %.c
+ @echo "Compiling $<"
+ @$(CC) $(FLAGS) -c $<
+
+
+install: default
+ $(INSTALLCMD) -d $(VFS_LIBDIR)
+ $(INSTALLCMD) -m 755 *.$(SHLIBEXT) $(VFS_LIBDIR)
+
+# Misc targets
+clean:
+ rm -rf .libs
+ rm -f core *~ *% *.bak *.o *.$(SHLIBEXT)
+
+distclean: clean
+ rm config.* Makefile
+