1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
#
# Makefile for the drm device driver. This driver provides support for
# the Direct Rendering Infrastructure (DRI) in XFree86 4.x.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definitions are now inherited from the
# parent makes..
#
O_TARGET := drm.o
L_OBJS := init.o memory.o proc.o auth.o context.o drawable.o bufs.o \
lists.o lock.o ioctl.o fops.o vm.o dma.o ctxbitmap.o \
agpsupport.o
M_OBJS :=
ifdef CONFIG_DRM_AGP
L_OBJS += agpsupport.o
endif
ifeq ($(CONFIG_DRM_GAMMA),y)
OX_OBJS += gamma_drv.o
O_OBJS += gamma_dma.o
else
ifeq ($(CONFIG_DRM_GAMMA),m)
MIX_OBJS += gamma_drv.o
MI_OBJS += gamma_dma.o
M_OBJS += gamma.o
endif
endif
ifeq ($(CONFIG_DRM_TDFX),y)
OX_OBJS += tdfx_drv.o
O_OBJS += tdfx_context.o
else
ifeq ($(CONFIG_DRM_TDFX),m)
MIX_OBJS += tdfx_drv.o
MI_OBJS += tdfx_context.o
M_OBJS += tdfx.o
endif
endif
ifeq ($(CONFIG_DRM_MGA),y)
OX_OBJS += mga_drv.o
O_OBJS += mga_context.o mga_dma.o mga_bufs.o mga_state.o
else
ifeq ($(CONFIG_DRM_MGA),m)
MIX_OBJS += mga_drv.o
MI_OBJS += mga_context.o mga_dma.o mga_bufs.o mga_state.o
M_OBJS += mga.o
endif
endif
ifeq ($(CONFIG_DRM_I810),y)
OX_OBJS += i810_drv.o
O_OBJS += i810_context.o i810_bufs.o i810_dma.o
else
ifeq ($(CONFIG_DRM_I810),m)
MIX_OBJS += i810_drv.o
MI_OBJS += i810_context.o i810_bufs.o i810_dma.o
M_OBJS += i810.o
endif
endif
ifeq ($(CONFIG_DRM_R128),y)
OX_OBJS += r128_drv.o
O_OBJS += r128_context.o r128_bufs.o r128_dma.o
else
ifeq ($(CONFIG_DRM_R128),m)
MIX_OBJS += r128_drv.o
MI_OBJS += r128_context.o r128_bufs.o r128_dma.o
M_OBJS += r128.o
endif
endif
ifeq ($(CONFIG_DRM_FFB),y)
OX_OBJS += ffb_drv.o
O_OBJS += ffb_context.o
else
ifeq ($(CONFIG_DRM_FFB),m)
MIX_OBJC += ffb_drv.o
MI_OBJS += ffb_context.o
M_OBJS += ffb.o
endif
endif
O_OBJS += $(L_OBJS)
include $(TOPDIR)/Rules.make
gamma.o : gamma_drv.o gamma_dma.o $(L_OBJS)
$(LD) $(LD_RFLAG) -r -o $@ gamma_drv.o gamma_dma.o $(L_OBJS)
tdfx.o: tdfx_drv.o tdfx_context.o $(L_OBJS)
$(LD) $(LD_RFLAG) -r -o $@ tdfx_drv.o tdfx_context.o $(L_OBJS)
mga.o: mga_drv.o mga_context.o mga_dma.o mga_bufs.o mga_state.o $(L_OBJS)
$(LD) $(LD_RFLAG) -r -o $@ mga_drv.o mga_bufs.o mga_dma.o \
mga_context.o mga_state.o $(L_OBJS)
i810.o: i810_drv.o i810_context.o i810_bufs.o i810_dma.o $(L_OBJS)
$(LD) $(LD_RFLAG) -r -o $@ i810_drv.o i810_bufs.o i810_dma.o \
i810_context.o $(L_OBJS)
r128.o: r128_drv.o r128_context.o r128_bufs.o r128_dma.o $(L_OBJS)
$(LD) $(LD_RFLAG) -r -o $@ r128_drv.o r128_bufs.o r128_dma.o \
r128_context.o $(L_OBJS)
ffb.o: ffb_drv.o ffb_context.o $(L_OBJS)
$(LD) $(LD_RFLAG) -r -o $@ ffb_drv.o ffb_context.o $(L_OBJS)
|