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.

Automake.inc 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. GALLIUM_CFLAGS = \
  2. -I$(top_srcdir)/include \
  3. -I$(top_srcdir)/src \
  4. -I$(top_srcdir)/src/gallium/include \
  5. -I$(top_srcdir)/src/gallium/auxiliary \
  6. $(DEFINES)
  7. # src/gallium/auxiliary must appear before src/gallium/drivers
  8. # because there are stupidly two rbug_context.h files in
  9. # different directories, and which one is included by the
  10. # preprocessor is determined by the ordering of the -I flags.
  11. GALLIUM_DRIVER_CFLAGS = \
  12. -I$(srcdir)/include \
  13. -I$(top_srcdir)/src \
  14. -I$(top_srcdir)/include \
  15. -I$(top_srcdir)/src/gallium/include \
  16. -I$(top_srcdir)/src/gallium/auxiliary \
  17. -I$(top_srcdir)/src/gallium/drivers \
  18. -I$(top_srcdir)/src/gallium/winsys \
  19. $(DEFINES) \
  20. $(VISIBILITY_CFLAGS)
  21. GALLIUM_DRIVER_CXXFLAGS = \
  22. -I$(srcdir)/include \
  23. -I$(top_srcdir)/src \
  24. -I$(top_srcdir)/include \
  25. -I$(top_srcdir)/src/gallium/include \
  26. -I$(top_srcdir)/src/gallium/auxiliary \
  27. -I$(top_srcdir)/src/gallium/drivers \
  28. -I$(top_srcdir)/src/gallium/winsys \
  29. $(DEFINES) \
  30. $(VISIBILITY_CXXFLAGS)
  31. GALLIUM_TARGET_CFLAGS = \
  32. -I$(top_srcdir)/src \
  33. -I$(top_srcdir)/include \
  34. -I$(top_srcdir)/src/loader \
  35. -I$(top_srcdir)/src/gallium/include \
  36. -I$(top_srcdir)/src/gallium/auxiliary \
  37. -I$(top_srcdir)/src/gallium/drivers \
  38. -I$(top_srcdir)/src/gallium/winsys \
  39. -I$(top_builddir)/src/util/ \
  40. -I$(top_builddir)/src/gallium/drivers/ \
  41. $(DEFINES) \
  42. $(PTHREAD_CFLAGS) \
  43. $(LIBDRM_CFLAGS) \
  44. $(VISIBILITY_CFLAGS)
  45. GALLIUM_COMMON_LIB_DEPS = \
  46. -lm \
  47. $(LIBUNWIND_LIBS) \
  48. $(LIBSENSORS_LIBS) \
  49. $(CLOCK_LIB) \
  50. $(PTHREAD_LIBS) \
  51. $(DLOPEN_LIBS)
  52. if HAVE_LIBDRM
  53. GALLIUM_COMMON_LIB_DEPS += \
  54. $(LIBDRM_LIBS)
  55. endif
  56. GALLIUM_WINSYS_CFLAGS = \
  57. -I$(top_srcdir)/src \
  58. -I$(top_srcdir)/include \
  59. -I$(top_srcdir)/src/gallium/include \
  60. -I$(top_srcdir)/src/gallium/auxiliary \
  61. $(DEFINES) \
  62. $(VISIBILITY_CFLAGS)
  63. GALLIUM_PIPE_LOADER_WINSYS_LIBS = \
  64. $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \
  65. $(top_builddir)/src/gallium/winsys/sw/wrapper/libwsw.la
  66. if HAVE_DRISW
  67. GALLIUM_PIPE_LOADER_WINSYS_LIBS += \
  68. $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
  69. endif
  70. if HAVE_DRISW_KMS
  71. GALLIUM_PIPE_LOADER_WINSYS_LIBS += \
  72. $(top_builddir)/src/gallium/winsys/sw/kms-dri/libswkmsdri.la \
  73. $(LIBDRM_LIBS)
  74. endif