Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / xorg / lib / libdrm_intel / Makefile
blob622c1a027d95c9241cfd503a2b3887bb176ae954
1 # $NetBSD: Makefile,v 1.9 2014/06/03 13:51:52 riastradh Exp $
3 .include <bsd.own.mk>
5 LIB= drm_intel
6 .PATH: ${X11SRCDIR.drm}/intel
8 SRCS= intel_bufmgr.c intel_bufmgr_fake.c intel_bufmgr_gem.c \
9 intel_decode.c mm.c
11 CFLAGS+= -std=c99
13 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm
14 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11 -I${X11SRCDIR.drm}
16 LIBDPLIBS= drm ${.CURDIR}/../libdrm
17 LIBDPLIBS+= pciaccess ${.CURDIR}/../libpciaccess
19 PKGCONFIG= libdrm_intel
20 PKGDIST= drm
22 CWARNFLAGS.clang+= -Wno-pointer-sign
24 .include "../libdrm/Makefile.defines"
26 .include <bsd.x11.mk>
27 .include <bsd.lib.mk>