AMD64 - Fix many compile-time warnings. int/ptr type mismatches, %llx, etc.
[dragonfly.git] / sys / dev / drm / mga / Makefile
blob3d82f43dbe8e169baed22d825df40d4a2a63e519
1 # $DragonFly: src/sys/dev/drm/mga/Makefile,v 1.3 2008/04/05 18:12:29 hasso Exp $
3 .PATH: ${.CURDIR}/..
4 KMOD= mga
5 KMODDEPS= drm
6 NO_MAN= YES
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"
13 .endif
15 .if !defined(DRM_NOLINUX)
16 DRM_LINUX_OPT= "\#define DRM_LINUX 1"
17 .endif
19 opt_drm.h:
20 touch opt_drm.h
21 echo $(DRM_DEBUG_OPT) >> opt_drm.h
22 echo $(DRM_LINUX_OPT) >> opt_drm.h
24 .include <bsd.kmod.mk>