mxge: Add macro for RX small buf length
[dragonfly.git] / sys / dev / drm / radeon / Makefile
CommitLineData
984263bc 1KMOD = radeon
99f70504
FT
2SRCS = r300_cmdbuf.c r600_blit.c r600_cp.c radeon_cp.c radeon_cs.c \
3 radeon_drv.c radeon_irq.c radeon_mem.c radeon_state.c
7f3c3d6f 4SRCS += device_if.h bus_if.h pci_if.h opt_drm.h
c4a9e910 5CFLAGS += ${DEBUG_FLAGS} -I. -I.. -I@/dev/drm -I@/dev/drm/radeon
7f3c3d6f
HT
6
7.if ${CC} != "icc"
8CFLAGS += --param large-function-growth=1000
9.endif
10
11.if defined(DRM_DEBUG)
12DRM_DEBUG_OPT= "\#define DRM_DEBUG 1"
13.endif
14
15.if !defined(DRM_NOLINUX)
16DRM_LINUX_OPT= "\#define DRM_LINUX 1"
17.endif
18
19opt_drm.h:
3524f442
SW
20 touch ${.TARGET}
21 echo $(DRM_DEBUG_OPT) >> ${.TARGET}
22 echo $(DRM_LINUX_OPT) >> ${.TARGET}
984263bc
MD
23
24.include <bsd.kmod.mk>