1# $DragonFly: src/sys/dev/drm/i915/Makefile,v 1.1 2008/04/05 18:12:29 hasso Exp $ 2 3.PATH: ${.CURDIR}/.. 4KMOD = i915 5KMODDEPS= drm 6NO_MAN = YES 7SRCS = i915_dma.c i915_drv.c i915_irq.c i915_mem.c 8SRCS += device_if.h bus_if.h pci_if.h opt_drm.h 9CFLAGS += ${DEBUG_FLAGS} -I. -I.. 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: 20 touch opt_drm.h 21 echo $(DRM_DEBUG_OPT) >> opt_drm.h 22 echo $(DRM_LINUX_OPT) >> opt_drm.h 23 24.include <bsd.kmod.mk> 25