1TOP = ../../../.. 2include $(TOP)/configs/current 3 4LIBNAME = nouveau2_drv.so 5 6C_SOURCES = \ 7 nouveau_target.c \ 8 nouveau_xorg.c 9 10DRIVER_DEFINES = \ 11 -DHAVE_CONFIG_H -DGALLIUM_RBUG -DGALLIUM_TRACE 12 13DRIVER_PIPES = \ 14 $(TOP)/src/gallium/state_trackers/xorg/libxorgtracker.a \ 15 $(TOP)/src/gallium/winsys/nouveau/drm/libnouveaudrm.a \ 16 $(TOP)/src/gallium/drivers/nv30/libnv30.a \ 17 $(TOP)/src/gallium/drivers/nv50/libnv50.a \ 18 $(TOP)/src/gallium/drivers/nvc0/libnvc0.a \ 19 $(TOP)/src/gallium/drivers/nouveau/libnouveau.a \ 20 $(TOP)/src/gallium/drivers/trace/libtrace.a \ 21 $(TOP)/src/gallium/drivers/rbug/librbug.a 22 23DRIVER_LINKS = \ 24 $(shell $(PKG_CONFIG) --libs libdrm libdrm_nouveau) 25 26DRIVER_INCLUDES = \ 27 $(shell $(PKG_CONFIG) --cflags-only-I libdrm libdrm_nouveau xf86driproto) 28 29LINK_WITH_CXX=1 30 31include ../Makefile.xorg 32