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
/tdb
/include \
16 -I
$(SAMBA_SOURCE
)/smbwrapper \
17 -I
$(SAMBA_SOURCE
)/librpc \
24 VFS_LIBDIR
= $(libdir)/vfs
27 default
: $(patsubst %.c
,%.
$(SHLIBEXT
),$(wildcard *.c
))
31 %.
$(SHLIBEXT
): %.
$(OBJEXT
)
33 @
$(CC
) $(LDSHFLAGS
) $(LDFLAGS
) -o
$@
$<
41 $(INSTALLCMD
) -d
$(VFS_LIBDIR
)
42 $(INSTALLCMD
) -m
755 *.
$(SHLIBEXT
) $(VFS_LIBDIR
)
47 rm -f core
*~
*% *.bak
*.o
*.
$(SHLIBEXT
)
50 rm -f config.status config.cache Makefile