Makefile revision 270571
1# $FreeBSD: head/sys/modules/drm2/i915kms/Makefile 270571 2014-08-25 14:55:56Z dumbbell $ 2 3.PATH: ${.CURDIR}/../../../dev/drm2/i915 4KMOD = i915kms 5SRCS = \ 6 i915_debug.c \ 7 i915_dma.c \ 8 i915_drv.c \ 9 i915_gem.c \ 10 i915_gem_execbuffer.c \ 11 i915_gem_evict.c \ 12 i915_gem_gtt.c \ 13 i915_gem_tiling.c \ 14 i915_irq.c \ 15 i915_suspend.c \ 16 intel_bios.c \ 17 intel_crt.c \ 18 intel_display.c \ 19 intel_dp.c \ 20 intel_fb.c \ 21 intel_hdmi.c \ 22 intel_iic.c \ 23 intel_lvds.c \ 24 intel_modes.c \ 25 intel_opregion.c \ 26 intel_overlay.c \ 27 intel_panel.c \ 28 intel_ringbuffer.c \ 29 intel_sdvo.c \ 30 intel_sprite.c \ 31 intel_tv.c 32 33.if ${MACHINE_CPUARCH} == "amd64" 34SRCS += i915_ioc32.c 35.endif 36 37SRCS += \ 38 opt_acpi.h \ 39 opt_compat.h \ 40 opt_drm.h \ 41 opt_syscons.h \ 42 acpi_if.h \ 43 bus_if.h \ 44 fb_if.h \ 45 device_if.h \ 46 iicbb_if.h \ 47 iicbus_if.h \ 48 pci_if.h 49 50.include <bsd.kmod.mk> 51 52CWARNFLAGS.i915_debug.c= -Wno-unused-function 53CWARNFLAGS.intel_lvds.c= -Wno-unused 54CWARNFLAGS.intel_tv.c= -Wno-unused 55CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}} 56