5 LDSHFLAGS
= @LDSHFLAGS@
7 SAMBA_SOURCE
= @SAMBA_SOURCE@
10 FLAGS
= $(CFLAGS
) $(CPPFLAGS
) -fPIC \
11 -Iinclude
-I
$(SAMBA_SOURCE
)/include \
12 -I
$(SAMBA_SOURCE
)/include/autoconf \
13 -I
$(SAMBA_SOURCE
)/autoconf \
14 -I
$(SAMBA_SOURCE
)/..
/popt \
15 -I
$(SAMBA_SOURCE
)/..
/lib
/replace \
16 -I
$(SAMBA_SOURCE
)/..
/lib
/talloc \
17 -I
$(SAMBA_SOURCE
)/..
/lib
/tevent \
18 -I
$(SAMBA_SOURCE
)/..
/lib
/tdb
/include \
19 -I
$(SAMBA_SOURCE
)/librpc \
20 -I
$(SAMBA_SOURCE
)/..
/librpc \
21 -I
$(SAMBA_SOURCE
)/..
/ \
28 VFS_LIBDIR
= $(libdir)/vfs
30 # Change these targets to the names of your modules if building out of tree
31 MODULES
= skel_opaque.@SHLIBEXT@ shadow_copy_test.@SHLIBEXT@ \
32 skel_transparent.@SHLIBEXT@
38 .SUFFIXES
: .@SHLIBEXT@
42 @
$(CC
) $(LDSHFLAGS
) $(LDFLAGS
) $*.@OBJEXT@
-o
$*.@SHLIBEXT@
46 @
$(CC
) $(FLAGS
) -c
$< -D
$*_init
=samba_init_module
49 $(INSTALLCMD
) -d
$(VFS_LIBDIR
)
50 $(INSTALLCMD
) -m
755 *.
$(SHLIBEXT
) $(VFS_LIBDIR
)
55 rm -f core
*~
*% *.bak
*.o
*.
$(SHLIBEXT
)
58 rm -f config.status config.cache Makefile