5 SRCS= mga_drv.c mga_state.c mga_warp.c mga_dma.c
6 SRCS+= device_if.h bus_if.h pci_if.h opt_drm_linux.h
7 CFLAGS+= ${DEBUG_FLAGS} -I. -I..
13 ln -sf /sys/i386/include machine
15 .if ${MACHINE_ARCH} == "i386"
16 # This line enables linux ioctl handling
17 # If you want support for this uncomment this line
18 #MGA_OPTS= "\#define DRM_LINUX" 1
23 echo $(MGA_OPTS) >> opt_drm_linux.h
25 .include <bsd.kmod.mk>