diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-04-28 00:52:02 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-04-28 00:52:02 +0000 |
commit | ff09ef629a8f5c24c85a45d54c0fe32c2b1dc055 (patch) | |
tree | 99f07bd34794a59967075416a20c1a4c788d5ab6 /examples/VFS/Makefile | |
parent | 45ffe8c8165bbfb3c51949e156d6fdb04c6f281e (diff) | |
download | samba-ff09ef629a8f5c24c85a45d54c0fe32c2b1dc055.tar.gz samba-ff09ef629a8f5c24c85a45d54c0fe32c2b1dc055.tar.bz2 samba-ff09ef629a8f5c24c85a45d54c0fe32c2b1dc055.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 0d322968cbf445df79153c0abc0d041edcf223ee)
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 |