If I replace the BUILD_ACTION=$(COMPATH)$/vcpackages$/vcbuild.exe /useenv lcms2_DLL.vcproj "Release|Win32"
in lcms2/makefile.mk temporarily with BUILD_ACTION=env|sort and do make lcms2.clean; make lcms, I then see that when vcbuild is run, the environment contains: INCLUDE=.;.;C:/ooo/git/master/core/solver/wntmsci12/inc/external;C:/ooo/git/master/core/solver/wntmsci12/inc;C:/ooo/git/master/core/solenv/inc ;C:/PROGRA~2/Java/JDK16~2.0_2/include/win32;C:/PROGRA~2/Java/JDK16~2.0_2/include;C:/PROGRA~1/MICROS~1/Windows/v7.1/include;C:/opt/MSVS9/VC/include;C:/PROGRA~2/MICROS~1/DirectX/JUNE20~1/include and LIB=./wntmsci12/lib;./wntmsci12/slb;.;C:/ooo/git/master/core/solver/wntmsci12/lib;C:/PROGRA~2/Java/JDK16~2.0_2/lib;C:/opt/MSVS9/VC/lib;C:/PROGRA~1/MICROS~1/Windows/v7.1/lib;C:/PROGRA~1/MICROS~1/Windows/v7.1/lib;C:/PROGRA~2/MICROS~1/DirectX/JUNE20~1/lib/x86 I see that solenv/inc/target.mk sets INCLUDE, and settings.mk sets LIB. target.mk exports both. --tml _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice