Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. # src/mesa/drivers/dri/r300/Makefile
  2. TOP = ../../../../..
  3. include $(TOP)/configs/current
  4. LIBNAME = r300_dri.so
  5. MINIGLX_SOURCES = server/radeon_dri.c
  6. ifeq ($(USING_EGL), 1)
  7. EGL_SOURCES = server/radeon_egl.c
  8. endif
  9. COMMON_SOURCES = \
  10. ../../common/driverfuncs.c \
  11. ../common/mm.c \
  12. ../common/utils.c \
  13. ../common/texmem.c \
  14. ../common/vblank.c \
  15. ../common/xmlconfig.c \
  16. ../common/dri_util.c
  17. DRIVER_SOURCES = \
  18. radeon_screen.c \
  19. radeon_context.c \
  20. radeon_ioctl.c \
  21. radeon_lock.c \
  22. radeon_span.c \
  23. radeon_state.c \
  24. radeon_mm.c \
  25. radeon_vtxfmt_a.c \
  26. \
  27. r300_context.c \
  28. r300_ioctl.c \
  29. r300_cmdbuf.c \
  30. r300_state.c \
  31. r300_render.c \
  32. r300_texmem.c \
  33. r300_tex.c \
  34. r300_texstate.c \
  35. r300_vertexprog.c \
  36. r300_fragprog.c \
  37. r300_shader.c \
  38. r300_maos.c \
  39. $(EGL_SOURCES)
  40. # \
  41. # r200_context.c \
  42. # r200_ioctl.c \
  43. # r200_state.c \
  44. # r200_state_init.c \
  45. # r200_cmdbuf.c \
  46. # r200_pixel.c \
  47. # r200_tex.c \
  48. # r200_texmem.c \
  49. # r200_texstate.c \
  50. # r200_swtcl.c \
  51. # r200_maos.c \
  52. # r200_sanity.c \
  53. # r200_vtxfmt.c \
  54. # r200_vtxfmt_c.c \
  55. # r200_vtxfmt_sse.c \
  56. # r200_vtxfmt_x86.c
  57. C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)
  58. X86_SOURCES =
  59. #r200_vtxtmp_x86.S
  60. DRIVER_DEFINES = -DCOMPILE_R300 -DGLX_DIRECT_RENDERING -DR200_MERGED=0 \
  61. -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R300
  62. SYMLINKS = \
  63. server/radeon_dri.c \
  64. server/radeon_dri.h \
  65. server/radeon.h \
  66. server/radeon_macros.h \
  67. server/radeon_reg.h \
  68. server/radeon_egl.c
  69. COMMON_SYMLINKS = \
  70. radeon_chipset.h \
  71. radeon_screen.c \
  72. radeon_screen.h
  73. ##### TARGETS #####
  74. include ../Makefile.template
  75. $(SYMLINKS):
  76. mkdir -p server
  77. for i in $(SYMLINKS) ; do rm -f $$i && test -f ../radeon/$$i && ln -s ../../radeon/$$i $$i ; done
  78. $(COMMON_SYMLINKS):
  79. @[ -e $@ ] || ln -sf ../radeon/$@ ./
  80. symlinks: $(SYMLINKS) $(COMMON_SYMLINKS)