xref: /netbsd-src/external/mit/xorg/server/drivers/Makefile (revision 54c71dee8ce8ff710b7e2b5a511b77d6cae19a0e)
1#	$NetBSD: Makefile,v 1.44 2010/06/19 18:17:55 tsutsui Exp $
2
3SUBDIR= \
4	xf86-input-keyboard \
5	xf86-input-mouse \
6	xf86-input-ws
7
8.if ${MACHINE_ARCH} == "i386"
9SUBDIR+= \
10	xf86-input-elographics \
11	xf86-video-geode
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-suncg14 \
85	xf86-video-suntcx
86.endif
87.elif ${MACHINE} == "shark"
88SUBDIR+= \
89	xf86-video-chips \
90        xf86-video-igs \
91        xf86-video-wsfb
92.elif ${MACHINE} == "sgimips"
93SUBDIR+= \
94	xf86-video-crime \
95	xf86-video-wsfb \
96	xf86-video-newport
97.elif ${MACHINE} == "alpha"
98SUBDIR+= \
99	xf86-video-apm \
100	xf86-video-ark \
101	xf86-video-ast \
102	xf86-video-ati \
103	xf86-video-chips \
104	xf86-video-cirrus \
105	xf86-video-cirrus_alpine \
106	xf86-video-cirrus_laguna \
107	xf86-video-glint \
108	xf86-video-i128 \
109	xf86-video-i740 \
110	xf86-video-mach64 \
111	xf86-video-mga \
112	xf86-video-nv \
113	xf86-video-r128 \
114	xf86-video-radeon \
115	xf86-video-radeonhd \
116	xf86-video-s3 \
117	xf86-video-s3virge \
118	xf86-video-savage \
119	xf86-video-siliconmotion \
120	xf86-video-sis \
121	xf86-video-tdfx \
122	xf86-video-tga \
123	xf86-video-trident \
124	xf86-video-tseng \
125	xf86-video-wsfb
126#	xf86-video-imstt
127.elif ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
128SUBDIR+= \
129	xf86-video-apm \
130	xf86-video-ark \
131	xf86-video-ast \
132	xf86-video-ati \
133	xf86-video-chips \
134	xf86-video-cirrus \
135	xf86-video-cirrus_alpine \
136	xf86-video-cirrus_laguna \
137	xf86-video-glint \
138	xf86-video-i128 \
139	xf86-video-i740 \
140
141# needs porting for xorg-server 1.6
142#	xf86-video-imstt \
143
144SUBDIR+= \
145	xf86-video-intel \
146	xf86-video-mach64 \
147	xf86-video-mga \
148	xf86-video-neomagic \
149	xf86-video-nv \
150	xf86-video-openchrome \
151	xf86-video-r128 \
152	xf86-video-radeon \
153	xf86-video-radeonhd \
154	xf86-video-s3 \
155	xf86-video-s3virge \
156	xf86-video-savage \
157	xf86-video-siliconmotion \
158	xf86-video-sis \
159	xf86-video-tdfx \
160	xf86-video-tga \
161	xf86-video-trident \
162	xf86-video-tseng \
163
164.elif ${MACHINE} == "dreamcast"
165SUBDIR+= \
166	xf86-video-wsfb
167.elif ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcsh"
168SUBDIR+= \
169	xf86-video-wsfb
170.elif ${MACHINE} == "zaurus"
171SUBDIR+= \
172	xf86-video-wsfb
173.endif
174
175# broken with xorg-server 1.6
176# x86
177#	xf86-video-nsc \
178#	xf86-video-vga \
179# alpha
180#	xf86-video-vga \
181
182#xf86-video-rendition
183
184.include <bsd.subdir.mk>
185