1 # $DragonFly: src/sys/dev/drm/mga/Makefile,v 1.3 2008/04/05 18:12:29 hasso Exp $
7 SRCS
= mga_drv.c mga_state.c mga_warp.c mga_dma.c mga_irq.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"
15 .if
!defined
(DRM_NOLINUX
)
16 DRM_LINUX_OPT
= "\#define DRM_LINUX 1"
21 echo
$(DRM_DEBUG_OPT
) >> opt_drm.h
22 echo
$(DRM_LINUX_OPT
) >> opt_drm.h
24 .
include <bsd.kmod.mk
>