Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#	$NetBSD: Makefile,v 1.2 2015/12/20 01:07:58 christos Exp $

.include <bsd.own.mk>

DRIVER=		xf86-video-intel-old
DRIVER_NAME=	intel_drv_old

SRCS=		drmmode_display.c i810_accel.c i810_cursor.c i810_dga.c
SRCS+=		i810_dri.c i810_driver.c i810_io.c i810_memory.c i810_video.c
SRCS+=		i810_wmark.c i830_3d.c i830_accel.c i830_bios.c
SRCS+=		i830_batchbuffer.c i830_crt.c i830_cursor.c i830_debug.c
SRCS+=		i830_display.c i830_quirks.c i830_driver.c i830_dvo.c
SRCS+=		i830_hdmi.c i830_i2c.c i830_io.c i830_lvds.c i830_memory.c
SRCS+=		i830_modes.c i830_sdvo.c i830_tv.c i830_uxa.c i830_video.c
SRCS+=		i915_3d.c i915_video.c i965_video.c 
SRCS+=		i830_render.c i915_render.c i965_render.c
SRCS+=		i830_dri.c
#SRCS+=		i830_hwmc.c i915_hwmc.c i965_hwmc.c

# uxa
.PATH:	${X11SRCDIR.${DRIVER}}/uxa
SRCS+=		uxa-accel.c uxa-unaccel.c uxa-glyphs.c uxa-render.c uxa.c

MAN=		intel_old.4
CLEANFILES+=	intel_old.man

CPPFLAGS+=      -I${DESTDIR}${X11INCDIR}/X11
CPPFLAGS+=      -I${DESTDIR}${X11INCDIR}/X11/dri
CPPFLAGS+=      -I${DESTDIR}${X11INCDIR}/libdrm
CPPFLAGS+=	-I${X11SRCDIR.${DRIVER}}/uxa
CPPFLAGS+=	-I${X11SRCDIR.${DRIVER}}/src/render_program
#CPPFLAGS+=	-I${X11SRCDIR.${DRIVER}}/src/xvmc
CPPFLAGS+=	-DI830_XV # -DINTEL_XVMC

LDADD+=		-ldrm_intel

.include "../Makefile.xf86-driver"

SUBDIR= ch7017 ch7xxx ivch sil164 tfp410

CWARNFLAGS.clang+=	-Wno-parentheses -Wno-tautological-compare \
			-Wno-empty-body -Wno-error

.include <bsd.subdir.mk>

intel_old.man:	intel.man
	${_MKTARGET_CREATE}
	${TOOL_SED} -e 's/[[:<:]]intel[[:>:]]/intel_old/g' ${.ALLSRC} > ${.TARGET}