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
)/..
/popt \
14 -I
$(SAMBA_SOURCE
)/..
/lib
/replace \
15 -I
$(SAMBA_SOURCE
)/..
/lib
/talloc \
16 -I
$(SAMBA_SOURCE
)/..
/lib
/tevent \
17 -I
$(SAMBA_SOURCE
)/..
/lib
/tdb
/include \
18 -I
$(SAMBA_SOURCE
)/librpc \
19 -I
$(SAMBA_SOURCE
)/..
/librpc \
20 -I
$(SAMBA_SOURCE
)/..
/ \
27 VFS_LIBDIR
= $(libdir)/vfs
30 default
: $(patsubst %.c
,%.
$(SHLIBEXT
),$(wildcard *.c
))
34 %.
$(SHLIBEXT
): %.
$(OBJEXT
)
36 @
$(CC
) $(LDSHFLAGS
) $(LDFLAGS
) -o
$@
$<
44 $(INSTALLCMD
) -d
$(VFS_LIBDIR
)
45 $(INSTALLCMD
) -m
755 *.
$(SHLIBEXT
) $(VFS_LIBDIR
)
50 rm -f core
*~
*% *.bak
*.o
*.
$(SHLIBEXT
)
53 rm -f config.status config.cache Makefile