mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-26 22:11:52 +00:00
4597b03873
Opens in Android Studio but haven't even tried to build it yet (it won't.. I know that much!)
86 lines
1.7 KiB
Makefile
86 lines
1.7 KiB
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
###########################
|
|
#
|
|
# GL static library
|
|
#
|
|
###########################
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := gl4es
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES) -DBCMHOST
|
|
|
|
LOCAL_SRC_FILES := \
|
|
src/gl/array.c \
|
|
src/gl/blend.c \
|
|
src/gl/blit.c \
|
|
src/gl/buffers.c \
|
|
src/gl/build_info.c \
|
|
src/gl/debug.c \
|
|
src/gl/decompress.c \
|
|
src/gl/depth.c \
|
|
src/gl/directstate.c \
|
|
src/gl/drawing.c \
|
|
src/gl/enable.c \
|
|
src/gl/eval.c \
|
|
src/gl/face.c \
|
|
src/gl/fog.c \
|
|
src/gl/fpe.c \
|
|
src/gl/fpe_shader.c \
|
|
src/gl/framebuffers.c \
|
|
src/gl/getter.c \
|
|
src/gl/gl4es.c \
|
|
src/gl/glstate.c \
|
|
src/gl/hint.c \
|
|
src/gl/init.c \
|
|
src/gl/light.c \
|
|
src/gl/line.c \
|
|
src/gl/list.c \
|
|
src/gl/listdraw.c \
|
|
src/gl/listrl.c \
|
|
src/gl/loader.c \
|
|
src/gl/matrix.c \
|
|
src/gl/matvec.c \
|
|
src/gl/pixel.c \
|
|
src/gl/planes.c \
|
|
src/gl/pointsprite.c \
|
|
src/gl/preproc.c \
|
|
src/gl/program.c \
|
|
src/gl/queries.c \
|
|
src/gl/raster.c \
|
|
src/gl/render.c \
|
|
src/gl/shader.c \
|
|
src/gl/shaderconv.c \
|
|
src/gl/stack.c \
|
|
src/gl/stencil.c \
|
|
src/gl/string_utils.c \
|
|
src/gl/stubs.c \
|
|
src/gl/texenv.c \
|
|
src/gl/texgen.c \
|
|
src/gl/texture.c \
|
|
src/gl/uniform.c \
|
|
src/gl/vertexattrib.c \
|
|
src/gl/wrap/gl4es.c \
|
|
src/gl/wrap/gles.c \
|
|
src/gl/wrap/glstub.c \
|
|
src/gl/math/eval.c \
|
|
src/glx/hardext.c \
|
|
src/glx/glx.c \
|
|
src/glx/lookup.c \
|
|
src/glx/gbm.c \
|
|
src/glx/streaming.c \
|
|
|
|
LOCAL_CFLAGS += -g -std=c99 -funwind-tables -O3 -DBCMHOST -fvisibility=hidden -include include/android_debug.h
|
|
LOCAL_CFLAGS += -DNOX11
|
|
LOCAL_CFLAGS += -DNO_GBM
|
|
LOCAL_CFLAGS += -DDEFAULT_ES=2
|
|
LOCAL_CFLAGS += -DNO_INIT_CONSTRUCTOR
|
|
|
|
|
|
LOCAL_LDLIBS := -ldl -llog -lEGL -lGLESv3
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|