No empty .Rs/.Re
[netbsd-mini2440.git] / sys / external / bsd / drm / dist / bsd-core / via / Makefile
blob7aaa01dfeea61a8a1559a9eb11f53f93684c59fc
1 # $FreeBSD$
3 .PATH: ${.CURDIR}/..
4 KMOD = via
5 NO_MAN = YES
6 SRCS = via_dma.c via_drv.c via_ds.c via_irq.c via_map.c via_mm.c \
7 via_verifier.c via_video.c
8 SRCS += device_if.h bus_if.h pci_if.h opt_drm.h
9 CFLAGS += ${DEBUG_FLAGS} -I. -I..
11 .if defined(DRM_DEBUG)
12 DRM_DEBUG_OPT= "\#define DRM_DEBUG 1"
13 .endif
15 .if !defined(DRM_NOLINUX)
16 DRM_LINUX_OPT= "\#define DRM_LINUX 1"
17 .endif
19 opt_drm.h:
20 touch opt_drm.h
21 echo $(DRM_DEBUG_OPT) >> opt_drm.h
22 echo $(DRM_LINUX_OPT) >> opt_drm.h
24 .include <bsd.kmod.mk>