PDA

View Full Version : GLES 2.0 android.mk, Quake3Map example compare



feelthat
06-08-2013, 04:51 PM
For help someone need build GLES 2.0 in proton 3d, if done please let me know

Android GLES 2.0 source from https://github.com/reizencroft/irrAndroid

1. android.mk in proton

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := rt3dapp
SHARED := ../../../shared
APP := ../../source
LOCAL_ARM_MODE := arm

COMPPATH := ../../../shared/Entity
CLANMATH := $(SHARED)/ClanLib-2.0/Sources/Core/Math
ZLIBPATH := $(SHARED)/util/zlib
IRRSRC := $(SHARED)/Irrlicht/source/Irrlicht
IRRMESH := $(IRRSRC)
IRRPARTICLE := $(IRRSRC)
IRRSCENE := $(IRRSRC)
PNGSRC := $(SHARED)/Irrlicht/source/Irrlicht/libpng
JPGSRC := $(SHARED)/Irrlicht/source/Irrlicht/jpeglib
LZMASRC := $(SHARED)/Irrlicht/source/Irrlicht/lzma
PPATH := ../../../shared/Renderer/linearparticle/sources

#LOCAL_CPP_FEATURES += exceptions
LOCAL_CPP_FEATURES += rtti

#release flags
#LOCAL_CFLAGS := -DANDROID_NDK -DBUILD_ANDROID -DGC_BUILD_ANDROID -DNDEBUG -D_IRR_STATIC_LIB_
#LOCAL_CPPFLAGS := -DGC_BUILD_C -DANDROID_NDK -DBUILD_ANDROID -DNDEBUG -D_IRR_STATIC_LIB_

#debug flags
LOCAL_CFLAGS := -DANDROID_NDK -DBUILD_ANDROID -DGC_BUILD_ANDROID -D_DEBUG -D_IRR_STATIC_LIB_
LOCAL_CPPFLAGS := -DGC_BUILD_C -DANDROID_NDK -DBUILD_ANDROID -D_DEBUG -D_IRR_STATIC_LIB_

LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SHARED) $(LOCAL_PATH)/$(SHARED)/Irrlicht/include \
$(LOCAL_PATH)/$(APP) $(LOCAL_PATH)/$(SHARED)/ClanLib-2.0/Sources $(LOCAL_PATH)/$(SHARED)/util/boost


