5 LDSHFLAGS
= @LDSHFLAGS@
7 SAMBA_SOURCE
= @SAMBA_SOURCE@
10 FLAGS
= $(CFLAGS
) $(CPPFLAGS
) -fPIC \
11 -Iinclude
-I
$(SAMBA_SOURCE
)/include \
12 -I
$(SAMBA_SOURCE
)/..
/popt \
13 -I
$(SAMBA_SOURCE
)/..
/lib
/replace \
14 -I
$(SAMBA_SOURCE
)/..
/lib
/talloc \
15 -I
$(SAMBA_SOURCE
)/..
/lib
/tevent \
16 -I
$(SAMBA_SOURCE
)/..
/lib
/tdb
/include \
17 -I
$(SAMBA_SOURCE
)/librpc \
18 -I
$(SAMBA_SOURCE
)/..
/librpc \
19 -I
$(SAMBA_SOURCE
)/..
/ \
26 VFS_LIBDIR
= $(libdir)/vfs
29 default
: $(patsubst %.c
,%.
$(SHLIBEXT
),$(wildcard *.c
))
33 %.
$(SHLIBEXT
): %.
$(OBJEXT
)
35 @
$(CC
) $(LDSHFLAGS
) $(LDFLAGS
) -o
$@
$<
43 $(INSTALLCMD
) -d
$(VFS_LIBDIR
)
44 $(INSTALLCMD
) -m
755 *.
$(SHLIBEXT
) $(VFS_LIBDIR
)
49 rm -f core
*~
*% *.bak
*.o
*.
$(SHLIBEXT
)
52 rm -f config.status config.cache Makefile