targets: Clean up xorg make files a bit
This commit is contained in:
parent
4f956889b7
commit
433a08445c
|
@ -9,7 +9,8 @@
|
|||
# Optional defines:
|
||||
# DRIVER_INCLUDES are appended to the list of includes directories.
|
||||
# DRIVER_DEFINES is not used for makedepend, but for compilation.
|
||||
# DRIVER_LINKS are flags given to the linker
|
||||
# DRIVER_PIPES are pipe drivers and modules that the driver depends on.
|
||||
# DRIVER_LINKS are flags given to the linker.
|
||||
|
||||
### Basic defines ###
|
||||
|
||||
|
@ -32,8 +33,8 @@ LIBNAME_STAGING = $(TOP)/$(LIB_DIR)/gallium/$(TARGET)
|
|||
|
||||
default: depend $(TOP)/$(LIB_DIR)/gallium $(LIBNAME) $(LIBNAME_STAGING)
|
||||
|
||||
$(LIBNAME): $(OBJECTS) Makefile $(LIBS)
|
||||
$(MKLIB) -noprefix -o $@ $(OBJECTS) $(DRIVER_LINKS)
|
||||
$(LIBNAME): $(OBJECTS) Makefile ../Makefile.xorg $(LIBS) $(DRIVER_PIPES)
|
||||
$(MKLIB) -noprefix -o $@ $(OBJECTS) $(DRIVER_PIPES) $(GALLIUM_AUXILIARIES) $(DRIVER_LINKS)
|
||||
|
||||
depend: $(C_SOURCES) $(CPP_SOURCES) $(ASM_SOURCES) $(SYMLINKS) $(GENERATED_SOURCES)
|
||||
rm -f depend
|
||||
|
|
|
@ -10,15 +10,15 @@ C_SOURCES = \
|
|||
DRIVER_DEFINES = \
|
||||
-DHAVE_CONFIG_H -DGALLIUM_RBUG -DGALLIUM_TRACE -DGALLIUM_GALAHAD
|
||||
|
||||
DRIVER_LINKS = \
|
||||
DRIVER_PIPES = \
|
||||
$(TOP)/src/gallium/state_trackers/xorg/libxorgtracker.a \
|
||||
$(TOP)/src/gallium/winsys/i915/drm/libi915drm.a \
|
||||
$(TOP)/src/gallium/drivers/i915/libi915.a \
|
||||
$(TOP)/src/gallium/drivers/galahad/libgalahad.a \
|
||||
$(TOP)/src/gallium/drivers/trace/libtrace.a \
|
||||
$(TOP)/src/gallium/drivers/rbug/librbug.a \
|
||||
$(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
|
||||
$(GALLIUM_AUXILIARIES) \
|
||||
$(TOP)/src/gallium/drivers/rbug/librbug.a
|
||||
|
||||
DRIVER_LINKS = \
|
||||
$(shell pkg-config --libs libdrm libdrm_intel)
|
||||
|
||||
include ../Makefile.xorg
|
||||
|
|
|
@ -11,15 +11,16 @@ DRIVER_DEFINES = \
|
|||
-DHAVE_CONFIG_H -DGALLIUM_SOFTPIPE \
|
||||
-DGALLIUM_RBUG -DGALLIUM_TRACE
|
||||
|
||||
DRIVER_LINKS = \
|
||||
DRIVER_PIPES = \
|
||||
$(TOP)/src/gallium/state_trackers/xorg/libxorgtracker.a \
|
||||
$(TOP)/src/gallium/winsys/i965/drm/libi965drm.a \
|
||||
$(TOP)/src/gallium/drivers/i965/libi965.a \
|
||||
$(TOP)/src/gallium/drivers/trace/libtrace.a \
|
||||
$(TOP)/src/gallium/drivers/rbug/librbug.a \
|
||||
$(TOP)/src/gallium/winsys/sw/wrapper/libwsw.a \
|
||||
$(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
|
||||
$(GALLIUM_AUXILIARIES) \
|
||||
$(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a
|
||||
|
||||
DRIVER_LINKS = \
|
||||
$(shell pkg-config --libs libdrm libdrm_intel)
|
||||
|
||||
include ../Makefile.xorg
|
||||
|
|
|
@ -10,15 +10,16 @@ C_SOURCES = \
|
|||
DRIVER_DEFINES = \
|
||||
-DHAVE_CONFIG_H -DGALLIUM_RBUG -DGALLIUM_TRACE
|
||||
|
||||
DRIVER_LINKS = \
|
||||
DRIVER_PIPES = \
|
||||
$(TOP)/src/gallium/state_trackers/xorg/libxorgtracker.a \
|
||||
$(TOP)/src/gallium/winsys/nouveau/drm/libnouveaudrm.a \
|
||||
$(TOP)/src/gallium/drivers/trace/libtrace.a \
|
||||
$(TOP)/src/gallium/drivers/rbug/librbug.a \
|
||||
$(TOP)/src/gallium/drivers/nvfx/libnvfx.a \
|
||||
$(TOP)/src/gallium/drivers/nv50/libnv50.a \
|
||||
$(TOP)/src/gallium/drivers/nouveau/libnouveau.a \
|
||||
$(GALLIUM_AUXILIARIES) \
|
||||
$(TOP)/src/gallium/drivers/trace/libtrace.a \
|
||||
$(TOP)/src/gallium/drivers/rbug/librbug.a
|
||||
|
||||
DRIVER_LINKS = \
|
||||
$(shell pkg-config --libs libdrm libdrm_nouveau)
|
||||
|
||||
include ../Makefile.xorg
|
||||
|
|
|
@ -10,15 +10,15 @@ C_SOURCES = \
|
|||
DRIVER_DEFINES = \
|
||||
-DHAVE_CONFIG_H -DGALLIUM_RBUG -DGALLIUM_TRACE -DGALLIUM_GALAHAD
|
||||
|
||||
DRIVER_PIPES = \
|
||||
$(TOP)/src/gallium/state_trackers/xorg/libxorgtracker.a \
|
||||
$(TOP)/src/gallium/winsys/radeon/drm/libradeonwinsys.a \
|
||||
$(TOP)/src/gallium/drivers/r300/libr300.a \
|
||||
$(TOP)/src/gallium/drivers/galahad/libgalahad.a \
|
||||
$(TOP)/src/gallium/drivers/trace/libtrace.a \
|
||||
$(TOP)/src/gallium/drivers/rbug/librbug.a
|
||||
|
||||
DRIVER_LINKS = \
|
||||
$(TOP)/src/gallium/state_trackers/xorg/libxorgtracker.a \
|
||||
$(TOP)/src/gallium/winsys/radeon/drm/libradeonwinsys.a \
|
||||
$(TOP)/src/gallium/drivers/r300/libr300.a \
|
||||
$(TOP)/src/gallium/drivers/galahad/libgalahad.a \
|
||||
$(TOP)/src/gallium/drivers/trace/libtrace.a \
|
||||
$(TOP)/src/gallium/drivers/rbug/librbug.a \
|
||||
$(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
|
||||
$(GALLIUM_AUXILIARIES) \
|
||||
$(shell pkg-config --libs libdrm libdrm_radeon)
|
||||
|
||||
include ../Makefile.xorg
|
||||
|
|
|
@ -20,15 +20,14 @@ DRIVER_DEFINES = \
|
|||
-DGALLIUM_TRACE \
|
||||
-DHAVE_CONFIG_H
|
||||
|
||||
|
||||
DRIVER_LINKS = \
|
||||
DRIVER_PIPES = \
|
||||
$(TOP)/src/gallium/state_trackers/xorg/libxorgtracker.a \
|
||||
$(TOP)/src/gallium/winsys/svga/drm/libsvgadrm.a \
|
||||
$(TOP)/src/gallium/drivers/trace/libtrace.a \
|
||||
$(TOP)/src/gallium/drivers/rbug/librbug.a \
|
||||
$(TOP)/src/gallium/drivers/svga/libsvga.a \
|
||||
$(GALLIUM_AUXILIARIES) \
|
||||
$(shell pkg-config --libs --silence-errors libkms) \
|
||||
$(shell pkg-config --libs libdrm)
|
||||
$(TOP)/src/gallium/drivers/trace/libtrace.a \
|
||||
$(TOP)/src/gallium/drivers/rbug/librbug.a
|
||||
|
||||
DRIVER_LINKS = \
|
||||
$(shell pkg-config --libs libdrm libkms)
|
||||
|
||||
include ../Makefile.xorg
|
||||
|
|
Loading…
Reference in New Issue