Makefile.am 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. ACLOCAL_AMFLAGS = -Im4
  2. AUTOMAKE_OPTIONS = subdir-objects
  3. bin_PROGRAMS = godotapkfixer
  4. godotapkfixer_LDADD = \
  5. src/minizip/libminizip.la \
  6. src/zlib/libz.la
  7. godotapkfixer_LDFLAGS = \
  8. $(EXTRA_LDFLAGS)
  9. godotapkfixer_SOURCES = \
  10. src/main.cpp \
  11. src/ResStringPool.cpp
  12. noinst_LTLIBRARIES=src/minizip/libminizip.la src/zlib/libz.la
  13. src_zlib_libz_la_SOURCES = \
  14. src/zlib/adler32.c \
  15. src/zlib/compress.c \
  16. src/zlib/crc32.c \
  17. src/zlib/deflate.c \
  18. src/zlib/gzclose.c \
  19. src/zlib/gzlib.c \
  20. src/zlib/gzread.c \
  21. src/zlib/gzwrite.c \
  22. src/zlib/infback.c \
  23. src/zlib/inffast.c \
  24. src/zlib/inflate.c \
  25. src/zlib/inftrees.c \
  26. src/zlib/trees.c \
  27. src/zlib/uncompr.c \
  28. src/zlib/zutil.c
  29. src_minizip_libminizip_la_CFLAGS = \
  30. -UVERSION \
  31. -UPACKAGE \
  32. -UPACKAGE_NAME \
  33. -UPACKAGE_URL \
  34. -UPACKAGE_VERSION \
  35. -UPACKAGE_TARNAME \
  36. -UPACKAGE_STRING \
  37. -UPACKAGE_BUGREPORT \
  38. -DHAVE_LZMA \
  39. -DHAVE_ZLIB \
  40. -DHAVE_STDBOOL_H \
  41. -DHAVE_STDINT_H \
  42. -DHAVE_LIMITS_H \
  43. -DHAVE_CONFIG_H \
  44. -DLZMA_API_STATIC \
  45. -Isrc/minizip/lib/liblzma \
  46. -Isrc/minizip/lib/liblzma/check \
  47. -Isrc/minizip/lib/liblzma/lz \
  48. -Isrc/minizip/lib/liblzma/lzma \
  49. -Isrc/minizip/lib/liblzma/rangecoder \
  50. -Isrc/minizip/lib/liblzma/common \
  51. -Isrc/minizip/lib/liblzma/api
  52. src_minizip_libminizip_la_SOURCES = \
  53. src/minizip/lib/liblzma/check/check.c \
  54. src/minizip/lib/liblzma/check/crc32_fast.c \
  55. src/minizip/lib/liblzma/check/crc32_table.c \
  56. src/minizip/lib/liblzma/rangecoder/price_table.c \
  57. src/minizip/lib/liblzma/common/alone_decoder.c \
  58. src/minizip/lib/liblzma/common/alone_encoder.c \
  59. src/minizip/lib/liblzma/common/common.c \
  60. src/minizip/lib/liblzma/common/filter_encoder.c \
  61. src/minizip/lib/liblzma/lz/lz_decoder.c \
  62. src/minizip/lib/liblzma/lz/lz_encoder.c \
  63. src/minizip/lib/liblzma/lz/lz_encoder_mf.c \
  64. src/minizip/lib/liblzma/lzma/fastpos_table.c \
  65. src/minizip/lib/liblzma/lzma/lzma_decoder.c \
  66. src/minizip/lib/liblzma/lzma/lzma_encoder.c \
  67. src/minizip/lib/liblzma/lzma/lzma_encoder_optimum_fast.c \
  68. src/minizip/lib/liblzma/lzma/lzma_encoder_optimum_normal.c \
  69. src/minizip/lib/liblzma/lzma/lzma_encoder_presets.c \
  70. src/minizip/mz_compat.c \
  71. src/minizip/mz_os.c \
  72. src/minizip/mz_strm_buf.c \
  73. src/minizip/mz_strm.c \
  74. src/minizip/mz_strm_lzma.c \
  75. src/minizip/mz_strm_mem.c \
  76. src/minizip/mz_strm_pkcrypt.c \
  77. src/minizip/mz_strm_split.c \
  78. src/minizip/mz_strm_zlib.c \
  79. src/minizip/mz_zip.c
  80. if LINUX
  81. src_minizip_libminizip_la_SOURCES += \
  82. src/minizip/mz_os_posix.c \
  83. src/minizip/mz_strm_posix.c
  84. src_minizip_libminizip_la_CFLAGS += \
  85. -Dunix \
  86. -U__linux__
  87. endif
  88. if OSX
  89. src_minizip_libminizip_la_SOURCES += \
  90. src/minizip/mz_os_posix.c \
  91. src/minizip/mz_strm_posix.c
  92. src_minizip_libminizip_la_CFLAGS += \
  93. -Dunix
  94. endif
  95. if WINDOWS
  96. src_minizip_libminizip_la_SOURCES += \
  97. src/minizip/mz_os_win32.c \
  98. src/minizip/mz_strm_win32.c
  99. endif