1 TOP = ../../../.. 2 include $(TOP)/configs/current 3 4 LIBNAME = radeonsi_drv.so 5 6 C_SOURCES = \ 7 target.c \ 8 xorg.c 9 10 DRIVER_DEFINES = \ 11 -DHAVE_CONFIG_H -DGALLIUM_RBUG -DGALLIUM_TRACE -DGALLIUM_GALAHAD 12 13 DRIVER_PIPES = \ 14 $(TOP)/src/gallium/state_trackers/xorg/libxorgtracker.a \ 15 $(TOP)/src/gallium/drivers/radeonsi/libradeonsi.a \ 16 $(TOP)/src/gallium/winsys/radeon/drm/libradeonwinsys.a \ 17 $(TOP)/src/gallium/drivers/galahad/libgalahad.a \ 18 $(TOP)/src/gallium/drivers/trace/libtrace.a \ 19 $(TOP)/src/gallium/drivers/rbug/librbug.a 20 21 DRIVER_LINKS = \ 22 $(shell $(PKG_CONFIG) --libs libdrm libdrm_radeon) 23 24 include ../Makefile.xorg 25