xref: /netbsd-src/external/mit/xorg/server/drivers/Makefile (revision 7f21db1c0118155e0dd40b75182e30c589d9f63e)
1#	$NetBSD: Makefile,v 1.38 2009/12/13 05:04:36 nonaka Exp $
2
3SUBDIR= \
4	xf86-input-keyboard \
5	xf86-input-mouse \
6	xf86-input-void \
7	xf86-input-ws
8
9.if ${MACHINE_ARCH} == "i386"
10SUBDIR+= \
11	xf86-input-elographics
12.endif
13
14.if ${MACHINE_ARCH} == "i386" || \
15    ${MACHINE_ARCH} == "x86_64"
16SUBDIR+= \
17	xf86-input-vmmouse \
18	xf86-video-vmware \
19	xf86-video-vesa \
20	xf86-video-wsfb
21.endif
22
23.if ${MACHINE} == "cats"
24SUBDIR+= \
25	xf86-video-apm \
26	xf86-video-ark \
27	xf86-video-ast \
28	xf86-video-ati \
29	xf86-video-chips \
30	xf86-video-cirrus \
31	xf86-video-cirrus_alpine \
32	xf86-video-cirrus_laguna \
33	xf86-video-cirrus \
34	xf86-video-glint \
35	xf86-video-i128 \
36	xf86-video-i740 \
37	xf86-video-mga \
38	xf86-video-neomagic \
39	xf86-video-nv \
40	xf86-video-radeon \
41	xf86-video-radeonhd \
42	xf86-video-s3 \
43	xf86-video-s3virge \
44	xf86-video-savage \
45	xf86-video-siliconmotion \
46	xf86-video-tdfx \
47	xf86-video-tga \
48	xf86-video-trident \
49	xf86-video-tseng \
50	xf86-video-vesa \
51	xf86-video-wsfb
52.elif ${MACHINE} == "macppc"
53SUBDIR+= \
54	xf86-video-ati \
55	xf86-video-chips \
56	xf86-video-mach64 \
57	xf86-video-mga \
58	xf86-video-nv \
59	xf86-video-radeon \
60	xf86-video-r128 \
61	xf86-video-tdfx \
62	xf86-video-wsfb
63#	xf86-video-imstt
64.elif ${MACHINE} == "netwinder"
65SUBDIR+= \
66	xf86-video-wsfb
67#	xf86-video-igs
68.elif ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "sparc"
69SUBDIR+= \
70	xf86-video-ag10e \
71	xf86-video-ati \
72	xf86-video-glint \
73	xf86-video-mach64 \
74	xf86-video-mga \
75	xf86-video-r128 \
76	xf86-video-radeon \
77	xf86-video-suncg6 \
78	xf86-video-sunffb \
79	xf86-video-sunleo \
80	xf86-video-wsfb
81.if ${MACHINE} == "sparc"
82SUBDIR+= \
83	xf86-video-pnozz \
84	xf86-video-suntcx
85.endif
86.elif ${MACHINE} == "shark"
87SUBDIR+= \
88	xf86-video-chips \
89        xf86-video-igs \
90        xf86-video-wsfb
91.elif ${MACHINE} == "sgimips"
92SUBDIR+= \
93	xf86-video-crime \
94	xf86-video-wsfb \
95	xf86-video-newport
96.elif ${MACHINE} == "alpha"
97SUBDIR+= \
98	xf86-video-apm \
99	xf86-video-ark \
100	xf86-video-ast \
101	xf86-video-ati \
102	xf86-video-chips \
103	xf86-video-cirrus \
104	xf86-video-cirrus_alpine \
105	xf86-video-cirrus_laguna \
106	xf86-video-glint \
107	xf86-video-i128 \
108	xf86-video-i740 \
109	xf86-video-mach64 \
110	xf86-video-mga \
111	xf86-video-nv \
112	xf86-video-r128 \
113	xf86-video-radeon \
114	xf86-video-radeonhd \
115	xf86-video-s3 \
116	xf86-video-s3virge \
117	xf86-video-savage \
118	xf86-video-siliconmotion \
119	xf86-video-sis \
120	xf86-video-tdfx \
121	xf86-video-tga \
122	xf86-video-trident \
123	xf86-video-tseng \
124	xf86-video-wsfb
125#	xf86-video-imstt
126.elif ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
127SUBDIR+= \
128	xf86-video-apm \
129	xf86-video-ark \
130	xf86-video-ast \
131	xf86-video-ati \
132	xf86-video-chips \
133	xf86-video-cirrus \
134	xf86-video-cirrus_alpine \
135	xf86-video-cirrus_laguna \
136
137# replace with xf86-video-geode
138#	xf86-video-cyrix \
139
140SUBDIR+= \
141	xf86-video-glint \
142	xf86-video-i128 \
143	xf86-video-i740 \
144
145# needs porting for xorg-server 1.6
146#	xf86-video-imstt \
147
148SUBDIR+= \
149	xf86-video-intel \
150	xf86-video-mach64 \
151	xf86-video-mga \
152	xf86-video-neomagic \
153	xf86-video-nv \
154	xf86-video-r128 \
155	xf86-video-radeon \
156	xf86-video-radeonhd \
157	xf86-video-s3 \
158	xf86-video-s3virge \
159	xf86-video-savage \
160	xf86-video-siliconmotion \
161	xf86-video-sis \
162	xf86-video-tdfx \
163	xf86-video-tga \
164	xf86-video-trident \
165	xf86-video-tseng \
166
167# replace with xf86-video-openchrome
168#	xf86-video-via
169.elif ${MACHINE} == "zaurus"
170SUBDIR+= \
171	xf86-video-wsfb
172.endif
173
174# broken with xorg-server 1.6
175# x86
176#	xf86-video-nsc \
177#	xf86-video-vga \
178# alpha
179#	xf86-video-vga \
180
181#xf86-video-rendition
182
183.include <bsd.subdir.mk>
184