From: Adam Jackson Date: Thu, 5 May 2005 03:15:08 +0000 (+0000) Subject: Refactor COMMON_SOURCES up to Makefile.template X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7769cb34898ca20adb5b0e329161e6321403fc9;p=mesa.git Refactor COMMON_SOURCES up to Makefile.template --- diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template index d7ecc8fcd9a..81c045667d5 100644 --- a/src/mesa/drivers/dri/Makefile.template +++ b/src/mesa/drivers/dri/Makefile.template @@ -2,6 +2,16 @@ MESA_MODULES = $(TOP)/src/mesa/mesa.a +COMMON_SOURCES = \ + ../../common/driverfuncs.c \ + ../common/mm.c \ + ../common/utils.c \ + ../common/texmem.c \ + ../common/vblank.c \ + ../common/dri_util.c \ + ../common/xmlconfig.c \ + ../common/drirenderbuffer.c \ + ../common/glcontextmodes.c ifeq ($(WINDOW_SYSTEM),dri) WINOBJ=../dri_client/dri.a diff --git a/src/mesa/drivers/dri/fb/Makefile b/src/mesa/drivers/dri/fb/Makefile index 3a03b6a9ec6..618f024cc18 100644 --- a/src/mesa/drivers/dri/fb/Makefile +++ b/src/mesa/drivers/dri/fb/Makefile @@ -5,17 +5,6 @@ include $(TOP)/configs/current LIBNAME = fb_dri.so -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/dri_util.c \ - ../common/xmlconfig.c \ - ../common/drirenderbuffer.c \ - ../common/glcontextmodes.c - DRIVER_SOURCES = \ fb_dri.c diff --git a/src/mesa/drivers/dri/ffb/Makefile b/src/mesa/drivers/dri/ffb/Makefile index 57592d7db9f..cb73238c030 100644 --- a/src/mesa/drivers/dri/ffb/Makefile +++ b/src/mesa/drivers/dri/ffb/Makefile @@ -8,17 +8,6 @@ LIBNAME = ffb_dri.so # not yet # MINIGLX_SOURCES = server/ffb_dri.c -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/xmlconfig.c \ - ../common/dri_util.c \ - ../common/drirenderbuffer.c \ - ../common/glcontextmodes.c - DRIVER_SOURCES = \ ffb_bitmap.c \ ffb_clear.c \ diff --git a/src/mesa/drivers/dri/gamma/Makefile b/src/mesa/drivers/dri/gamma/Makefile index 64b6c13ba0d..250d3ac0891 100644 --- a/src/mesa/drivers/dri/gamma/Makefile +++ b/src/mesa/drivers/dri/gamma/Makefile @@ -8,16 +8,6 @@ LIBNAME = gamma_dri.so # Not yet # MINIGLX_SOURCES = server/gamma_dri.c -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/dri_util.c \ - ../common/drirenderbuffer.c \ - ../common/glcontextmodes.c - DRIVER_SOURCES = \ gamma_context.c \ gamma_dd.c \ diff --git a/src/mesa/drivers/dri/i810/Makefile b/src/mesa/drivers/dri/i810/Makefile index 70510b92cb3..a7825b49b44 100644 --- a/src/mesa/drivers/dri/i810/Makefile +++ b/src/mesa/drivers/dri/i810/Makefile @@ -8,17 +8,6 @@ LIBNAME = i810_dri.so # Not yet # MINIGLX_SOURCES = server/i810_dri.c -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/dri_util.c \ - ../common/glcontextmodes.c \ - ../common/drirenderbuffer.c \ - ../common/xmlconfig.c - DRIVER_SOURCES = \ i810context.c \ i810ioctl.c \ diff --git a/src/mesa/drivers/dri/i830/Makefile b/src/mesa/drivers/dri/i830/Makefile index 411af2b3749..3276d396e50 100644 --- a/src/mesa/drivers/dri/i830/Makefile +++ b/src/mesa/drivers/dri/i830/Makefile @@ -4,18 +4,6 @@ include $(TOP)/configs/current LIBNAME = i830_dri.so - -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/xmlconfig.c \ - ../common/dri_util.c \ - ../common/drirenderbuffer.c \ - ../common/glcontextmodes.c - DRIVER_SOURCES = \ i830_context.c \ i830_debug.c \ diff --git a/src/mesa/drivers/dri/i915/Makefile b/src/mesa/drivers/dri/i915/Makefile index 7565a00465f..c269fb1290d 100644 --- a/src/mesa/drivers/dri/i915/Makefile +++ b/src/mesa/drivers/dri/i915/Makefile @@ -4,18 +4,6 @@ include $(TOP)/configs/current LIBNAME = i915_dri.so - -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/xmlconfig.c \ - ../common/dri_util.c \ - ../common/drirenderbuffer.c \ - ../common/glcontextmodes.c - DRIVER_SOURCES = \ i915_context.c \ i915_debug.c \ diff --git a/src/mesa/drivers/dri/mach64/Makefile b/src/mesa/drivers/dri/mach64/Makefile index 352c7bba61c..7246d51f5d7 100644 --- a/src/mesa/drivers/dri/mach64/Makefile +++ b/src/mesa/drivers/dri/mach64/Makefile @@ -8,17 +8,6 @@ LIBNAME = mach64_dri.so # Not yet # MINIGLX_SOURCES = server/mach64_dri.c -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/xmlconfig.c \ - ../common/dri_util.c \ - ../common/drirenderbuffer.c \ - ../common/glcontextmodes.c - DRIVER_SOURCES = \ mach64_context.c \ mach64_ioctl.c \ diff --git a/src/mesa/drivers/dri/mga/Makefile b/src/mesa/drivers/dri/mga/Makefile index 51ece86bc2c..a871064c629 100644 --- a/src/mesa/drivers/dri/mga/Makefile +++ b/src/mesa/drivers/dri/mga/Makefile @@ -7,17 +7,6 @@ LIBNAME = mga_dri.so MINIGLX_SOURCES = server/mga_dri.c -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/xmlconfig.c \ - ../common/dri_util.c \ - ../common/drirenderbuffer.c \ - ../common/glcontextmodes.c - DRIVER_SOURCES = \ mgadd.c \ mgaioctl.c \ diff --git a/src/mesa/drivers/dri/r128/Makefile b/src/mesa/drivers/dri/r128/Makefile index 5cd518e9bc4..796dfbc5167 100644 --- a/src/mesa/drivers/dri/r128/Makefile +++ b/src/mesa/drivers/dri/r128/Makefile @@ -7,17 +7,6 @@ LIBNAME = r128_dri.so MINIGLX_SOURCES = server/r128_dri.c -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/xmlconfig.c \ - ../common/dri_util.c \ - ../common/drirenderbuffer.c \ - ../common/glcontextmodes.c - DRIVER_SOURCES = \ r128_context.c \ r128_lock.c \ diff --git a/src/mesa/drivers/dri/r200/Makefile b/src/mesa/drivers/dri/r200/Makefile index 324e5499225..60a048bae08 100644 --- a/src/mesa/drivers/dri/r200/Makefile +++ b/src/mesa/drivers/dri/r200/Makefile @@ -7,18 +7,6 @@ LIBNAME = r200_dri.so MINIGLX_SOURCES = server/radeon_dri.c - -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/xmlconfig.c \ - ../common/dri_util.c \ - ../common/drirenderbuffer.c \ - ../common/glcontextmodes.c - DRIVER_SOURCES = r200_context.c \ r200_ioctl.c \ r200_lock.c \ diff --git a/src/mesa/drivers/dri/radeon/Makefile b/src/mesa/drivers/dri/radeon/Makefile index af5f203f3cc..b0ef172993d 100644 --- a/src/mesa/drivers/dri/radeon/Makefile +++ b/src/mesa/drivers/dri/radeon/Makefile @@ -8,17 +8,6 @@ LIBNAME = radeon_dri.so MINIGLX_SOURCES = server/radeon_dri.c -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/xmlconfig.c \ - ../common/dri_util.c \ - ../common/drirenderbuffer.c \ - ../common/glcontextmodes.c - DRIVER_SOURCES = \ radeon_context.c \ radeon_ioctl.c \ diff --git a/src/mesa/drivers/dri/s3v/Makefile b/src/mesa/drivers/dri/s3v/Makefile index 2c7bafaa035..9bd79731548 100644 --- a/src/mesa/drivers/dri/s3v/Makefile +++ b/src/mesa/drivers/dri/s3v/Makefile @@ -8,17 +8,6 @@ LIBNAME = s3v_dri.so # Doesn't exist yet. #MINIGLX_SOURCES = server/savage_dri.c -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/xmlconfig.c \ - ../common/dri_util.c \ - ../common/drirenderbuffer.c \ - ../common/glcontextmodes.c - DRIVER_SOURCES = \ s3v_context.c \ s3v_dd.c \ diff --git a/src/mesa/drivers/dri/savage/Makefile b/src/mesa/drivers/dri/savage/Makefile index 243559f5bf2..018482f66be 100644 --- a/src/mesa/drivers/dri/savage/Makefile +++ b/src/mesa/drivers/dri/savage/Makefile @@ -8,17 +8,6 @@ LIBNAME = savage_dri.so # Doesn't exist yet. #MINIGLX_SOURCES = server/savage_dri.c -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/xmlconfig.c \ - ../common/dri_util.c \ - ../common/drirenderbuffer.c \ - ../common/glcontextmodes.c - DRIVER_SOURCES = \ savage_xmesa.c \ savagedd.c \ diff --git a/src/mesa/drivers/dri/sis/Makefile b/src/mesa/drivers/dri/sis/Makefile index 254800a4aad..32c64bdbf30 100644 --- a/src/mesa/drivers/dri/sis/Makefile +++ b/src/mesa/drivers/dri/sis/Makefile @@ -9,17 +9,6 @@ LIBNAME = sis_dri.so # Not yet # MINIGLX_SOURCES = server/sis_dri.c -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/xmlconfig.c \ - ../common/dri_util.c \ - ../common/drirenderbuffer.c \ - ../common/glcontextmodes.c - DRIVER_SOURCES = \ sis_alloc.c \ sis_clear.c \ diff --git a/src/mesa/drivers/dri/tdfx/Makefile b/src/mesa/drivers/dri/tdfx/Makefile index 5c51012d7b5..092c580feac 100644 --- a/src/mesa/drivers/dri/tdfx/Makefile +++ b/src/mesa/drivers/dri/tdfx/Makefile @@ -8,16 +8,6 @@ LIBNAME = tdfx_dri.so # not yet # MINIGLX_SOURCES = server/tdfx_dri.c -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/xmlconfig.c \ - ../common/dri_util.c \ - ../common/glcontextmodes.c - DRIVER_SOURCES = \ tdfx_context.c \ tdfx_dd.c \ diff --git a/src/mesa/drivers/dri/trident/Makefile b/src/mesa/drivers/dri/trident/Makefile index 69d674d528b..9ee24c504c1 100644 --- a/src/mesa/drivers/dri/trident/Makefile +++ b/src/mesa/drivers/dri/trident/Makefile @@ -8,17 +8,6 @@ LIBNAME = trident_dri.so # Not yet # MINIGLX_SOURCES = server/trident_dri.c -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/xmlconfig.c \ - ../common/dri_util.c \ - ../common/drirenderbuffer.c \ - ../common/glcontextmodes.c - DRIVER_SOURCES = \ trident_context.c \ trident_state.c \ diff --git a/src/mesa/drivers/dri/unichrome/Makefile b/src/mesa/drivers/dri/unichrome/Makefile index 30d1200733e..7875ba8f726 100644 --- a/src/mesa/drivers/dri/unichrome/Makefile +++ b/src/mesa/drivers/dri/unichrome/Makefile @@ -7,17 +7,6 @@ LIBNAME = unichrome_dri.so MINIGLX_SOURCES = server/via_dri.c -COMMON_SOURCES = \ - ../../common/driverfuncs.c \ - ../common/mm.c \ - ../common/utils.c \ - ../common/texmem.c \ - ../common/vblank.c \ - ../common/xmlconfig.c \ - ../common/dri_util.c \ - ../common/drirenderbuffer.c \ - ../common/glcontextmodes.c - DRIVER_SOURCES = \ via_context.c \ via_fb.c \