No empty .Rs/.Re
[netbsd-mini2440.git] / sys / external / bsd / drm / dist / bsd-core / mga / Makefile
blob2e534ce70d059b83a8715cdf12572b2253637e7b
1 # $FreeBSD$
3 .PATH: ${.CURDIR}/..
4 KMOD= mga
5 NO_MAN= YES
6 SRCS= mga_drv.c mga_state.c mga_warp.c mga_dma.c mga_irq.c
7 SRCS+= device_if.h bus_if.h pci_if.h opt_drm.h
8 CFLAGS+= ${DEBUG_FLAGS} -I. -I..
10 .if defined(DRM_DEBUG)
11 DRM_DEBUG_OPT= "\#define DRM_DEBUG 1"
12 .endif
14 .if !defined(DRM_NOLINUX)
15 DRM_LINUX_OPT= "\#define DRM_LINUX 1"
16 .endif
18 opt_drm.h:
19 touch opt_drm.h
20 echo $(DRM_DEBUG_OPT) >> opt_drm.h
21 echo $(DRM_LINUX_OPT) >> opt_drm.h
23 .include <bsd.kmod.mk>