Home | History | Annotate | Download | only in xorg-nouveau
      1 TOP = ../../../..
      2 include $(TOP)/configs/current
      3 
      4 LIBNAME = nouveau2_drv.so
      5 
      6 C_SOURCES = \
      7 	nouveau_target.c \
      8 	nouveau_xorg.c
      9 
     10 DRIVER_DEFINES = \
     11 	-DHAVE_CONFIG_H -DGALLIUM_RBUG -DGALLIUM_TRACE
     12 
     13 DRIVER_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 
     23 DRIVER_LINKS = \
     24 	$(shell $(PKG_CONFIG) --libs libdrm libdrm_nouveau)
     25 
     26 DRIVER_INCLUDES = \
     27 	$(shell $(PKG_CONFIG) --cflags-only-I libdrm libdrm_nouveau xf86driproto)
     28 
     29 LINK_WITH_CXX=1
     30 
     31 include ../Makefile.xorg
     32