VERSION = 1.16.0
RWINLIB = ../windows/cairo-${VERSION}

PKG_CPPFLAGS = -I${RWINLIB}/include/cairo -I${RWINLIB}/include \
	-I${RWINLIB}/include/freetype2 -I../inst/include

PKG_LIBS = -L${RWINLIB}/lib${R_ARCH} -lcairo -lfreetype -lpng -lpixman-1 \
  -lharfbuzz -lbz2 -lz -liconv -lgdi32

all: winlibs

winlibs:
	"${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" "../tools/winlibs.R" ${VERSION}