LOCAL_SRC_FILES := \
$(SHARED)/PlatformSetup.cpp $(SHARED)/android/AndroidUtils.cpp ../temp_final_cpp_src/AndroidApp.cpp $(SHARED)/Audio/AudioManager.cpp $(SHARED)/Audio/AudioManagerAndroid.cpp\
$(CLANMATH)/angle.cpp $(CLANMATH)/mat3.cpp $(CLANMATH)/mat4.cpp $(CLANMATH)/rect.cpp $(CLANMATH)/vec2.cpp $(CLANMATH)/vec3.cpp $(CLANMATH)/vec4.cpp \
$(SHARED)/Entity/Entity.cpp $(SHARED)/Entity/Component.cpp $(SHARED)/GUI/RTFont.cpp $(SHARED)/Manager/Console.cpp \
$(SHARED)/Manager/GameTimer.cpp $(SHARED)/Manager/MessageManager.cpp $(SHARED)/Manager/ResourceManager.cpp $(SHARED)/Manager/VariantDB.cpp $(SHARED)/Math/rtPlane.cpp \
$(SHARED)/Math/rtRect.cpp $(SHARED)/Renderer/RenderBatcher.cpp $(SHARED)/Renderer/SoftSurface.cpp $(SHARED)/Renderer/Surface.cpp $(SHARED)/Renderer/SurfaceAnim.cpp \
$(SHARED)/util/CRandom.cpp $(SHARED)/util/GLESUtils.cpp $(SHARED)/util/MathUtils.cpp $(SHARED)/util/MiscUtils.cpp $(SHARED)/util/RenderUtils.cpp $(SHARED)/util/ResourceUtils.cpp \
$(SHARED)/util/Variant.cpp $(SHARED)/util/boost/libs/signals/src/connection.cpp $(SHARED)/util/boost/libs/signals/src/named_slot_map.cpp $(SHARED)/util/boost/libs/signals/src/signal_base.cpp \
$(SHARED)/util/boost/libs/signals/src/slot.cpp $(SHARED)/util/boost/libs/signals/src/trackable.cpp $(SHARED)/BaseApp.cpp \
$(SHARED)/util/unzip/unzip.c $(SHARED)/util/unzip/ioapi.c $(SHARED)/util/TextScanner.cpp $(SHARED)/Entity/EntityUtils.cpp \
$(SHARED)/Network/NetHTTP.cpp $(SHARED)/Network/NetSocket.cpp $(SHARED)/Network/NetUtils.cpp $(SHARED)/Audio/AudioManagerSDL.cpp $(SHARED)/FileSystem/StreamingInstance.cpp \
$(SHARED)/FileSystem/StreamingInstanceZip.cpp $(SHARED)/FileSystem/StreamingInstanceFile.cpp $(SHARED)/FileSystem/FileSystem.cpp $(SHARED)/FileSystem/FileSystemZip.cpp \
$(SHARED)/FileSystem/FileManager.cpp \
\
\
$(COMPPATH)/Button2DComponent.cpp $(COMPPATH)/FilterInputComponent.cpp $(COMPPATH)/FocusInputComponent.cpp $(COMPPATH)/FocusRenderComponent.cpp $(COMPPATH)/FocusUpdateComponent.cpp \
$(COMPPATH)/HTTPComponent.cpp $(COMPPATH)/InputTextRenderComponent.cpp $(COMPPATH)/InterpolateComponent.cpp $(COMPPATH)/OverlayRenderComponent.cpp $(COMPPATH)/ProgressBarComponent.cpp \
$(COMPPATH)/RectRenderComponent.cpp $(COMPPATH)/ScrollBarRenderComponent.cpp $(COMPPATH)/ScrollComponent.cpp $(COMPPATH)/TapSequenceDetectComponent.cpp $(COMPPATH)/TextBoxRenderComponent.cpp \
$(COMPPATH)/TextRenderComponent.cpp $(COMPPATH)/TouchStripComponent.cpp $(COMPPATH)/TrailRenderComponent.cpp $(COMPPATH)/TyperComponent.cpp $(COMPPATH)/UnderlineRenderComponent.cpp \
$(COMPPATH)/TouchHandlerComponent.cpp $(COMPPATH)/SelectButtonWithCustomInputComponent.cpp $(COMPPATH)/CustomInputComponent.cpp $(COMPPATH)/SliderComponent.cpp \
$(COMPPATH)/EmitVirtualKeyComponent.cpp $(COMPPATH)/RenderScissorComponent.cpp \
\
\
$(SHARED)/Irrlicht/IrrlichtManager.cpp
$(IRRSRC)/CAttributes.cpp \
$(IRRSRC)/CBoneSceneNode.cpp \
$(IRRSRC)/CColorConverter.cpp \
$(IRRSRC)/CDefaultSceneNodeAnimatorFactory.cpp \
$(IRRSRC)/CDefaultSceneNodeFactory.cpp \
$(IRRSRC)/CDepthBuffer.cpp \
$(IRRSRC)/CDummyTransformationSceneNode.cpp \
$(IRRSRC)/CEmptySceneNode.cpp \
$(IRRSRC)/CFPSCounter.cpp \
$(IRRSRC)/CGeometryCreator.cpp \
$(IRRSRC)/CLightSceneNode.cpp \
$(IRRSRC)/CLogger.cpp \
$(IRRSRC)/CMemoryFile.cpp \
$(IRRSRC)/CMeshCache.cpp \
$(IRRSRC)/CMeshManipulator.cpp \
$(IRRSRC)/CMeshSceneNode.cpp \
$(IRRSRC)/COCTLoader.cpp \
$(IRRSRC)/COctreeSceneNode.cpp \
$(IRRSRC)/CSkinnedMesh.cpp \
$(IRRSRC)/CTextSceneNode.cpp \
$(IRRSRC)/CTriangleBBSelector.cpp \
$(IRRSRC)/CTriangleSelector.cpp \
$(IRRSRC)/COctreeTriangleSelector.cpp \
$(IRRSRC)/CVideoModeList.cpp \
$(IRRSRC)/CVolumeLightSceneNode.cpp \
$(IRRSRC)/CWaterSurfaceSceneNode.cpp \
$(IRRSRC)/Irrlicht.cpp \
$(IRRSRC)/irrXML.cpp \
$(IRRSRC)/os.cpp \
$(IRRSRC)/CMetaTriangleSelector.cpp \
$(IRRSRC)/CCameraSceneNode.cpp \
$(IRRSRC)/CSceneNodeAnimatorCameraFPS.cpp \
$(IRRSRC)/CIrrDeviceIPhone.cpp \
$(IRRSRC)/CIrrDeviceStub.cpp \
$(IRRSRC)/CFileList.cpp \
$(IRRSRC)/CFileSystem.cpp \
$(IRRSRC)/CLimitReadFile.cpp \
$(IRRSRC)/CMountPointReader.cpp \
$(IRRSRC)/COSOperator.cpp \
$(IRRSRC)/CPakReader.cpp \
$(IRRSRC)/CReadFile.cpp \
$(IRRSRC)/CWriteFile.cpp \
$(IRRSRC)/CXMLReader.cpp \
$(IRRSRC)/CXMLWriter.cpp \
$(IRRSRC)/CZBuffer.cpp \
$(IRRSRC)/CZipReader.cpp \
$(IRRSRC)/CImage.cpp \
$(IRRSRC)/CImageLoaderBMP.cpp \
$(IRRSRC)/CImageLoaderJPG.cpp \
$(IRRSRC)/CImageLoaderPNG.cpp \
$(IRRSRC)/CImageLoaderRGB.cpp \
$(IRRSRC)/CImageLoaderTGA.cpp \
$(IRRSRC)/CImageLoaderRTTEX.cpp \\
$(IRRSRC)/CProtonReader.cpp \\
\
$(IRRMESH)/C3DSMeshFileLoader.cpp \
$(IRRMESH)/CAnimatedMeshMD2.cpp \
$(IRRMESH)/CAnimatedMeshMD3.cpp \
$(IRRMESH)/CB3DMeshFileLoader.cpp \
$(IRRMESH)/CBSPMeshFileLoader.cpp \
$(IRRMESH)/CColladaFileLoader.cpp \
$(IRRMESH)/CCSMLoader.cpp \
$(IRRMESH)/CMD2MeshFileLoader.cpp \
$(IRRMESH)/CMD3MeshFileLoader.cpp \
$(IRRMESH)/CMS3DMeshFileLoader.cpp \
$(IRRMESH)/CMY3DMeshFileLoader.cpp \
$(IRRMESH)/COBJMeshFileLoader.cpp \
$(IRRMESH)/CQ3LevelMesh.cpp \
$(IRRMESH)/CQuake3ShaderSceneNode.cpp \
$(IRRMESH)/CXMeshFileLoader.cpp \
$(IRRMESH)/CParticleAnimatedMeshSceneNodeEmitter.cpp \
$(IRRMESH)/CParticleAttractionAffector.cpp \
$(IRRMESH)/CParticleBoxEmitter.cpp \
$(IRRMESH)/CParticleCylinderEmitter.cpp \
$(IRRMESH)/CParticleFadeOutAffector.cpp \
$(IRRMESH)/CParticleGravityAffector.cpp \
$(IRRMESH)/CParticleMeshEmitter.cpp \
$(IRRMESH)/CParticlePointEmitter.cpp \
$(IRRMESH)/CParticleRingEmitter.cpp \
$(IRRMESH)/CParticleRotationAffector.cpp \
$(IRRMESH)/CParticleScaleAffector.cpp \
$(IRRMESH)/CParticleSphereEmitter.cpp \
$(IRRMESH)/CParticleSystemSceneNode.cpp \
\
$(IRRSCENE)/CAnimatedMeshSceneNode.cpp \
$(IRRSCENE)/CBillboardSceneNode.cpp \
$(IRRSCENE)/CCubeSceneNode.cpp \
$(IRRSCENE)/CSceneCollisionManager.cpp \
$(IRRSCENE)/CSceneManager.cpp \
$(IRRSCENE)/CSceneNodeAnimatorCameraMaya.cpp \
$(IRRSCENE)/CSceneNodeAnimatorCollisionResponse.cpp \
$(IRRSCENE)/CSceneNodeAnimatorDelete.cpp \
$(IRRSCENE)/CSceneNodeAnimatorFlyCircle.cpp \
$(IRRSCENE)/CSceneNodeAnimatorFlyStraight.cpp \
$(IRRSCENE)/CSceneNodeAnimatorFollowSpline.cpp \
$(IRRSCENE)/CSceneNodeAnimatorRotation.cpp \
$(IRRSCENE)/CSceneNodeAnimatorTexture.cpp \
$(IRRSCENE)/CShadowVolumeSceneNode.cpp \
\
$(IRRSRC)/CSkyBoxSceneNode.cpp \
$(IRRSRC)/CSkyDomeSceneNode.cpp \
$(IRRSRC)/CSphereSceneNode.cpp \
$(IRRSRC)/CTerrainSceneNode.cpp \
$(IRRSRC)/CTerrainTriangleSelector.cpp \
$(IRRSRC)/COGLESDriver.cpp \
$(IRRSRC)/COGLESExtensionHandler.cpp \
$(IRRSRC)/COGLESTexture.cpp \
$(IRRSRC)/CNullDriver.cpp \
\
$(JPGSRC)/jcapimin.c $(JPGSRC)/jcapistd.c $(JPGSRC)/jccoefct.c $(JPGSRC)/jccolor.c $(JPGSRC)/jcdctmgr.c $(JPGSRC)/jchuff.c $(JPGSRC)/jcinit.c $(JPGSRC)/jcmainct.c \
$(JPGSRC)/jcmarker.c $(JPGSRC)/jcmaster.c $(JPGSRC)/jcomapi.c $(JPGSRC)/jcparam.c $(JPGSRC)/jcphuff.c $(JPGSRC)/jcprepct.c $(JPGSRC)/jcsample.c $(JPGSRC)/jctrans.c \
$(JPGSRC)/jdapimin.c $(JPGSRC)/jdapistd.c $(JPGSRC)/jdatadst.c $(JPGSRC)/jdatasrc.c $(JPGSRC)/jdcoefct.c $(JPGSRC)/jdcolor.c $(JPGSRC)/jddctmgr.c \
$(JPGSRC)/jdhuff.c $(JPGSRC)/jdinput.c $(JPGSRC)/jdmainct.c $(JPGSRC)/jdmarker.c $(JPGSRC)/jdmaster.c $(JPGSRC)/jdmerge.c $(JPGSRC)/jdphuff.c $(JPGSRC)/jdpostct.c \
$(JPGSRC)/jdsample.c $(JPGSRC)/jdtrans.c $(JPGSRC)/jerror.c $(JPGSRC)/jfdctflt.c $(JPGSRC)/jfdctfst.c $(JPGSRC)/jfdctint.c $(JPGSRC)/jidctflt.c $(JPGSRC)/jidctfst.c \
$(JPGSRC)/jidctint.c $(JPGSRC)/jidctred.c $(JPGSRC)/jmemmgr.c $(JPGSRC)/jmemnobs.c $(JPGSRC)/jquant1.c $(JPGSRC)/jquant2.c $(JPGSRC)/jutils.c \
\
$(PNGSRC)/png.c $(PNGSRC)/pngerror.c $(PNGSRC)/pnggccrd.c $(PNGSRC)/pngget.c $(PNGSRC)/pngmem.c $(PNGSRC)/pngpread.c $(PNGSRC)/pngread.c \
$(PNGSRC)/pngrio.c $(PNGSRC)/pngrtran.c $(PNGSRC)/pngrutil.c $(PNGSRC)/pngset.c $(PNGSRC)/pngtrans.c $(PNGSRC)/pngvcrd.c $(PNGSRC)/pngwio.c $(PNGSRC)/pngwtran.c \
\
$(APP)/App.cpp $(APP)/GUI/DebugMenu.cpp $(APP)/GUI/MainMenu.cpp $(APP)/GUI/Map3Menu.cpp $(APP)/GUI/MapMenu.cpp $(APP)/GUI/Mesh3DMenu.cpp $(APP)/GUI/TerrainMenu.cpp \
\
$(APP)/Component/FPSControlComponent.cpp



