import os ; local ANDROIDNDK = [ os.environ ANDROIDNDK ] ; local ANDROIDAPI = [ os.environ ANDROIDAPI ] ; local TOOLCHAIN_VERSION = [ os.environ TOOLCHAIN_VERSION ] ; local TOOLCHAIN_PREFIX = [ os.environ TOOLCHAIN_PREFIX ] ; local ARCH = [ os.environ ARCH ] ; local PYTHON_ROOT = [ os.environ PYTHON_ROOT ] ; using gcc : $(ARCH) : $(TOOLCHAIN_PREFIX)-g++ : $(ARCH) $(TOOLCHAIN_PREFIX)-ar -DBOOST_SP_USE_PTHREADS -DBOOST_AC_USE_PTHREADS -DBOOST_SP_USE_PTHREADS -DBOOST_AC_USE_PTHREADS -frtti -fexceptions -I$(ANDROIDNDK)/platforms/android-$(ANDROIDAPI)/arch-$(ARCH)/usr/include -I$(ANDROIDNDK)/sources/cxx-stl/gnu-libstdc++/$(TOOLCHAIN_VERSION)/include -I$(ANDROIDNDK)/sources/cxx-stl/gnu-libstdc++/$(TOOLCHAIN_VERSION)/libs/$(ARCH)/include -I$(PYTHON_ROOT)/include/python2.7 --sysroot=$(ANDROIDNDK)/platforms/android-$(ANDROIDAPI)/arch-$(ARCH) -L$(ANDROIDNDK)/sources/cxx-stl/gnu-libstdc++/$(TOOLCHAIN_VERSION)/libs/$(ARCH) -L$(PYTHON_ROOT)/lib -lgnustl_shared -lpython2.7 ;