diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-04-28 00:49:49 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-04-28 00:49:49 +0000 |
commit | 1c34cd359a9977ede758079d1989a49f00f39a67 (patch) | |
tree | 4258bd60ef0a06f3bfac675d7415cdf645ce3269 /examples/VFS/Makefile | |
parent | ed12657e772d78e65dc34236de3d866067b5f1f6 (diff) | |
download | samba-1c34cd359a9977ede758079d1989a49f00f39a67.tar.gz samba-1c34cd359a9977ede758079d1989a49f00f39a67.tar.bz2 samba-1c34cd359a9977ede758079d1989a49f00f39a67.zip |
Update for the new modules system. Also, use Makefile rather then Makefile.in
because we don't generate Makefile from configure anymore.
(This used to be commit 29ba1e163f85aeaa3cd48a13e4f0a039fa80e7b0)
Diffstat (limited to 'examples/VFS/Makefile')
-rw-r--r-- | examples/VFS/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/VFS/Makefile b/examples/VFS/Makefile new file mode 100644 index 0000000000..ac5a93b49b --- /dev/null +++ b/examples/VFS/Makefile @@ -0,0 +1,23 @@ +CFLAGS = +CPPFLAGS = +LDFLAGS = +LDSHFLAGS = -shared +srcdir = ../../source/ +FLAGS = $(CFLAGS) -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper -I. $(CPPFLAGS) -I$(srcdir) + +# Auto target +default: $(patsubst %.c,%.so,$(wildcard *.c)) + +# Pattern rules + +%.so: %.o + $(CC) $(LDSHFLAGS) $(LDFLAGS) -o $@ $< + +%.o: %.c + $(CC) $(FLAGS) -c $< + +# Misc targets + +clean: + rm -rf .libs + rm -f core *~ *% *.bak *.o *.so |