LOCAL_LDLIBS := -lGLESv1_CM -ldl -llog -lz

include $(BUILD_SHARED_LIBRARY)

//////////////////////////////////////////////////////////////////////////
2. in Freizencroft down on 2013/JUNE/09

LOCAL_PATH := $(realpath $(call my-dir)/../..)
PVRSDKDIR := $(LOCAL_PATH)

include $(CLEAR_VARS)

LOCAL_MODULE := IrrlichtAndroid

### Add all source file names to be included in lib separated by a whitespace
LOCAL_SRC_FILES := ../../examples/01.HelloWorld/main.cpp \
CIrrDeviceAndroid.cpp \
aesGladman/aescrypt.cpp \
aesGladman/aeskey.cpp \
aesGladman/aestab.cpp \
aesGladman/fileenc.cpp \
aesGladman/hmac.cpp \
aesGladman/prng.cpp \
aesGladman/pwd2key.cpp \
aesGladman/sha1.cpp \
aesGladman/sha2.cpp \

CAttributes.cpp \
CBoneSceneNode.cpp \
CColorConverter.cpp \
CDefaultSceneNodeAnimatorFactory.cpp \
CDefaultSceneNodeFactory.cpp \
CDepthBuffer.cpp \
CDummyTransformationSceneNode.cpp \
CEmptySceneNode.cpp \
CFPSCounter.cpp \
CGeometryCreator.cpp \
CLightSceneNode.cpp \
CLogger.cpp \
CMemoryFile.cpp \
CMeshCache.cpp \
CMeshManipulator.cpp \
CMeshSceneNode.cpp \
COCTLoader.cpp \
COctreeSceneNode.cpp \
CSkinnedMesh.cpp \
CTextSceneNode.cpp \
CTriangleBBSelector.cpp \
CTriangleSelector.cpp \
COctreeTriangleSelector.cpp \
CVideoModeList.cpp \
CVolumeLightSceneNode.cpp \
CWaterSurfaceSceneNode.cpp \
Irrlicht.cpp \
irrXML.cpp \
os.cpp \
CMetaTriangleSelector.cpp \
CCameraSceneNode.cpp \
CSceneNodeAnimatorCameraFPS.cpp \
CIrrDeviceIPhone.cpp \
CIrrDeviceStub.cpp \
CFileList.cpp \
CFileSystem.cpp \
CLimitReadFile.cpp \
CMountPointReader.cpp \
COSOperator.cpp \
CPakReader.cpp \
CWriteFile.cpp \
CXMLReader.cpp \
CXMLWriter.cpp \
CZBuffer.cpp \
CZipReader.cpp \
CImage.cpp \
CImageLoaderBMP.cpp \
CImageLoaderJPG.cpp \
CImageLoaderPNG.cpp \
CImageLoaderRGB.cpp \
CImageLoaderTGA.cpp \

