head	1.3;
access;
symbols
	netbsd-11-0-RC4:1.3
	netbsd-11-0-RC3:1.3
	netbsd-11-0-RC2:1.3
	netbsd-11-0-RC1:1.3
	perseant-exfatfs-base-20250801:1.3
	netbsd-11:1.3.0.14
	netbsd-11-base:1.3
	netbsd-10-1-RELEASE:1.3
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.12
	perseant-exfatfs-base:1.3
	netbsd-8-3-RELEASE:1.2
	netbsd-9-4-RELEASE:1.3
	netbsd-10-0-RELEASE:1.3
	netbsd-10-0-RC6:1.3
	netbsd-10-0-RC5:1.3
	netbsd-10-0-RC4:1.3
	netbsd-10-0-RC3:1.3
	netbsd-10-0-RC2:1.3
	netbsd-10-0-RC1:1.3
	netbsd-10:1.3.0.10
	netbsd-10-base:1.3
	netbsd-9-3-RELEASE:1.3
	cjep_sun2x-base1:1.3
	cjep_sun2x:1.3.0.8
	cjep_sun2x-base:1.3
	cjep_staticlib_x-base1:1.3
	netbsd-9-2-RELEASE:1.3
	cjep_staticlib_x:1.3.0.6
	cjep_staticlib_x-base:1.3
	netbsd-9-1-RELEASE:1.3
	phil-wifi-20200421:1.3
	phil-wifi-20200411:1.3
	is-mlppp:1.3.0.4
	is-mlppp-base:1.3
	phil-wifi-20200406:1.3
	netbsd-8-2-RELEASE:1.2
	netbsd-9-0-RELEASE:1.3
	netbsd-9-0-RC2:1.3
	netbsd-9-0-RC1:1.3
	phil-wifi-20191119:1.3
	netbsd-9:1.3.0.2
	netbsd-9-base:1.3
	phil-wifi-20190609:1.3
	netbsd-8-1-RELEASE:1.2
	netbsd-8-1-RC1:1.2
	pgoyette-compat-merge-20190127:1.2
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.2
	pgoyette-compat-1126:1.2
	pgoyette-compat-1020:1.2
	pgoyette-compat-0930:1.2
	pgoyette-compat-0906:1.2
	netbsd-7-2-RELEASE:1.2.2.2
	pgoyette-compat-0728:1.2
	netbsd-8-0-RELEASE:1.2
	phil-wifi:1.2.0.18
	phil-wifi-base:1.2
	pgoyette-compat-0625:1.2
	netbsd-8-0-RC2:1.2
	pgoyette-compat-0521:1.2
	pgoyette-compat-0502:1.2
	pgoyette-compat-0422:1.2
	netbsd-8-0-RC1:1.2
	pgoyette-compat-0415:1.2
	pgoyette-compat-0407:1.2
	pgoyette-compat-0330:1.2
	pgoyette-compat-0322:1.2
	pgoyette-compat-0315:1.2
	netbsd-7-1-2-RELEASE:1.2.2.2
	pgoyette-compat:1.2.0.16
	pgoyette-compat-base:1.2
	netbsd-7-1-1-RELEASE:1.2.2.2
	matt-nb8-mediatek:1.2.0.14
	matt-nb8-mediatek-base:1.2
	perseant-stdc-iso10646:1.2.0.12
	perseant-stdc-iso10646-base:1.2
	netbsd-8:1.2.0.10
	netbsd-8-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.8
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	pgoyette-localcount-20170320:1.2
	netbsd-7-1:1.2.2.2.0.2
	netbsd-7-1-RELEASE:1.2.2.2
	netbsd-7-1-RC2:1.2.2.2
	netbsd-7-nhusb:1.2.0.6
	netbsd-7-nhusb-base-20170116:1.2.2.2
	bouyer-socketcan:1.2.0.4
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	netbsd-7-1-RC1:1.2.2.2
	netbsd-7:1.2.0.2
	pgoyette-localcount-20161104:1.2
	localcount-20160914:1.2
	pgoyette-localcount-20160806:1.1
	pgoyette-localcount-20160726:1.1
	pgoyette-localcount:1.1.0.2
	pgoyette-localcount-base:1.1;
locks; strict;
comment	@# @;


1.3
date	2019.03.03.17.52.32;	author maya;	state Exp;
branches;
next	1.2;
commitid	KcgwokRVYZGcHWdB;

1.2
date	2016.08.21.18.23.33;	author joerg;	state Exp;
branches
	1.2.2.1
	1.2.6.1
	1.2.18.1;
next	1.1;
commitid	SkPxUpauSHWrzcjz;

1.1
date	2015.10.13.04.33.21;	author mrg;	state Exp;
branches;
next	;
commitid	jY3qZOgYSsoi2UEy;

