2012-06-02 17:23:12 -06:00
|
|
|
# $OpenBSD: Makefile,v 1.50 2012/06/02 23:23:12 matthieu Exp $
|
2012-06-02 09:58:19 -06:00
|
|
|
|
|
|
|
# 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
|
2011-09-10 11:52:09 -06:00
|
|
|
|
2007-01-01 03:36:43 -07:00
|
|
|
INPUT_DRV_DEFAULT= \
|
|
|
|
xf86-input-keyboard \
|
|
|
|
xf86-input-mouse \
|
2009-11-22 12:16:48 -07:00
|
|
|
xf86-input-usbtablet \
|
2011-11-05 08:32:44 -06:00
|
|
|
xf86-input-void \
|
2009-11-22 12:16:48 -07:00
|
|
|
xf86-input-ws
|
2007-01-01 03:36:43 -07:00
|
|
|
|
2011-09-10 11:52:09 -06:00
|
|
|
INPUT_DRV_COMMON = ${INPUT_DRV_DEFAULT} \
|
2011-11-05 08:32:44 -06:00
|
|
|
xf86-input-acecad xf86-input-elographics xf86-input-fpit \
|
2011-09-10 11:52:09 -06:00
|
|
|
xf86-input-hyperpen xf86-input-joystick xf86-input-mutouch \
|
|
|
|
xf86-input-penmount
|
2009-03-07 03:59:52 -07:00
|
|
|
|
2011-02-19 12:51:53 -07:00
|
|
|
INPUT_DRV_alpha=
|
2006-11-26 16:05:50 -07:00
|
|
|
|
2011-05-08 03:27:57 -06:00
|
|
|
INPUT_DRV_amd64= ${INPUT_DRV_COMMON} xf86-input-synaptics xf86-input-vmmouse
|
2006-11-26 16:05:50 -07:00
|
|
|
|
2012-02-07 12:46:11 -07:00
|
|
|
INPUT_DRV_hp300=
|
|
|
|
|
2011-01-02 07:04:18 -07:00
|
|
|
INPUT_DRV_hppa= ${INPUT_DRV_DEFAULT}
|
2007-04-10 07:23:52 -06:00
|
|
|
|
2011-05-08 03:27:57 -06:00
|
|
|
INPUT_DRV_i386= ${INPUT_DRV_COMMON} xf86-input-synaptics xf86-input-vmmouse
|
2006-11-26 16:05:50 -07:00
|
|
|
|
2007-05-10 13:35:29 -06:00
|
|
|
INPUT_DRV_landisk=
|
|
|
|
|
2010-02-03 23:25:40 -07:00
|
|
|
INPUT_DRV_loongson= ${INPUT_DRV_DEFAULT}
|
|
|
|
|
2012-03-04 07:50:24 -07:00
|
|
|
INPUT_DRV_mac68k=
|
2012-02-07 12:46:11 -07:00
|
|
|
|
2007-01-01 03:36:43 -07:00
|
|
|
INPUT_DRV_macppc= ${INPUT_DRV_COMMON}
|
|
|
|
|
|
|
|
INPUT_DRV_mvme68k=
|
|
|
|
INPUT_DRV_mvme88k=
|
2012-02-07 12:46:11 -07:00
|
|
|
|
2008-01-05 10:53:33 -07:00
|
|
|
INPUT_DRV_sgi= ${INPUT_DRV_DEFAULT}
|
2007-01-01 03:36:43 -07:00
|
|
|
|
|
|
|
INPUT_DRV_sparc64= ${INPUT_DRV_COMMON}
|
|
|
|
|
2007-05-12 08:24:59 -06:00
|
|
|
INPUT_DRV_vax=
|
|
|
|
|
2007-03-16 17:30:27 -06:00
|
|
|
INPUT_DRV_zaurus= ${INPUT_DRV_DEFAULT}
|
2007-01-01 03:36:43 -07:00
|
|
|
|
|
|
|
.if defined(INPUT_DRV_${MACHINE})
|
|
|
|
INPUT_DRV= ${INPUT_DRV_${MACHINE}}
|
|
|
|
.else
|
|
|
|
INPUT_DRV= ${INPUT_DRV_DEFAULT}
|
2006-11-26 16:05:50 -07:00
|
|
|
.endif
|
|
|
|
|
2011-02-19 12:51:53 -07:00
|
|
|
VIDEO_DRV_alpha=
|
2006-11-26 16:05:50 -07:00
|
|
|
|
2007-01-01 03:36:43 -07:00
|
|
|
VIDEO_DRV_amd64= \
|
2012-06-02 09:58:19 -06:00
|
|
|
xf86-video-apm xf86-video-ark xf86-video-ati \
|
2012-03-12 07:54:04 -06:00
|
|
|
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 \
|
2012-06-02 09:58:19 -06:00
|
|
|
xf86-video-radeonold xf86-video-s3 \
|
2012-03-12 07:54:04 -06:00
|
|
|
xf86-video-s3virge xf86-video-savage xf86-video-siliconmotion \
|
|
|
|
xf86-video-sis xf86-video-tdfx xf86-video-trident \
|
2012-06-02 09:58:19 -06:00
|
|
|
xf86-video-vesa xf86-video-vmware \
|
2009-12-12 02:46:40 -07:00
|
|
|
xf86-video-wsudl
|
|
|
|
|
2012-06-02 09:58:19 -06:00
|
|
|
.if !$(USING_XSERVER_112)
|
|
|
|
VIDEO_DRV_amd64 += xf86-video-chips xf86-video-rendition xf86-video-tseng
|
|
|
|
.endif
|
|
|
|
|
2009-12-12 02:46:40 -07:00
|
|
|
VIDEO_DRV_armish= \
|
|
|
|
xf86-video-wsfb xf86-video-wsudl
|
2006-11-26 16:05:50 -07:00
|
|
|
|
2012-02-07 12:46:11 -07:00
|
|
|
VIDEO_DRV_hp300=
|
|
|
|
|
2011-01-02 07:04:18 -07:00
|
|
|
VIDEO_DRV_hppa= \
|
|
|
|
xf86-video-wsfb \
|
|
|
|
xf86-video-wsudl
|
2007-05-08 10:33:02 -06:00
|
|
|
|
2007-01-01 03:36:43 -07:00
|
|
|
VIDEO_DRV_i386= \
|
2012-03-12 07:54:04 -06:00
|
|
|
${VIDEO_DRV_amd64} \
|
2008-06-14 16:29:23 -06:00
|
|
|
xf86-video-geode \
|
2012-06-02 09:58:19 -06:00
|
|
|
xf86-video-i740
|
|
|
|
|
|
|
|
.if !$(USING_XSERVER_112)
|
2012-06-02 17:23:12 -06:00
|
|
|
VIDEO_DRV_i386 += xf86-video-voodoo
|
2012-06-02 09:58:19 -06:00
|
|
|
.endif
|
2007-01-01 03:36:43 -07:00
|
|
|
|
2007-05-10 13:35:29 -06:00
|
|
|
VIDEO_DRV_landisk=
|
|
|
|
|
2012-03-12 15:22:30 -06:00
|
|
|
VIDEO_DRV_loongson= \
|
|
|
|
xf86-video-wsfb
|
2010-02-03 23:25:40 -07:00
|
|
|
|
2012-02-07 12:46:11 -07:00
|
|
|
VIDEO_DRV_mac68k=
|
|
|
|
|
2007-01-01 03:36:43 -07:00
|
|
|
VIDEO_DRV_macppc= \
|
2008-07-12 09:50:48 -06:00
|
|
|
xf86-video-ati xf86-video-mach64 xf86-video-nv xf86-video-r128 \
|
2012-03-12 07:41:19 -06:00
|
|
|
xf86-video-radeonold xf86-video-wsfb xf86-video-wsudl
|
2007-01-01 03:36:43 -07:00
|
|
|
|
|
|
|
VIDEO_DRV_mvme68k=
|
|
|
|
VIDEO_DRV_mvme88k=
|
2012-02-07 12:46:11 -07:00
|
|
|
|
2008-01-05 10:53:33 -07:00
|
|
|
VIDEO_DRV_sgi= xf86-video-wsfb
|
2007-01-01 03:36:43 -07:00
|
|
|
|
|
|
|
VIDEO_DRV_sparc64= \
|
2009-06-04 12:36:30 -06:00
|
|
|
xf86-video-ati xf86-video-mach64 xf86-video-r128 xf86-video-glint \
|
2012-03-12 07:41:19 -06:00
|
|
|
xf86-video-radeonold xf86-video-sunffb \
|
2009-01-01 12:30:20 -07:00
|
|
|
xf86-video-wildcatfb xf86-video-wsfb
|
2006-11-29 07:38:08 -07:00
|
|
|
|
2007-05-12 08:24:59 -06:00
|
|
|
VIDEO_DRV_vax=
|
|
|
|
|
2007-01-01 03:36:43 -07:00
|
|
|
.if defined(VIDEO_DRV_${MACHINE})
|
|
|
|
VIDEO_DRV= ${VIDEO_DRV_${MACHINE}}
|
|
|
|
.else
|
|
|
|
VIDEO_DRV= xf86-video-wsfb
|
2006-11-26 16:05:50 -07:00
|
|
|
.endif
|
|
|
|
|
|
|
|
SUBDIR= ${INPUT_DRV} ${VIDEO_DRV}
|
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|
|
|
|
|
|
|
|
build: _SUBDIRUSE
|