\\\\\\\\\\\\\\\\\\\\\
C3DSMeshFileLoader.cpp \
CAnimatedMeshMD2.cpp \
CAnimatedMeshMD3.cpp \
CB3DMeshFileLoader.cpp \
CBSPMeshFileLoader.cpp \
CColladaFileLoader.cpp \
CCSMLoader.cpp \
CMD2MeshFileLoader.cpp \
CMD3MeshFileLoader.cpp \
CMS3DMeshFileLoader.cpp \
CMY3DMeshFileLoader.cpp \
COBJMeshFileLoader.cpp \
CQ3LevelMesh.cpp \
CQuake3ShaderSceneNode.cpp \
CXMeshFileLoader.cpp \
CParticleAnimatedMeshSceneNodeEmitter.cpp \
CParticleAttractionAffector.cpp \
CParticleBoxEmitter.cpp \
CParticleCylinderEmitter.cpp \
CParticleFadeOutAffector.cpp \
CParticleGravityAffector.cpp \
CParticleMeshEmitter.cpp \
CParticlePointEmitter.cpp \
CParticleRingEmitter.cpp \
CParticleRotationAffector.cpp \
CParticleScaleAffector.cpp \
CParticleSphereEmitter.cpp \
CParticleSystemSceneNode.cpp \

