35 lines
776 B
Makefile
35 lines
776 B
Makefile
|
LOCAL_PATH:= $(call my-dir)
|
||
|
|
||
|
#
|
||
|
# Build the software OpenGL ES library
|
||
|
#
|
||
|
|
||
|
include $(CLEAR_VARS)
|
||
|
|
||
|
LOCAL_SRC_FILES:= \
|
||
|
egl.cpp \
|
||
|
state.cpp \
|
||
|
texture.cpp \
|
||
|
Tokenizer.cpp \
|
||
|
TokenManager.cpp \
|
||
|
TextureObjectManager.cpp \
|
||
|
BufferObjectManager.cpp \
|
||
|
array.cpp.arm \
|
||
|
fp.cpp.arm \
|
||
|
light.cpp.arm \
|
||
|
matrix.cpp.arm \
|
||
|
mipmap.cpp.arm \
|
||
|
primitives.cpp.arm \
|
||
|
vertex.cpp.arm
|
||
|
|
||
|
ifeq ($(TARGET_ARCH),arm)
|
||
|
LOCAL_SRC_FILES += fixed_asm.S iterators.S
|
||
|
LOCAL_CFLAGS += -fstrict-aliasing
|
||
|
endif
|
||
|
|
||
|
LOCAL_SHARED_LIBRARIES := libcutils libutils libpixelflinger
|
||
|
LOCAL_LDLIBS := -lpthread -ldl
|
||
|
LOCAL_MODULE:= libagl
|
||
|
|
||
|
include $(BUILD_SHARED_LIBRARY)
|