anchor.diff:  > gen_import_windows.go (
       echo.package mapnik
   	echo.
  -    echo.// #cgo LDFLAGS: c:/mapnik-v2.2.0/lib/mapnik_c_api.dll
  +    echo.// #cgo LDFLAGS: %MAPNIK_SDK_PATH%/lib/mapnik_c_api.dll
   	echo.import"C"
   	echo.
   	echo.const (
  
positive.code: 	echo.^)
  )
  
  if not exist mapnik_c_api.obj cl -c -nologo -Zm200 -Zc:wchar_t- -O2 %MAPNIK_CXXFLAGS% -W3 -w34100 -w34189 %MAPNIK_C_DEFINES% -I"c:\mapnik-v2.2.0\include" -I"c:\mapnik-v2.2.0\include\mapnik\agg" -I"." mapnik_c_api.cpp
  ::link /LIBPATH:%MAPNIK_LDFLAGS% %MAPNIK_LIBS% %MAPNIK_DEPLIBS% mapnik_c_api.obj /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /DLL /OUT:mapnik_c_api.dll 
  link /LIBPATH:%MAPNIK_LDFLAGS% %MAPNIK_LIBS%  mapnik_c_api.obj /DLL /OUT:mapnik_c_api.dll 
  
  del mapnik_c_api.obj  mapnik_c_api.cpp  mapnik_c_api.lib  mapnik_c_api.exp
  move /y mapnik_c_api.dll c:\mapnik-v2.2.0\lib
  
  go install 
  
  
negative.code: 
  call "%BUILDTOOLS32BIT%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
  
  echo.
  echo.Compiling C API to shared library
  echo.
  
  set MAPNIK_C_DEFINES=-DUNICODE -DWIN32
  
  set PATH=%PATH%;%MAPNIK_SDK_PATH%\bin
  
  for /f "delims=" %%i in ('mapnik-config --prefix') do set MAPNIK_PATH=%%i
  for /f "delims=" %%i in ('mapnik-config --cxxflags') do set MAPNIK_CXXFLAGS=%%i
  