\\\\\\\\\\\\\\\\\\\\\
CAnimatedMeshSceneNode.cpp \
CBillboardSceneNode.cpp \
CCubeSceneNode.cpp \
CSceneCollisionManager.cpp \
CSceneManager.cpp \
CSceneNodeAnimatorCameraMaya.cpp \
CSceneNodeAnimatorCollisionResponse.cpp \
CSceneNodeAnimatorDelete.cpp \
CSceneNodeAnimatorFlyCircle.cpp \
CSceneNodeAnimatorFlyStraight.cpp \
CSceneNodeAnimatorFollowSpline.cpp \
CSceneNodeAnimatorRotation.cpp \
CSceneNodeAnimatorTexture.cpp \
CShadowVolumeSceneNode.cpp \

\\\\\\\\\\\\\\\\\\\\
CSkyBoxSceneNode.cpp \
CSkyDomeSceneNode.cpp \
CSphereSceneNode.cpp \
CTerrainSceneNode.cpp \
CTerrainTriangleSelector.cpp \

COGLESDriver.cpp \
COGLESExtensionHandler.cpp \
COGLESTexture.cpp \
CNullDriver.cpp \

\\\\\\\\\\\\\\\\\\\\\
CAnimatedMeshHalfLife.cpp \
CBurningShader_Raster_Reference.cpp \
CColladaMeshWriter.cpp \
CD3D8Driver.cpp \
CD3D8NormalMapRenderer.cpp \
CD3D8ParallaxMapRenderer.cpp \
CD3D8ShaderMaterialRenderer.cpp \
CD3D8Texture.cpp \
CD3D9Driver.cpp \
CD3D9HLSLMaterialRenderer.cpp \
CD3D9NormalMapRenderer.cpp \
CD3D9ParallaxMapRenderer.cpp \
CD3D9ShaderMaterialRenderer.cpp \
CD3D9Texture.cpp \
CDefaultGUIElementFactory.cpp \
CDMFLoader.cpp \
CGUIButton.cpp \
CGUICheckBox.cpp \
CGUIColorSelectDialog.cpp \
CGUIComboBox.cpp \
CGUIContextMenu.cpp \
CGUIEditBox.cpp \
CGUIEnvironment.cpp \
CGUIFileOpenDialog.cpp \
CGUIFont.cpp \
CGUIImage.cpp \
CGUIImageList.cpp \
CGUIInOutFader.cpp \
CGUIListBox.cpp \
CGUIMenu.cpp \
CGUIMeshViewer.cpp \
CGUIMessageBox.cpp \
CGUIModalScreen.cpp \
CGUIScrollBar.cpp \
CGUISkin.cpp \
CGUISpinBox.cpp \
CGUISpriteBank.cpp \
CGUIStaticText.cpp \
CGUITabControl.cpp \
CGUITable.cpp \
CGUIToolBar.cpp \
CGUITreeView.cpp \
CGUIWindow.cpp \
CImageLoaderDDS.cpp \
CImageLoaderPCX.cpp \
CImageLoaderPPM.cpp \
CImageLoaderPSD.cpp \
CImageLoaderWAL.cpp \
CImageWriterBMP.cpp \
CImageWriterJPG.cpp \
CImageWriterPCX.cpp \
CImageWriterPNG.cpp \
CImageWriterPPM.cpp \
CImageWriterPSD.cpp \
CImageWriterTGA.cpp \
CIrrDeviceConsole.cpp \
CIrrDeviceFB.cpp \
CIrrDeviceLinux.cpp \
CIrrDeviceSDL.cpp \
CIrrDeviceWin32.cpp \
CIrrDeviceWinCE.cpp \
CIrrMeshFileLoader.cpp \
CIrrMeshWriter.cpp \
CLMTSMeshFileLoader.cpp \
CLWOMeshFileLoader.cpp \
CNPKReader.cpp \
COBJMeshWriter.cpp \


