xref: /minix/external/mit/xorg/server/drivers/Makefile (revision 9f988b79)
1#	$NetBSD: Makefile,v 1.63 2012/07/19 19:23:52 macallan Exp $
2
3# xf86-input drivers
4
5SUBDIR= \
6	xf86-input-keyboard \
7	xf86-input-mouse \
8	#MINIX: 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-xgi
65#	xf86-video-rendition
66
67# does not compile yet on MINIX
68#	xf86-video-wsfb \
69
70.if ${MACHINE_ARCH} == "i386"
71SUBDIR+= \
72	xf86-video-geode
73.endif	# ${MACHINE_ARCH} == "i386"
74
75.endif	# ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
76
77.if ${MACHINE} == "alpha"
78SUBDIR+= \
79	xf86-video-apm \
80	xf86-video-ark \
81	xf86-video-ast \
82	xf86-video-ati \
83	xf86-video-chips \
84	xf86-video-cirrus \
85	xf86-video-cirrus_alpine \
86	xf86-video-cirrus_laguna \
87	xf86-video-glint \
88	xf86-video-i128 \
89	xf86-video-i740 \
90	xf86-video-mach64 \
91	xf86-video-mga \
92	xf86-video-nv \
93	xf86-video-r128 \
94	xf86-video-radeon \
95	xf86-video-radeonhd \
96	xf86-video-s3 \
97	xf86-video-s3virge \
98	xf86-video-savage \
99	xf86-video-siliconmotion \
100	xf86-video-sis \
101	xf86-video-tdfx \
102	xf86-video-tga \
103	xf86-video-trident \
104	xf86-video-tseng \
105	xf86-video-wsfb
106#	xf86-video-imstt
107.endif	# ${MACHINE} == "alpha"
108
109.if ${MACHINE} == "bebox"
110SUBDIR+= \
111	xf86-video-cirrus \
112	xf86-video-cirrus_alpine \
113	xf86-video-mga \
114	xf86-video-s3 \
115	xf86-video-s3virge
116.endif	# ${MACHINE} == "bebox"
117
118.if ${MACHINE} == "cats"
119SUBDIR+= \
120	xf86-video-apm \
121	xf86-video-ark \
122	xf86-video-ast \
123	xf86-video-ati \
124	xf86-video-chips \
125	xf86-video-cirrus \
126	xf86-video-cirrus_alpine \
127	xf86-video-cirrus_laguna \
128	xf86-video-glint \
129	xf86-video-i128 \
130	xf86-video-i740 \
131	xf86-video-mga \
132	xf86-video-neomagic \
133	xf86-video-nv \
134	xf86-video-radeon \
135	xf86-video-radeonhd \
136	xf86-video-s3 \
137	xf86-video-s3virge \
138	xf86-video-savage \
139	xf86-video-siliconmotion \
140	xf86-video-tdfx \
141	xf86-video-tga \
142	xf86-video-trident \
143	xf86-video-tseng \
144	xf86-video-vesa \
145	xf86-video-wsfb
146.endif	# ${MACHINE} == "cats"
147
148.if ${MACHINE} == "dreamcast"
149SUBDIR+= \
150	xf86-video-wsfb
151.endif	# ${MACHINE} == "dreamcast"
152
153.if ${MACHINE} == "evbarm"
154SUBDIR+= \
155	#xf86-video-wsfb
156.endif # ${MACHINE} == "evbarm"
157
158.if ${MACHINE} == "evbmips"
159SUBDIR+= \
160	xf86-video-siliconmotion \
161	xf86-video-sis \
162	xf86-video-wsfb
163.endif	# ${MACHINE} == "evbmips"
164
165.if ${MACHINE} == "ews4800mips"
166SUBDIR+= \
167	xf86-video-wsfb
168.endif	# ${MACHINE} == "ews4800mips"
169
170.if ${MACHINE} == "hp300"
171SUBDIR+= \
172	xf86-video-wsfb
173.endif	# ${MACHINE} == "hp300"
174
175.if ${MACHINE} == "hpcarm" || \
176    ${MACHINE} == "hpcmips" || \
177    ${MACHINE} == "hpcsh"
178SUBDIR+= \
179	xf86-video-wsfb
180.endif # ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcsh"
181
182.if ${MACHINE} == "luna68k"
183SUBDIR+= \
184	xf86-video-wsfb
185.endif	# ${MACHINE} == "luna68k"
186
187.if ${MACHINE} == "macppc"
188SUBDIR+= \
189	xf86-video-ati \
190	xf86-video-chips \
191	xf86-video-mach64 \
192	xf86-video-mga \
193	xf86-video-nv \
194	xf86-video-radeon \
195	xf86-video-r128 \
196	xf86-video-tdfx \
197	xf86-video-wsfb
198#	xf86-video-imstt
199.endif	# ${MACHINE} == "macppc"
200
201.if ${MACHINE} == "netwinder"
202SUBDIR+= \
203	xf86-video-wsfb
204#	xf86-video-igs
205.endif	# ${MACHINE} == "netwinder"
206
207.if ${MACHINE} == "newsmips"
208SUBDIR+= \
209	xf86-video-wsfb
210.endif	# ${MACHINE} == "newsmips"
211
212.if ${MACHINE} == "ofppc"
213SUBDIR+= \
214	xf86-video-ati \
215	xf86-video-chips \
216	xf86-video-mach64 \
217	xf86-video-mga \
218	xf86-video-nv \
219	xf86-video-radeon \
220	xf86-video-r128 \
221	xf86-video-tdfx \
222	xf86-video-wsfb
223.endif	# ${MACHINE} == "ofppc"
224
225.if ${MACHINE} == "prep"
226SUBDIR+= \
227	xf86-video-cirrus \
228	xf86-video-cirrus_alpine \
229	xf86-video-mga \
230	xf86-video-s3
231.endif	# ${MACHINE} == "prep"
232
233.if ${MACHINE} == "sgimips"
234SUBDIR+= \
235	xf86-video-crime \
236	xf86-video-newport \
237	xf86-video-wsfb
238.endif	# ${MACHINE} == "sgimips"
239
240.if ${MACHINE} == "shark"
241SUBDIR+= \
242	xf86-video-chips \
243        xf86-video-igs \
244        xf86-video-wsfb
245.endif	# ${MACHINE} == "shark"
246
247.if ${MACHINE} == "sparc" || \
248    ${MACHINE} == "sparc64"
249SUBDIR+= \
250	xf86-video-ag10e \
251	xf86-video-ati \
252	xf86-video-glint \
253	xf86-video-mach64 \
254	xf86-video-mga \
255	xf86-video-r128 \
256	xf86-video-radeon \
257	xf86-video-suncg6 \
258	xf86-video-sunffb \
259	xf86-video-sunleo \
260	xf86-video-wsfb
261.if ${MACHINE} == "sparc"
262SUBDIR+= \
263	xf86-video-pnozz \
264	xf86-video-suncg14 \
265	xf86-video-suntcx
266.endif	# ${MACHINE} == "sparc"
267.endif	# ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
268
269.if ${MACHINE} == "vax"
270SUBDIR+= \
271	xf86-video-wsfb
272.endif	# ${MACHINE} == "vax"
273
274.if ${MACHINE} == "zaurus"
275SUBDIR+= \
276	xf86-video-wsfb
277.endif # ${MACHINE} == "zaurus"
278
279# broken with xorg-server 1.6
280# x86
281#	xf86-video-nsc \
282#	xf86-video-vga \
283# alpha
284#	xf86-video-vga \
285# bebox
286#	xf86-video-vga
287# prep
288#	xf86-video-vga
289
290.include <bsd.subdir.mk>
291