r19852: Fix the build for the VFS examples. Fixes bugzilla #3931.
[sfrench/samba-autobuild/.git] / examples / VFS / Makefile.in
index caf8f030aa48163bc132df0fe84d6f01b2fc54a4..4c0f119dcde01bdf8ef1febb14bcbaec7f3327ac 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)/popt -I$(SAMBA_SOURCE)/smbwrapper  -I. $(CPPFLAGS) -I$(SAMBA_SOURCE) -fPIC
+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)/tdb/include  \
+               -I$(SAMBA_SOURCE)/smbwrapper \
+               -I$(SAMBA_SOURCE)/librpc \
+               -I$(SAMBA_SOURCE) -I.
 
 
 prefix         = @prefix@