COGLES2Driver.cpp \
COGLES2ExtensionHandler.cpp \
COGLES2FixedPipelineShader.cpp \
COGLES2NormalMapRenderer.cpp \
COGLES2ParallaxMapRenderer.cpp \
COGLES2Renderer2D.cpp \
COGLES2SLMaterialRenderer.cpp \
COGLES2Texture.cpp \

COgreMeshFileLoader.cpp \
COpenGLDriver.cpp \
COpenGLExtensionHandler.cpp \
COpenGLNormalMapRenderer.cpp \
COpenGLParallaxMapRenderer.cpp \
COpenGLShaderMaterialRenderer.cpp \
COpenGLSLMaterialRenderer.cpp \
COpenGLTexture.cpp \



CPLYMeshFileLoader.cpp \
CPLYMeshWriter.cpp \
CReadFile.cpp \
CSceneLoaderIrr.cpp \


CSMFMeshFileLoader.cpp \
CSoftwareDriver.cpp \
CSoftwareDriver2.cpp \
CSoftwareTexture.cpp \
CSoftwareTexture2.cpp \

CSTLMeshFileLoader.cpp \
CSTLMeshWriter.cpp \
CTarReader.cpp \

CTRFlat.cpp \
CTRFlatWire.cpp \
CTRGouraud.cpp \
CTRGouraud2.cpp \
CTRGouraudAlpha2.cpp \
CTRGouraudAlphaNoZ2.cpp \
CTRGouraudWire.cpp \


