Android.mk 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. LOCAL_PATH := $(call my-dir)
  2. include $(CLEAR_VARS)
  3. LOCAL_MODULE := main
  4. SDL_PATH := ../SDL2
  5. OGG_PATH := ../../../liboggvorbis
  6. LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include $(LOCAL_PATH)/$(OGG_PATH)/include $(LOCAL_PATH)/$(OGG_PATH)/src
  7. LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \
  8. ../../../battle.c \
  9. ../../../ending.c \
  10. ../../../fight.c \
  11. ../../../font.c \
  12. ../../../game.c \
  13. ../../../getopt.c \
  14. ../../../global.c \
  15. ../../../input.c \
  16. ../../../itemmenu.c \
  17. ../../../magicmenu.c \
  18. ../../../main.c \
  19. ../../../map.c \
  20. ../../../mp3play.c \
  21. ../../../oggplay.c \
  22. ../../../palcommon.c \
  23. ../../../palette.c \
  24. ../../../play.c \
  25. ../../../resampler.c \
  26. ../../../res.c \
  27. ../../../rixplay.cpp \
  28. ../../../rngplay.c \
  29. ../../../scene.c \
  30. ../../../script.c \
  31. ../../../sound.c \
  32. ../../../text.c \
  33. ../../../ui.c \
  34. ../../../uibattle.c \
  35. ../../../uigame.c \
  36. ../../../util.c \
  37. ../../../video.c \
  38. ../../../yj1.c \
  39. ../../../adplug/binfile.cpp \
  40. ../../../adplug/binio.cpp \
  41. ../../../adplug/dbemuopl.cpp \
  42. ../../../adplug/dbopl.cpp \
  43. ../../../adplug/demuopl.cpp \
  44. ../../../adplug/dosbox_opl.cpp \
  45. ../../../adplug/emuopl.cpp \
  46. ../../../adplug/fmopl.c \
  47. ../../../adplug/fprovide.cpp \
  48. ../../../adplug/player.cpp \
  49. ../../../adplug/rix.cpp \
  50. ../../../adplug/surroundopl.cpp \
  51. ../../../libmad/bit.c \
  52. ../../../libmad/decoder.c \
  53. ../../../libmad/fixed.c \
  54. ../../../libmad/frame.c \
  55. ../../../libmad/huffman.c \
  56. ../../../libmad/layer12.c \
  57. ../../../libmad/layer3.c \
  58. ../../../libmad/music_mad.c \
  59. ../../../libmad/stream.c \
  60. ../../../libmad/synth.c \
  61. ../../../libmad/timer.c \
  62. ../../../liboggvorbis/src/analysis.c \
  63. ../../../liboggvorbis/src/bitrate.c \
  64. ../../../liboggvorbis/src/bitwise.c \
  65. ../../../liboggvorbis/src/block.c \
  66. ../../../liboggvorbis/src/codebook.c \
  67. ../../../liboggvorbis/src/envelope.c \
  68. ../../../liboggvorbis/src/floor0.c \
  69. ../../../liboggvorbis/src/floor1.c \
  70. ../../../liboggvorbis/src/framing.c \
  71. ../../../liboggvorbis/src/info.c \
  72. ../../../liboggvorbis/src/lookup.c \
  73. ../../../liboggvorbis/src/lpc.c \
  74. ../../../liboggvorbis/src/lsp.c \
  75. ../../../liboggvorbis/src/mapping0.c \
  76. ../../../liboggvorbis/src/mdct.c \
  77. ../../../liboggvorbis/src/psy.c \
  78. ../../../liboggvorbis/src/registry.c \
  79. ../../../liboggvorbis/src/res0.c \
  80. ../../../liboggvorbis/src/sharedbook.c \
  81. ../../../liboggvorbis/src/smallft.c \
  82. ../../../liboggvorbis/src/synthesis.c \
  83. ../../../liboggvorbis/src/vorbisenc.c \
  84. ../../../liboggvorbis/src/vorbisfile.c \
  85. ../../../liboggvorbis/src/window.c
  86. LOCAL_SHARED_LIBRARIES := SDL2
  87. LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog
  88. include $(BUILD_SHARED_LIBRARY)