r22341: Fix build of examples/VFS: adapt include for new place of tdb...
[sfrench/samba-autobuild/.git] / examples / VFS / Makefile.in
index c368974bd5e616dbd6c7d5677cbd5efac404b576..4de0efd29e856ba5489ba6450033ce3ec793cb24 100644 (file)
@@ -7,7 +7,15 @@ INSTALLCMD     = @INSTALL@
 SAMBA_SOURCE   = @SAMBA_SOURCE@
 SHLIBEXT       = @SHLIBEXT@
 OBJEXT         = @OBJEXT@ 
-FLAGS          =  $(CFLAGS) -Iinclude -I$(SAMBA_SOURCE)/include -I$(SAMBA_SOURCE)/ubiqx -I$(SAMBA_SOURCE)/smbwrapper  -I. $(CPPFLAGS) -I$(SAMBA_SOURCE)
+FLAGS          =  $(CFLAGS) $(CPPFLAGS) -fPIC \
+               -Iinclude -I$(SAMBA_SOURCE)/include \
+               -I$(SAMBA_SOURCE)/popt  \
+               -I$(SAMBA_SOURCE)/lib/replace  \
+               -I$(SAMBA_SOURCE)/lib/talloc  \
+               -I$(SAMBA_SOURCE)/lib/tdb/include  \
+               -I$(SAMBA_SOURCE)/smbwrapper \
+               -I$(SAMBA_SOURCE)/librpc \
+               -I$(SAMBA_SOURCE) -I.
 
 
 prefix         = @prefix@
@@ -39,5 +47,5 @@ clean:
        rm -f core *~ *% *.bak *.o *.$(SHLIBEXT)
 
 distclean: clean
-       rm config.* Makefile
+       rm -f config.status config.cache Makefile