xref: /netbsd/external/mit/xorg/server/drivers/Makefile (revision 6550d01e)
1#	$NetBSD: Makefile,v 1.52 2011/01/02 11:24:20 mrg Exp $
2
3# xf86-input drivers
4
5SUBDIR= \
6	xf86-input-keyboard \
7	xf86-input-mouse \
8	xf86-input-ws
9
10.if ${MACHINE_ARCH} == "i386" || \
11    ${MACHINE_ARCH} == "x86_64"
12SUBDIR+= \
13	xf86-input-vmmouse
14
15.if ${MACHINE_ARCH} == "i386"
16SUBDIR+= \
17	xf86-input-elographics
18.endif
19
20.endif
21
22
23# xf86-video drivers
24
25.if ${MACHINE_ARCH} == "i386" || \
26    ${MACHINE_ARCH} == "x86_64"
27SUBDIR+= \
28	xf86-video-apm \
29	xf86-video-ark \
30	xf86-video-ast \
31	xf86-video-ati \
32	xf86-video-chips \
33	xf86-video-cirrus \
34	xf86-video-cirrus_alpine \
35	xf86-video-cirrus_laguna \
36	xf86-video-glint \
37	xf86-video-i128 \
38	xf86-video-i740 \
39
40# needs porting for xorg-server 1.6
41#	xf86-video-imstt \
42
43SUBDIR+= \
44	xf86-video-intel \
45	xf86-video-mach64 \
46	xf86-video-mga \
47	xf86-video-neomagic \
48	xf86-video-nv \
49	xf86-video-openchrome \
50	xf86-video-r128 \
51	xf86-video-radeon \
52	xf86-video-radeonhd \
53	xf86-video-s3 \
54	xf86-video-s3virge \
55	xf86-video-savage \
56	xf86-video-siliconmotion \
57	xf86-video-sis \
58	xf86-video-tdfx \
59	xf86-video-tga \
60	xf86-video-trident \
61	xf86-video-tseng \
62	xf86-video-vmware \
63	xf86-video-vesa \
64	xf86-video-wsfb
65#	xf86-video-rendition
66
67.if ${MACHINE_ARCH} == "i386"
68SUBDIR+= \
69	xf86-video-geode
70.endif	# ${MACHINE_ARCH} == "i386"
71
72.endif	# ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
73
74.if ${MACHINE} == "alpha"
75SUBDIR+= \
76	xf86-video-apm \
77	xf86-video-ark \
78	xf86-video-ast \
79	xf86-video-ati \
80	xf86-video-chips \
81	xf86-video-cirrus \
82	xf86-video-cirrus_alpine \
83	xf86-video-cirrus_laguna \
84	xf86-video-glint \
85	xf86-video-i128 \
86	xf86-video-i740 \
87	xf86-video-mach64 \
88	xf86-video-mga \
89	xf86-video-nv \
90	xf86-video-r128 \
91	xf86-video-radeon \
92	xf86-video-radeonhd \
93	xf86-video-s3 \
94	xf86-video-s3virge \
95	xf86-video-savage \
96	xf86-video-siliconmotion \
97	xf86-video-sis \
98	xf86-video-tdfx \
99	xf86-video-tga \
100	xf86-video-trident \
101	xf86-video-tseng \
102	xf86-video-wsfb
103#	xf86-video-imstt
104.endif	# ${MACHINE} == "alpha"
105
106.if ${MACHINE} == "bebox"
107SUBDIR+= \
108	xf86-video-cirrus \
109	xf86-video-cirrus_alpine \
110	xf86-video-mga \
111	xf86-video-s3 \
112	xf86-video-s3virge
113.endif	# ${MACHINE} == "bebox"
114
115.if ${MACHINE} == "cats"
116SUBDIR+= \
117	xf86-video-apm \
118	xf86-video-ark \
119	xf86-video-ast \
120	xf86-video-ati \
121	xf86-video-chips \
122	xf86-video-cirrus \
123	xf86-video-cirrus_alpine \
124	xf86-video-cirrus_laguna \
125	xf86-video-glint \
126	xf86-video-i128 \
127	xf86-video-i740 \
128	xf86-video-mga \
129	xf86-video-neomagic \
130	xf86-video-nv \
131	xf86-video-radeon \
132	xf86-video-radeonhd \
133	xf86-video-s3 \
134	xf86-video-s3virge \
135	xf86-video-savage \
136	xf86-video-siliconmotion \
137	xf86-video-tdfx \
138	xf86-video-tga \
139	xf86-video-trident \
140	xf86-video-tseng \
141	xf86-video-vesa \
142	xf86-video-wsfb
143.endif	# ${MACHINE} == "cats"
144
145.if ${MACHINE} == "dreamcast"
146SUBDIR+= \
147	xf86-video-wsfb
148.endif	# ${MACHINE} == "dreamcast"
149
150.if ${MACHINE} == "hpcarm" || \
151    ${MACHINE} == "hpcmips" || \
152    ${MACHINE} == "hpcsh"
153SUBDIR+= \
154	xf86-video-wsfb
155.endif # ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcsh"
156
157.if ${MACHINE} == "macppc"
158SUBDIR+= \
159	xf86-video-ati \
160	xf86-video-chips \
161	xf86-video-mach64 \
162	xf86-video-mga \
163	xf86-video-nv \
164	xf86-video-radeon \
165	xf86-video-r128 \
166	xf86-video-tdfx \
167	xf86-video-wsfb
168#	xf86-video-imstt
169.endif	# ${MACHINE} == "macppc"
170
171.if ${MACHINE} == "ofppc"
172SUBDIR+= \
173	xf86-video-ati \
174	xf86-video-chips \
175	xf86-video-mach64 \
176	xf86-video-mga \
177	xf86-video-nv \
178	xf86-video-radeon \
179	xf86-video-r128 \
180	xf86-video-tdfx \
181	xf86-video-wsfb
182.endif	# ${MACHINE} == "ofppc"
183
184.if ${MACHINE} == "netwinder"
185SUBDIR+= \
186	xf86-video-wsfb
187#	xf86-video-igs
188.endif	# ${MACHINE} == "netwinder"
189
190.if ${MACHINE} == "prep"
191SUBDIR+= \
192	xf86-video-cirrus \
193	xf86-video-cirrus_alpine \
194	xf86-video-mga \
195	xf86-video-s3
196.endif	# ${MACHINE} == "prep"
197
198.if ${MACHINE} == "sgimips"
199SUBDIR+= \
200	xf86-video-crime \
201	xf86-video-newport \
202	xf86-video-wsfb
203.endif	# ${MACHINE} == "sgimips"
204
205.if ${MACHINE} == "shark"
206SUBDIR+= \
207	xf86-video-chips \
208        xf86-video-igs \
209        xf86-video-wsfb
210.endif	# ${MACHINE} == "shark"
211
212.if ${MACHINE} == "sparc" || \
213    ${MACHINE} == "sparc64"
214SUBDIR+= \
215	xf86-video-ag10e \
216	xf86-video-ati \
217	xf86-video-glint \
218	xf86-video-mach64 \
219	xf86-video-mga \
220	xf86-video-r128 \
221	xf86-video-radeon \
222	xf86-video-suncg6 \
223	xf86-video-sunffb \
224	xf86-video-sunleo \
225	xf86-video-wsfb
226.if ${MACHINE} == "sparc"
227SUBDIR+= \
228	xf86-video-pnozz \
229	xf86-video-suncg14 \
230	xf86-video-suntcx
231.endif	# ${MACHINE} == "sparc"
232.endif	# ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
233
234.if ${MACHINE} == "zaurus"
235SUBDIR+= \
236	xf86-video-wsfb
237.endif ${MACHINE} == "zaurus"
238
239# broken with xorg-server 1.6
240# x86
241#	xf86-video-nsc \
242#	xf86-video-vga \
243# alpha
244#	xf86-video-vga \
245# bebox
246#	xf86-video-vga
247# prep
248#	xf86-video-vga
249
250.include <bsd.subdir.mk>
251