CTRNormalMap.cpp \
CTRStencilShadow.cpp \
CTRTextureBlend.cpp \
CTRTextureDetailMap2.cpp \
CTRTextureFlat.cpp \
CTRTextureFlatWire.cpp \
CTRTextureGouraud.cpp \
CTRTextureGouraud2.cpp \
CTRTextureGouraudAdd.cpp \
CTRTextureGouraudAdd2.cpp \
CTRTextureGouraudAddNoZ2.cpp \
CTRTextureGouraudAlpha.cpp \
CTRTextureGouraudAlphaNoZ.cpp \
CTRTextureGouraudNoZ.cpp \
CTRTextureGouraudNoZ2.cpp \
CTRTextureGouraudVertexAlpha2.cpp \
CTRTextureGouraudWire.cpp \
CTRTextureLightMap2_Add.cpp \
CTRTextureLightMap2_M1.cpp \
CTRTextureLightMap2_M2.cpp \
CTRTextureLightMap2_M4.cpp \
CTRTextureLightMapGouraud2_M4.cpp \
CTRTextureWire2.cpp \

CWADReader.cpp \
IBurningShader.cpp \

bzip2/blocksort.c \
bzip2/bzcompress.c \
bzip2/bzlib.c \
bzip2/crctable.c \
bzip2/decompress.c \
bzip2/huffman.c \
bzip2/randtable.c \
jpeglib/jaricom.c \
jpeglib/jcapimin.c \
jpeglib/jcapistd.c \
jpeglib/jcarith.c \
jpeglib/jccoefct.c \
jpeglib/jccolor.c \
jpeglib/jcdctmgr.c \
jpeglib/jchuff.c \
jpeglib/jcinit.c \
jpeglib/jcmainct.c \
jpeglib/jcmarker.c \
jpeglib/jcmaster.c \
jpeglib/jcomapi.c \
jpeglib/jcparam.c \
jpeglib/jcprepct.c \
jpeglib/jcsample.c \
jpeglib/jctrans.c \
jpeglib/jdapimin.c \
jpeglib/jdapistd.c \
jpeglib/jdarith.c \
jpeglib/jdatadst.c \
jpeglib/jdatasrc.c \
jpeglib/jdcoefct.c \
jpeglib/jdcolor.c \
jpeglib/jddctmgr.c \
jpeglib/jdhuff.c \
jpeglib/jdinput.c \
jpeglib/jdmainct.c \
jpeglib/jdmarker.c \
jpeglib/jdmaster.c \
jpeglib/jdmerge.c \
jpeglib/jdpostct.c \
jpeglib/jdsample.c \
jpeglib/jdtrans.c \
jpeglib/jerror.c \
jpeglib/jfdctflt.c \
jpeglib/jfdctfst.c \
jpeglib/jfdctint.c \
jpeglib/jidctflt.c \
jpeglib/jidctfst.c \
jpeglib/jidctint.c \
jpeglib/jmemmgr.c \
jpeglib/jmemnobs.c \
jpeglib/jquant1.c \
jpeglib/jquant2.c \
jpeglib/jutils.c \
libpng/png.c \
libpng/pngerror.c \
libpng/pngget.c \
libpng/pngmem.c \
libpng/pngpread.c \
libpng/pngread.c \
libpng/pngrio.c \
libpng/pngrtran.c \
libpng/pngrutil.c \
libpng/pngset.c \
libpng/pngtrans.c \
libpng/pngwio.c \
libpng/pngwrite.c \
libpng/pngwtran.c \
libpng/pngwutil.c \
lzma/LzmaDec.c \
zlib/adler32.c \
zlib/compress.c \
zlib/crc32.c \
zlib/deflate.c \
zlib/gzclose.c \
zlib/gzlib.c \
zlib/gzread.c \
zlib/gzwrite.c \
zlib/infback.c \
zlib/inffast.c \
zlib/inflate.c \
zlib/inftrees.c \
zlib/trees.c \
zlib/uncompr.c \
zlib/zutil.c \
libzip/zip_add.c \
libzip/zip_add_dir.c \
libzip/zip_close.c \
libzip/zip_delete.c \
libzip/zip_dirent.c \
libzip/zip_entry_free.c \
libzip/zip_entry_new.c \
libzip/zip_err_str.c \
libzip/zip_error.c \
libzip/zip_error_clear.c \
libzip/zip_error_get.c \
libzip/zip_error_get_sys_type.c \
libzip/zip_error_strerror.c \
libzip/zip_error_to_str.c \
libzip/zip_fclose.c \
libzip/zip_file_error_clear.c \
libzip/zip_file_error_get.c \
libzip/zip_file_get_offset.c \
libzip/zip_file_strerror.c \
libzip/zip_filerange_crc.c \
libzip/zip_fopen.c \
libzip/zip_fopen_index.c \
libzip/zip_fread.c \
libzip/zip_free.c \
libzip/zip_get_archive_comment.c \
libzip/zip_get_archive_flag.c \
libzip/zip_get_file_comment.c \
libzip/zip_get_num_files.c \
libzip/zip_get_name.c \
libzip/zip_memdup.c \
libzip/zip_name_locate.c \
libzip/zip_new.c \
libzip/zip_open.c \
libzip/zip_rename.c \
libzip/zip_replace.c \
libzip/zip_set_archive_comment.c \
libzip/zip_set_archive_flag.c \
libzip/zip_set_file_comment.c \
libzip/zip_source_buffer.c \
libzip/zip_source_file.c \
libzip/zip_source_filep.c \
libzip/zip_source_free.c \
libzip/zip_source_function.c \
libzip/zip_source_zip.c \
libzip/zip_set_name.c \
libzip/zip_stat.c \
libzip/zip_stat_index.c \
libzip/zip_stat_init.c \
libzip/zip_strerror.c \
libzip/zip_unchange.c \
libzip/zip_unchange_all.c \
libzip/zip_unchange_archive.c \
libzip/zip_unchange_data.c




LOCAL_C_INCLUDES := \
../../../include

LOCAL_CFLAGS := -DBUILD_OGLES2 -g -D_DEBUG

ifeq ($(TARGET_ARCH_ABI),x86)
LOCAL_CFLAGS += -fno-stack-protector
endif

LOCAL_LDLIBS := \
-llog \
-landroid \
-lEGL \
-lGLESv2 \
-lz

LOCAL_STATIC_LIBRARIES := \
android_native_app_glue

include $(BUILD_SHARED_LIBRARY)

$(call import-module,android/native_app_glue)

3. GLES 1.X in Quake3Map example

IrrlichtDevice *device =
createDevice(driverType, core::dimension2d<u32>(640, 480));


4. GLES 2.X in Quake3Map example

IrrlichtDevice *device =
createDevice(video::EDT_OGLES2, core::dimension2d<u32>(640, 480));