Clone of mesa.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Makefile.am 5.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. # Copyright © 2012 Intel Corporation
  2. #
  3. # Permission is hereby granted, free of charge, to any person obtaining a
  4. # copy of this software and associated documentation files (the "Software"),
  5. # to deal in the Software without restriction, including without limitation
  6. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  7. # and/or sell copies of the Software, and to permit persons to whom the
  8. # Software is furnished to do so, subject to the following conditions:
  9. #
  10. # The above copyright notice and this permission notice (including the next
  11. # paragraph) shall be included in all copies or substantial portions of the
  12. # Software.
  13. #
  14. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  17. # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  19. # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  20. # IN THE SOFTWARE.
  21. SUBDIRS = src
  22. ACLOCAL_AMFLAGS = -I m4
  23. doxygen:
  24. cd doxygen && $(MAKE)
  25. check-local:
  26. $(MAKE) -C src/mapi/glapi/tests check
  27. $(MAKE) -C src/mapi/shared-glapi/tests check
  28. $(MAKE) -C src/mesa/main/tests check
  29. $(MAKE) -C src/glsl/tests check
  30. $(MAKE) -C src/glx/tests check
  31. clean-local:
  32. -@touch $(top_builddir)/configs/current
  33. -@for dir in $(SUBDIRS) ; do \
  34. if [ -d $$dir ] ; then \
  35. (cd $$dir && $(MAKE) clean) ; \
  36. fi \
  37. done
  38. -@test -s $(top_builddir)/configs/current || rm -f $(top_builddir)/configs/current
  39. distclean-local:
  40. -rm -rf lib*
  41. -rm -f $(top_builddir)/configs/current
  42. -find . '(' -name '*.o' -o -name '*.a' -o -name '*.so' -o \
  43. -name depend -o -name depend.bak ')' -exec rm -f '{}' ';'
  44. .PHONY: doxygen
  45. # Rules for making release tarballs
  46. PACKAGE_VERSION=9.1-devel
  47. PACKAGE_DIR = Mesa-$(PACKAGE_VERSION)
  48. PACKAGE_NAME = MesaLib-$(PACKAGE_VERSION)
  49. EXTRA_FILES = \
  50. aclocal.m4 \
  51. configure \
  52. bin/ar-lib \
  53. bin/compile \
  54. bin/config.sub \
  55. bin/config.guess \
  56. bin/depcomp \
  57. bin/install-sh \
  58. bin/ltmain.sh \
  59. bin/missing \
  60. bin/ylwrap \
  61. src/glsl/glsl_parser.cc \
  62. src/glsl/glsl_parser.h \
  63. src/glsl/glsl_lexer.cc \
  64. src/glsl/glcpp/glcpp-lex.c \
  65. src/glsl/glcpp/glcpp-parse.c \
  66. src/glsl/glcpp/glcpp-parse.h \
  67. src/mesa/main/api_exec_es1.c \
  68. src/mesa/main/api_exec_es1_dispatch.h \
  69. src/mesa/main/api_exec_es1_remap_helper.h \
  70. src/mesa/main/api_exec_es2.c \
  71. src/mesa/main/api_exec_es2_dispatch.h \
  72. src/mesa/main/api_exec_es2_remap_helper.h \
  73. src/mesa/program/lex.yy.c \
  74. src/mesa/program/program_parse.tab.c \
  75. src/mesa/program/program_parse.tab.h \
  76. src/gallium/drivers/r600/Makefile.in \
  77. src/gallium/drivers/r300/Makefile.in \
  78. src/gallium/drivers/Makefile.in \
  79. src/gallium/Makefile.in \
  80. src/gallium/auxiliary/pipe-loader/Makefile.in \
  81. src/gallium/targets/opencl/Makefile.in \
  82. src/gallium/state_trackers/clover/Makefile.in \
  83. src/mapi/glapi/tests/Makefile.in \
  84. src/mapi/glapi/Makefile.in \
  85. src/mapi/glapi/gen/Makefile.in \
  86. src/mapi/es1api/Makefile.in \
  87. src/mapi/shared-glapi/tests/Makefile.in \
  88. src/mapi/shared-glapi/Makefile.in \
  89. src/mapi/vgapi/Makefile.in \
  90. src/mapi/es2api/Makefile.in \
  91. src/glsl/tests/Makefile.in \
  92. src/glsl/glcpp/Makefile.in \
  93. src/glsl/builtin_compiler/Makefile.in \
  94. src/glsl/Makefile.in \
  95. src/gtest/Makefile.in \
  96. src/egl/drivers/Makefile.in \
  97. src/egl/drivers/glx/Makefile.in \
  98. src/egl/drivers/dri2/Makefile.in \
  99. src/egl/Makefile.in \
  100. src/egl/main/Makefile.in \
  101. src/egl/wayland/Makefile.in \
  102. src/egl/wayland/wayland-drm/Makefile.in \
  103. src/egl/wayland/wayland-egl/Makefile.in \
  104. src/Makefile.in \
  105. src/glx/tests/Makefile.in \
  106. src/glx/Makefile.in \
  107. src/gbm/Makefile.in \
  108. src/mesa/drivers/Makefile.in \
  109. src/mesa/drivers/dri/common/Makefile.in \
  110. src/mesa/drivers/dri/i965/Makefile.in \
  111. src/mesa/drivers/dri/r200/Makefile.in \
  112. src/mesa/drivers/dri/Makefile.in \
  113. src/mesa/drivers/dri/radeon/Makefile.in \
  114. src/mesa/drivers/dri/swrast/Makefile.in \
  115. src/mesa/drivers/dri/nouveau/Makefile.in \
  116. src/mesa/drivers/dri/i915/Makefile.in \
  117. src/mesa/drivers/osmesa/Makefile.in \
  118. src/mesa/drivers/x11/Makefile.in \
  119. src/mesa/Makefile.in \
  120. src/mesa/libdricore/Makefile.in \
  121. src/mesa/x86-64/Makefile.in \
  122. src/mesa/program/Makefile.in \
  123. src/mesa/main/tests/Makefile.in \
  124. src/mesa/main/tests/hash_table/Makefile.in \
  125. src/mesa/x86/Makefile.in \
  126. Makefile.in
  127. IGNORE_FILES = \
  128. -x autogen.sh
  129. parsers: configure
  130. -@touch $(top_builddir)/configs/current
  131. $(MAKE) -C src/glsl glsl_parser.cc glsl_parser.h glsl_lexer.cc
  132. $(MAKE) -C src/glsl/glcpp glcpp-lex.c glcpp-parse.c glcpp-parse.h
  133. $(MAKE) -C src/mesa/program lex.yy.c program_parse.tab.c program_parse.tab.h
  134. # Everything for new a Mesa release:
  135. ARCHIVES = $(PACKAGE_NAME).tar.gz \
  136. $(PACKAGE_NAME).tar.bz2 \
  137. $(PACKAGE_NAME).zip
  138. tarballs: md5
  139. rm -f ../$(PACKAGE_DIR) $(PACKAGE_NAME).tar
  140. manifest.txt: .git
  141. ( \
  142. ls -1 $(EXTRA_FILES) ; \
  143. git ls-files $(IGNORE_FILES) \
  144. ) | sed -e '/^\(.*\/\)\?\./d' -e "s@^@$(PACKAGE_DIR)/@" > $@
  145. ../$(PACKAGE_DIR):
  146. ln -s $(PWD) $@
  147. $(PACKAGE_NAME).tar: parsers ../$(PACKAGE_DIR) manifest.txt
  148. cd .. ; tar -cf $(PACKAGE_DIR)/$(PACKAGE_NAME).tar -T $(PACKAGE_DIR)/manifest.txt
  149. $(PACKAGE_NAME).tar.gz: $(PACKAGE_NAME).tar ../$(PACKAGE_DIR)
  150. gzip --stdout --best $(PACKAGE_NAME).tar > $(PACKAGE_NAME).tar.gz
  151. $(PACKAGE_NAME).tar.bz2: $(PACKAGE_NAME).tar
  152. bzip2 --stdout --best $(PACKAGE_NAME).tar > $(PACKAGE_NAME).tar.bz2
  153. $(PACKAGE_NAME).zip: parsers ../$(PACKAGE_DIR) manifest.txt
  154. rm -f $(PACKAGE_NAME).zip ; \
  155. cd .. ; \
  156. zip -q -@ $(PACKAGE_NAME).zip < $(PACKAGE_DIR)/manifest.txt ; \
  157. mv $(PACKAGE_NAME).zip $(PACKAGE_DIR)
  158. md5: $(ARCHIVES)
  159. @-md5sum $(PACKAGE_NAME).tar.gz
  160. @-md5sum $(PACKAGE_NAME).tar.bz2
  161. @-md5sum $(PACKAGE_NAME).zip
  162. .PHONY: tarballs md5