Clone of mesa.
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. # src/mesa/drivers/dri/r300/Makefile
  2. TOP = ../../../../..
  3. include $(TOP)/configs/current
  4. CFLAGS += $(RADEON_CFLAGS)
  5. LIBNAME = r300_dri.so
  6. MINIGLX_SOURCES = server/radeon_dri.c
  7. ifeq ($(USING_EGL), 1)
  8. EGL_SOURCES = server/radeon_egl.c
  9. endif
  10. ifeq ($(RADEON_LDFLAGS),)
  11. CS_SOURCES = radeon_cs_space_drm.c
  12. endif
  13. COMMON_SOURCES = \
  14. ../../common/driverfuncs.c \
  15. ../common/mm.c \
  16. ../common/utils.c \
  17. ../common/texmem.c \
  18. ../common/vblank.c \
  19. ../common/xmlconfig.c \
  20. ../common/dri_util.c
  21. RADEON_COMMON_SOURCES = \
  22. radeon_texture.c \
  23. radeon_common_context.c \
  24. radeon_common.c \
  25. radeon_dma.c \
  26. radeon_lock.c \
  27. radeon_bo_legacy.c \
  28. radeon_cs_legacy.c \
  29. radeon_mipmap_tree.c \
  30. radeon_span.c \
  31. radeon_fbo.c
  32. DRIVER_SOURCES = \
  33. radeon_screen.c \
  34. r300_context.c \
  35. r300_draw.c \
  36. r300_ioctl.c \
  37. r300_cmdbuf.c \
  38. r300_state.c \
  39. r300_render.c \
  40. r300_tex.c \
  41. r300_texstate.c \
  42. r300_vertprog.c \
  43. r300_fragprog_common.c \
  44. r300_shader.c \
  45. r300_emit.c \
  46. r300_swtcl.c \
  47. $(RADEON_COMMON_SOURCES) \
  48. $(EGL_SOURCES) \
  49. $(CS_SOURCES)
  50. C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)
  51. DRIVER_DEFINES = -DCOMPILE_R300 -DR200_MERGED=0 \
  52. -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R300 \
  53. # -DRADEON_BO_TRACK \
  54. -Wall
  55. DRI_LIB_DEPS += $(RADEON_LDFLAGS)
  56. PIPE_DRIVERS = compiler/libr300compiler.a
  57. ##### TARGETS #####
  58. include ../Makefile.template
  59. symlinks:
  60. # Mark the archive phony so that we always check for recompilation
  61. .PHONY : compiler/libr300compiler.a
  62. compiler/libr300compiler.a:
  63. cd compiler && $(MAKE)