Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / external / bsd / drm / dist / bsd-core / radeon / Makefile
blob7fe27f60e9a0f049d438402351fb486675e66ee3
1 # $FreeBSD$
3 .PATH: ${.CURDIR}/..
4 KMOD = radeon
5 NO_MAN = YES
6 SRCS = r300_cmdbuf.c radeon_cp.c radeon_drv.c radeon_state.c radeon_irq.c \
7 radeon_mem.c
8 SRCS += device_if.h bus_if.h pci_if.h opt_drm.h
9 CFLAGS += ${DEBUG_FLAGS} -I. -I..
11 .if ${CC} != "icc"
12 CFLAGS += --param large-function-growth=1000
13 .endif
15 .if defined(DRM_DEBUG)
16 DRM_DEBUG_OPT= "\#define DRM_DEBUG 1"
17 .endif
19 .if !defined(DRM_NOLINUX)
20 DRM_LINUX_OPT= "\#define DRM_LINUX 1"
21 .endif
23 opt_drm.h:
24 touch opt_drm.h
25 echo $(DRM_DEBUG_OPT) >> opt_drm.h
26 echo $(DRM_LINUX_OPT) >> opt_drm.h
28 .include <bsd.kmod.mk>