The Android Open Source Project | 7c1b96a | 2008-10-21 07:00:00 -0700 | [diff] [blame^] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | # |
| 4 | # Build the software OpenGL ES library |
| 5 | # |
| 6 | |
| 7 | include $(CLEAR_VARS) |
| 8 | |
| 9 | LOCAL_SRC_FILES:= \ |
| 10 | egl.cpp \ |
| 11 | state.cpp \ |
| 12 | texture.cpp \ |
| 13 | Tokenizer.cpp \ |
| 14 | TokenManager.cpp \ |
| 15 | TextureObjectManager.cpp \ |
| 16 | BufferObjectManager.cpp \ |
| 17 | array.cpp.arm \ |
| 18 | fp.cpp.arm \ |
| 19 | light.cpp.arm \ |
| 20 | matrix.cpp.arm \ |
| 21 | mipmap.cpp.arm \ |
| 22 | primitives.cpp.arm \ |
| 23 | vertex.cpp.arm |
| 24 | |
| 25 | ifeq ($(TARGET_ARCH),arm) |
| 26 | LOCAL_SRC_FILES += fixed_asm.S iterators.S |
| 27 | LOCAL_CFLAGS += -fstrict-aliasing |
| 28 | endif |
| 29 | |
| 30 | LOCAL_SHARED_LIBRARIES := libcutils libutils libpixelflinger |
| 31 | LOCAL_LDLIBS := -lpthread -ldl |
| 32 | LOCAL_MODULE:= libagl |
| 33 | |
| 34 | include $(BUILD_SHARED_LIBRARY) |