summaryrefslogtreecommitdiff
path: root/driver/Makefile
blob: d7ebe19c288193f622f6d23cea76d5b021f07948 (plain)
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
115
116
117
118
119
120
121
122
123
124
125
126
# $OpenBSD: Makefile,v 1.50 2012/06/02 23:23:12 matthieu Exp $

# Check for Xserver 1.12 or later
USING_XSERVER_112 != if pkg-config --atleast-version 1.10 xorg-server; then \
               echo 1; \
       else \
               echo 0; \
       fi

INPUT_DRV_DEFAULT= \
	xf86-input-keyboard \
	xf86-input-mouse \
	xf86-input-usbtablet \
	xf86-input-void \
	xf86-input-ws

INPUT_DRV_COMMON = ${INPUT_DRV_DEFAULT} \
	xf86-input-acecad xf86-input-elographics xf86-input-fpit \
	xf86-input-hyperpen xf86-input-joystick xf86-input-mutouch \
	xf86-input-penmount

INPUT_DRV_alpha=

INPUT_DRV_amd64= ${INPUT_DRV_COMMON} xf86-input-synaptics xf86-input-vmmouse

INPUT_DRV_hp300=

INPUT_DRV_hppa= ${INPUT_DRV_DEFAULT}

INPUT_DRV_i386= ${INPUT_DRV_COMMON} xf86-input-synaptics xf86-input-vmmouse

INPUT_DRV_landisk=

INPUT_DRV_loongson= ${INPUT_DRV_DEFAULT}

INPUT_DRV_mac68k=

INPUT_DRV_macppc= ${INPUT_DRV_COMMON}

INPUT_DRV_mvme68k=
INPUT_DRV_mvme88k=

INPUT_DRV_sgi= ${INPUT_DRV_DEFAULT}

INPUT_DRV_sparc64= ${INPUT_DRV_COMMON}

INPUT_DRV_vax=

INPUT_DRV_zaurus= ${INPUT_DRV_DEFAULT}

.if defined(INPUT_DRV_${MACHINE})
INPUT_DRV= ${INPUT_DRV_${MACHINE}}
.else
INPUT_DRV= ${INPUT_DRV_DEFAULT}
.endif

VIDEO_DRV_alpha=

VIDEO_DRV_amd64= \
	xf86-video-apm xf86-video-ark xf86-video-ati   \
	xf86-video-cirrus xf86-video-dummy xf86-video-glint \
	xf86-video-i128 xf86-video-intel xf86-video-mach64 \
	xf86-video-mga xf86-video-neomagic \
	xf86-video-nv xf86-video-openchrome xf86-video-r128 \
	xf86-video-radeonold xf86-video-s3 \
	xf86-video-s3virge xf86-video-savage xf86-video-siliconmotion \
	xf86-video-sis xf86-video-tdfx xf86-video-trident \
	xf86-video-vesa xf86-video-vmware \
	xf86-video-wsudl

.if !$(USING_XSERVER_112)
VIDEO_DRV_amd64 += xf86-video-chips  xf86-video-rendition xf86-video-tseng
.endif

VIDEO_DRV_armish= \
	xf86-video-wsfb	xf86-video-wsudl

VIDEO_DRV_hp300=

VIDEO_DRV_hppa= \
	xf86-video-wsfb \
	xf86-video-wsudl

VIDEO_DRV_i386= \
	${VIDEO_DRV_amd64} \
	xf86-video-geode \
	xf86-video-i740

.if !$(USING_XSERVER_112)
VIDEO_DRV_i386 += xf86-video-voodoo
.endif

VIDEO_DRV_landisk=

VIDEO_DRV_loongson= \
	xf86-video-wsfb

VIDEO_DRV_mac68k=

VIDEO_DRV_macppc= \
	xf86-video-ati xf86-video-mach64 xf86-video-nv xf86-video-r128 \
	xf86-video-radeonold xf86-video-wsfb xf86-video-wsudl

VIDEO_DRV_mvme68k=
VIDEO_DRV_mvme88k=

VIDEO_DRV_sgi= xf86-video-wsfb

VIDEO_DRV_sparc64= \
	xf86-video-ati xf86-video-mach64 xf86-video-r128 xf86-video-glint \
	xf86-video-radeonold xf86-video-sunffb \
	xf86-video-wildcatfb xf86-video-wsfb

VIDEO_DRV_vax=

.if defined(VIDEO_DRV_${MACHINE})
VIDEO_DRV= ${VIDEO_DRV_${MACHINE}}
.else
VIDEO_DRV= xf86-video-wsfb
.endif

SUBDIR= ${INPUT_DRV} ${VIDEO_DRV}

.include <bsd.subdir.mk>

build: _SUBDIRUSE