PageRenderTime 45ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/libreoffice-3.6.0.2/external/mingw-dlls/makefile.mk

#
Makefile | 116 lines | 71 code | 15 blank | 30 comment | 7 complexity | dffcbe2d4c807870833927b57cfb43b7 MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, LGPL-2.1, AGPL-1.0, BSD-3-Clause-No-Nuclear-License-2014, GPL-3.0, LGPL-3.0
  1. #
  2. # Version: MPL 1.1 / GPLv3+ / LGPLv3+
  3. #
  4. # The contents of this file are subject to the Mozilla Public License Version
  5. # 1.1 (the "License"); you may not use this file except in compliance with
  6. # the License or as specified alternatively below. You may obtain a copy of
  7. # the License at http://www.mozilla.org/MPL/
  8. #
  9. # Software distributed under the License is distributed on an "AS IS" basis,
  10. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11. # for the specific language governing rights and limitations under the
  12. # License.
  13. #
  14. # Major Contributor(s):
  15. # Tor Lillqvist <tml@iki.fi> (initial developer)
  16. # Jan Holesovsky <kendy@suse.cz>
  17. #
  18. # All Rights Reserved.
  19. #
  20. # For minor contributions see the git repository.
  21. #
  22. # Alternatively, the contents of this file may be used under the terms of
  23. # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
  24. # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
  25. # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
  26. # instead of those above.
  27. #
  28. PRJ=..
  29. PRJNAME=external
  30. TARGET=mingw-dlls
  31. .INCLUDE: settings.mk
  32. # ------------------------------------------------------------------
  33. .IF "$(GUI)$(COM)" != "WNTGCC"
  34. dummy:
  35. @echo "Nothing to do."
  36. .ELSE
  37. MINGW_DLLS:= \
  38. $(MINGW_BOOST_DATE_TIME_DLL) \
  39. $(MINGW_CAIRO_DLL) \
  40. $(MINGW_CRYPTO_DLL) \
  41. $(MINGW_CURL_DLL) \
  42. $(MINGW_DB_DLL) \
  43. $(MINGW_EXPAT_DLL) \
  44. $(MINGW_FONTCONFIG_DLL) \
  45. $(MINGW_FREETYPE_DLL) \
  46. $(MINGW_GCRYPT_DLL) \
  47. $(MINGW_GNUTLS_DLL) \
  48. $(MINGW_GPG_ERROR_DLL) \
  49. $(MINGW_GRAPHITE2_DLL) \
  50. $(MINGW_HUNSPELL_DLL) \
  51. $(MINGW_HYPHEN_DLL) \
  52. $(MINGW_ICONV_DLL) \
  53. $(MINGW_ICUDATA_DLL) \
  54. $(MINGW_ICUI18N_DLL) \
  55. $(MINGW_ICUUC_DLL) \
  56. $(MINGW_IDN_DLL) \
  57. $(MINGW_INTL_DLL) \
  58. $(MINGW_JPEG_DLL) \
  59. $(MINGW_LCMS2_DLL) \
  60. $(MINGW_LIBXML_DLL) \
  61. $(MINGW_LIBXSLT_DLL) \
  62. $(MINGW_LPSOLVE_DLL) \
  63. $(MINGW_MINIZIP_DLL) \
  64. $(MINGW_MYTHES_DLL) \
  65. $(MINGW_NEON_DLL) \
  66. $(MINGW_NSPR4_DLL) \
  67. $(MINGW_NSS3_DLL) \
  68. $(MINGW_NSSUTIL3_DLL) \
  69. $(MINGW_PIXMAN_DLL) \
  70. $(MINGW_PLC4_DLL) \
  71. $(MINGW_PLDS4_DLL) \
  72. $(MINGW_PNG15_DLL) \
  73. $(MINGW_RAPTOR_DLL) \
  74. $(MINGW_RASQAL_DLL) \
  75. $(MINGW_REDLAND_DLL) \
  76. $(MINGW_SQLITE3_DLL) \
  77. $(MINGW_SSH2_DLL) \
  78. $(MINGW_SSL3_DLL) \
  79. $(MINGW_SSL_DLL) \
  80. $(MINGW_TASN1_DLL) \
  81. $(MINGW_ZLIB_DLL)
  82. .IF "$(MINGW_SHARED_GCCLIB)" == "YES"
  83. MINGW_DLLS+=$(MINGW_GCCDLL)
  84. .ENDIF
  85. .IF "$(MINGW_SHARED_GXXLIB)" == "YES"
  86. MINGW_DLLS+=$(MINGW_GXXDLL)
  87. .ENDIF
  88. # Guesstimate where the DLLs can be
  89. POTENTIAL_MINGW_RUNTIME_BINDIRS = \
  90. $(COMPATH)/$(HOST_PLATFORM)/sys-root/mingw/bin \
  91. /usr/$(HOST_PLATFORM)/sys-root/mingw/bin \
  92. all:
  93. @for DLL in $(MINGW_DLLS) ; do \
  94. for D in $(POTENTIAL_MINGW_RUNTIME_BINDIRS); do \
  95. test -f $$D/$$DLL && $(COPY) -p $$D/$$DLL $(BIN)$/ && break; \
  96. done ; \
  97. test -f $(BIN)$/$$DLL || { echo Could not find $$DLL in none of $(POTENTIAL_MINGW_RUNTIME_BINDIRS) ; exit 1 ; } ; \
  98. done
  99. .ENDIF
  100. # ------------------------------------------------------------------
  101. .INCLUDE: target.mk