preparing for release of 3.0-alpha11
[Samba.git] / examples / VFS / Makefile
blob581e1a06fb5e78e74c75aa5c50064beeb49a96e0
2 # Makefile for samba-vfs examples
4 # $Id: Makefile,v 1.4 2000/11/06 20:01:03 jra Exp $
7 # Variables
9 CC = gcc
10 LIBTOOL = libtool
12 SAMBA_SRC = ../../source
13 SAMBA_INCL = ../../source/include
14 UBIQX_SRC = ../../source/ubiqx
15 SMBWR_SRC = ../../source/smbwrapper
16 CFLAGS = -I$(SAMBA_SRC) -I$(SAMBA_INCL) -I$(UBIQX_SRC) -I$(SMBWR_SRC) -Wall -g
17 VFS_OBJS = audit.so skel.so
19 # Default target
21 default: $(VFS_OBJS)
23 # Pattern rules
25 %.so: %.lo
26 $(LIBTOOL) $(CC) -shared -o $@ $< $(LDFLAGS)
28 %.lo: %.c
29 $(LIBTOOL) $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
31 # Misc targets
33 clean:
34 rm -rf .libs
35 rm -f core *~ *% *.bak \
36 $(VFS_OBJS) $(VFS_OBJS:.so=.o) $(VFS_OBJS:.so=.lo)