Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / external / bsd / drm / dist / bsd-core / mach64 / Makefile
blob1e6210d97a469032ff8ba42b2544c04024803bc2
1 # $FreeBSD$
3 .PATH: ${.CURDIR}/..
4 KMOD = mach64
5 NO_MAN = YES
6 SRCS = mach64_dma.c mach64_drv.c mach64_irq.c mach64_state.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>