preparing for release of alpha.1.0
[Samba.git] / examples / VFS / Makefile
blobc4c9479c7d39390207e47c46e806df07441c84de
2 # Makefile for samba-vfs examples
4 # $Id: Makefile,v 1.2 2000/02/04 05:08:16 tpot Exp $
7 # Variables
9 CC = gcc
10 LIBTOOL = libtool
12 SAMBA_SRC = ../../source/include
13 CFLAGS = -I$(SAMBA_SRC)
14 VFS_OBJS = audit.so skel.so
16 # Default target
18 default: $(VFS_OBJS)
20 # Pattern rules
22 %.so: %.lo
23 $(LIBTOOL) $(CC) -shared -o $@ $< $(LDFLAGS)
25 %.lo: %.c
26 $(LIBTOOL) $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
28 # Misc targets
30 clean:
31 rm -rf .libs
32 rm -f core $(VFS_OBJS) $(VFS_OBJS:.so=.lo) *~ *% *.bak