Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

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