2 # Makefile for samba-vfs examples
11 SAMBA_SRC
= ..
/..
/source
12 SAMBA_INCL
= ..
/..
/source
/include
13 UBIQX_SRC
= ..
/..
/source
/ubiqx
14 SMBWR_SRC
= ..
/..
/source
/smbwrapper
15 CFLAGS
= -I
$(SAMBA_SRC
) -I
$(SAMBA_INCL
) -I
$(UBIQX_SRC
) -I
$(SMBWR_SRC
) -Wall
-g
16 VFS_OBJS
= audit.so skel.so
25 $(LIBTOOL
) $(CC
) -shared
-o
$@
$< $(LDFLAGS
)
28 $(LIBTOOL
) $(CC
) $(CPPFLAGS
) $(CFLAGS
) -c
$<
34 rm -f core
*~
*% *.bak \
35 $(VFS_OBJS
) $(VFS_OBJS
:.so
=.o
) $(VFS_OBJS
:.so
=.lo
)