1.2.2.1
date	2016.08.21.18.23.33;	author msaitoh;	state dead;
branches;
next	1.2.2.2;
commitid	ml1l0f5xfO5N9Gxz;

1.2.2.2
date	2016.12.12.10.01.17;	author msaitoh;	state Exp;
branches;
next	;
commitid	ml1l0f5xfO5N9Gxz;

1.2.6.1
date	2016.08.21.18.23.33;	author skrll;	state dead;
branches;
next	1.2.6.2;
commitid	M6f3RyDtiAR3wqCz;

1.2.6.2
date	2017.01.18.08.46.22;	author skrll;	state Exp;
branches;
next	;
commitid	M6f3RyDtiAR3wqCz;

1.2.18.1
date	2019.06.10.22.02.41;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;


desc
@@


1.3
log
@Install more libdrm nouveau headers.

These will be used by mesa 18.
@
text
@#      $NetBSD: Makefile,v 1.2 2016/08/21 18:23:33 joerg Exp $

.include <bsd.own.mk>

LIB=	drm_nouveau
.PATH: ${X11SRCDIR.drm}
.PATH: ${X11SRCDIR.drm}/nouveau
.PATH: ${X11SRCDIR.drm}/nouveau/nvif

SRCS=	nouveau.c \
	pushbuf.c \
	bufctx.c \
	abi16.c

COPTS.nouveau.c+=	${${ACTIVE_CC} == "clang":? -Wno-error=gnu-variable-sized-type-not-at-end :}

CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/libdrm
CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11 -I${X11SRCDIR.drm}

LIBDPLIBS=	drm	${.CURDIR}/../libdrm

PKGCONFIG=	libdrm_nouveau
PKGDIST=	drm

INCS=	cl0080.h \
	cl9097.h \
	class.h \
	if0002.h \
	if0003.h \
	ioctl.h \
	unpack.h

INCSDIR=${X11INCDIR}/libdrm/nouveau/nvif


.include "../libdrm/Makefile.defines"

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.2
log
@Ignore abuse of VLAs.
@
text
@d1 1
a1 1
#      $NetBSD: Makefile,v 1.1 2015/10/13 04:33:21 mrg Exp $
d8 1
d25 11
@


1.2.18.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#      $NetBSD: Makefile,v 1.3 2019/03/03 17:52:32 maya Exp $
a7 1
.PATH: ${X11SRCDIR.drm}/nouveau/nvif
a23 11
INCS=	cl0080.h \
	cl9097.h \
	class.h \
	if0002.h \
	if0003.h \
	ioctl.h \
	unpack.h

INCSDIR=${X11INCDIR}/libdrm/nouveau/nvif


@


1.2.6.1
log
@file Makefile was added on branch netbsd-7-nhusb on 2017-01-18 08:46:22 +0000
@
text
@d1 27
@


1.2.6.2
log
@Sync with netbsd-5
@
text
@a0 25
#      $NetBSD: Makefile,v 1.2.2.2 2016/12/12 10:01:17 msaitoh Exp $

.include <bsd.own.mk>

LIB=	drm_nouveau
.PATH: ${X11SRCDIR.drm}
.PATH: ${X11SRCDIR.drm}/nouveau

SRCS=	nouveau.c \
	pushbuf.c \
	bufctx.c \
	abi16.c

CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/libdrm
CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11 -I${X11SRCDIR.drm}

LIBDPLIBS=	drm	${.CURDIR}/../libdrm

PKGCONFIG=	libdrm_nouveau
PKGDIST=	drm

.include "../libdrm/Makefile.defines"

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.2.2.1
log
@file Makefile was added on branch netbsd-7 on 2016-12-12 10:01:17 +0000
@
text
@d1 27
@


1.2.2.2
log
@Add three miissing files for ticket #1305 requested by snj.
@
text
@a0 25
#      $NetBSD$

.include <bsd.own.mk>

LIB=	drm_nouveau
.PATH: ${X11SRCDIR.drm}
.PATH: ${X11SRCDIR.drm}/nouveau

SRCS=	nouveau.c \
	pushbuf.c \
	bufctx.c \
	abi16.c

CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/libdrm
CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11 -I${X11SRCDIR.drm}

LIBDPLIBS=	drm	${.CURDIR}/../libdrm

PKGCONFIG=	libdrm_nouveau
PKGDIST=	drm

.include "../libdrm/Makefile.defines"

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.1
log
@build libdrm_nouveau and xf86-video-nouveau on x86.

crashes early when starting so far.
@
text
@d1 1
a1 1
#      $NetBSD: Makefile,v 1.7 2014/07/13 16:35:49 joerg Exp $
d14 2
@

