PageRenderTime 47ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/gfx/harfbuzz/src/Makefile.am

https://bitbucket.org/MeeGoAdmin/mozilla-central/
Makefile | 147 lines | 125 code | 19 blank | 3 comment | 6 complexity | 341c49001e71f326f5b5f43dd68404e4 MD5 | raw file
Possible License(s): AGPL-1.0, MIT, BSD-3-Clause, Apache-2.0, LGPL-2.1, 0BSD, LGPL-3.0, MPL-2.0-no-copyleft-exception, GPL-2.0, JSON
  1. # Process this file with automake to produce Makefile.in
  2. NULL =
  3. EXTRA_DIST =
  4. # The following warning options are useful for debugging: -Wpadded -Wcast-align
  5. #AM_CXXFLAGS =
  6. lib_LTLIBRARIES = libharfbuzz.la
  7. HBCFLAGS =
  8. HBLIBS =
  9. HBSOURCES = \
  10. hb-blob.c \
  11. hb-blob-private.h \
  12. hb-buffer.cc \
  13. hb-buffer-private.hh \
  14. hb-common.c \
  15. hb-font.cc \
  16. hb-font-private.h \
  17. hb-object-private.h \
  18. hb-open-file-private.hh \
  19. hb-open-type-private.hh \
  20. hb-language.c \
  21. hb-ot-head-private.hh \
  22. hb-private.h \
  23. hb-shape.cc \
  24. hb-unicode.c \
  25. hb-unicode-private.h \
  26. $(NULL)
  27. HBHEADERS = \
  28. hb.h \
  29. hb-blob.h \
  30. hb-buffer.h \
  31. hb-common.h \
  32. hb-font.h \
  33. hb-language.h \
  34. hb-shape.h \
  35. hb-unicode.h \
  36. $(NULL)
  37. HBSOURCES += \
  38. hb-ot-layout.cc \
  39. hb-ot-layout-common-private.hh \
  40. hb-ot-layout-gdef-private.hh \
  41. hb-ot-layout-gpos-private.hh \
  42. hb-ot-layout-gsubgpos-private.hh \
  43. hb-ot-layout-gsub-private.hh \
  44. hb-ot-layout-private.hh \
  45. hb-ot-map.cc \
  46. hb-ot-map-private.hh \
  47. hb-ot-shape.cc \
  48. hb-ot-shape-complex-arabic.cc \
  49. hb-ot-shape-complex-arabic-table.h \
  50. hb-ot-shape-complex-private.hh \
  51. hb-ot-shape-private.hh \
  52. hb-ot-tag.c \
  53. $(NULL)
  54. HBHEADERS += \
  55. hb-ot.h \
  56. hb-ot-layout.h \
  57. hb-ot-shape.h \
  58. hb-ot-tag.h \
  59. $(NULL)
  60. if HAVE_GLIB
  61. HBCFLAGS += $(GLIB_CFLAGS)
  62. HBLIBS += $(GLIB_LIBS)
  63. HBSOURCES += \
  64. hb-glib.c \
  65. $(NULL)
  66. HBHEADERS += \
  67. hb-glib.h \
  68. $(NULL)
  69. endif
  70. if HAVE_ICU
  71. HBCFLAGS += $(ICU_CFLAGS)
  72. HBLIBS += $(ICU_LIBS)
  73. HBSOURCES += \
  74. hb-icu.c \
  75. $(NULL)
  76. HBHEADERS += \
  77. hb-icu.h \
  78. $(NULL)
  79. endif
  80. if HAVE_FREETYPE
  81. HBCFLAGS += $(FREETYPE_CFLAGS)
  82. HBLIBS += $(FREETYPE_LIBS)
  83. HBSOURCES += \
  84. hb-ft.c \
  85. $(NULL)
  86. HBHEADERS += \
  87. hb-ft.h \
  88. $(NULL)
  89. endif
  90. if HAVE_GRAPHITE
  91. HBCFLAGS += $(GRAPHITE_CFLAGS)
  92. HBLIBS += $(GRAPHITE_LIBS)
  93. HBSOURCES += \
  94. hb-graphite.cc \
  95. $(NULL)
  96. HBHEADERS += \
  97. hb-graphite.h \
  98. $(NULL)
  99. endif
  100. CXXLINK = $(LINK)
  101. libharfbuzz_la_SOURCES = $(HBSOURCES) $(HBHEADERS)
  102. libharfbuzz_la_CPPFLAGS = $(HBCFLAGS)
  103. libharfbuzz_la_LIBADD = $(HBLIBS)
  104. pkginclude_HEADERS = $(HBHEADERS)
  105. GENERATORS = \
  106. gen-arabic-joining-table.py \
  107. $(NULL)
  108. EXTRA_DIST += $(GENERATORS)
  109. noinst_PROGRAMS = main test
  110. main_SOURCES = main.cc
  111. main_CPPFLAGS = $(HBCFLAGS)
  112. main_LDADD = libharfbuzz.la $(HBLIBS)
  113. test_SOURCES = test.c
  114. test_CPPFLAGS = $(HBCFLAGS)
  115. test_LDADD = libharfbuzz.la $(HBLIBS)
  116. TESTS = \
  117. check-c-linkage-decls.sh \
  118. check-header-guards.sh \
  119. check-internal-symbols.sh \
  120. $(NULL)
  121. if HAVE_ICU
  122. else
  123. if HAVE_GRAPHITE
  124. else
  125. TESTS += check-libstdc++.sh
  126. endif
  127. endif
  128. -include $(top_srcdir)/git.mk