Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / xorg / lib / libdrm / Makefile
blob7a455001155ae1856080e8262b9e8c2cfec94ffb
1 # $NetBSD: Makefile,v 1.10 2014/03/21 18:14:20 riastradh Exp $
3 .include <bsd.own.mk>
5 LIB= drm
6 .PATH: ${X11SRCDIR.${LIB}}
8 SRCS= xf86drm.c xf86drmHash.c xf86drmMode.c xf86drmRandom.c xf86drmSL.c
10 INCS= xf86drm.h xf86drmMode.h
11 INCSDIR=${X11INCDIR}
13 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm
15 SUBDIR= drm kms
17 PKGCONFIG= libdrm
18 PKGDIST= ${LIB}
20 CWARNFLAGS.clang+= -Wno-conversion -Wno-tautological-compare
22 .if 0
23 MAN= drm.7 \
24 drm-kms.7 \
25 drm-memory.7 \
26 drmAvailable.3 \
27 drmHandleEvent.3 \
28 drmModeGetResources.3
29 # XXX is this right?
30 MLINKS+= drm-mm.7 drm-gem.7 \
31 drm-mm.7 drm-ttm.7
32 .endif
34 .include "Makefile.defines"
36 .include <bsd.x11.mk>
37 .include <bsd.lib.mk>
38 .include <bsd.subdir.mk>