Android.mk 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. # Copyright (C) 2010 The Android Open Source Project
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. #
  15. LOCAL_PATH := $(call my-dir)
  16. include $(CLEAR_VARS)
  17. LOCAL_MODULE := crown
  18. LOCAL_SRC_FILES :=\
  19. core/bv/Circle.cpp\
  20. core/bv/Frustum.cpp\
  21. core/bv/Rect.cpp\
  22. core/containers/Generic.cpp\
  23. core/math/Color4.cpp\
  24. core/math/Mat3.cpp\
  25. core/math/Mat4.cpp\
  26. core/math/MathUtils.cpp\
  27. core/math/Plane.cpp\
  28. core/math/Quat.cpp\
  29. core/math/Shape.cpp\
  30. core/math/Vec2.cpp\
  31. core/math/Vec3.cpp\
  32. core/math/Vec4.cpp\
  33. core/mem/MallocAllocator.cpp\
  34. core/streams/FileStream.cpp\
  35. core/streams/MemoryStream.cpp\
  36. core/streams/Stream.cpp\
  37. \
  38. input/EventDispatcher.cpp\
  39. input/InputManager.cpp\
  40. \
  41. os/OS.cpp\
  42. os/android/AndroidOS.cpp\
  43. os/android/AndroidInput.cpp\
  44. os/android/AndroidDevice.cpp\
  45. os/android/File.cpp\
  46. os/posix/Thread.cpp\
  47. os/posix/Mutex.cpp\
  48. os/posix/Cond.cpp\
  49. os/posix/TCPSocket.cpp\
  50. os/posix/UDPSocket.cpp\
  51. \
  52. Filesystem.cpp\
  53. \
  54. renderers/gles/GLESIndexBuffer.cpp\
  55. renderers/gles/GLESRenderer.cpp\
  56. renderers/gles/GLESUtils.cpp\
  57. renderers/gles/GLESVertexBuffer.cpp\
  58. \
  59. Camera.cpp\
  60. Device.cpp\
  61. Font.cpp\
  62. Image.cpp\
  63. Log.cpp\
  64. MaterialResource.cpp\
  65. MovableCamera.cpp\
  66. Pixel.cpp\
  67. ResourceManager.cpp\
  68. ResourceLoader.cpp\
  69. FileResourceArchive.cpp\
  70. ArchiveResourceArchive.cpp\
  71. TextureResource.cpp\
  72. TextResource.cpp\
  73. Skybox.cpp\
  74. FPSSystem.cpp\
  75. \
  76. samples/android/triangle.cpp\
  77. \
  78. LOCAL_C_INCLUDES :=\
  79. $(LOCAL_PATH)/core\
  80. $(LOCAL_PATH)/core/math\
  81. $(LOCAL_PATH)/core/compressors\
  82. $(LOCAL_PATH)/core/containers\
  83. $(LOCAL_PATH)/core/strings\
  84. $(LOCAL_PATH)/core/threads\
  85. $(LOCAL_PATH)/core/bv\
  86. $(LOCAL_PATH)/core/mem\
  87. $(LOCAL_PATH)/core/streams\
  88. $(LOCAL_PATH)/core/threads\
  89. $(LOCAL_PATH)/core/settings\
  90. $(LOCAL_PATH)/loaders\
  91. $(LOCAL_PATH)/os\
  92. $(LOCAL_PATH)/os/android\
  93. $(LOCAL_PATH)/renderers\
  94. $(LOCAL_PATH)/things\
  95. $(LOCAL_PATH)/filesystem\
  96. $(LOCAL_PATH)/renderers/gles\
  97. $(LOCAL_PATH)/renderers/gles/egl\
  98. $(LOCAL_PATH)/input\
  99. $(LOCAL_PATH)/samples\
  100. LOCAL_CPPFLAGS := -g -fexceptions
  101. LOCAL_LDLIBS := -llog -landroid -lGLESv1_CM
  102. include $(BUILD_SHARED_LIBRARY)
  103. #(call import-module, android/native_app_glue)