Home | History | Annotate | Line # | Download | only in xf86-video-intel
Makefile revision 1.12
      1  1.12  riastrad #	$NetBSD: Makefile,v 1.12 2014/04/03 02:51:20 riastradh Exp $
      2  1.12  riastrad 
      3  1.12  riastrad .include <bsd.own.mk>
      4   1.1       rtr 
      5   1.2       rtr DRIVER=		xf86-video-intel
      6   1.1       rtr DRIVER_NAME=	intel_drv
      7   1.1       rtr 
      8  1.12  riastrad # main module
      9  1.12  riastrad SRCS+=		intel_device.c
     10  1.12  riastrad SRCS+=		intel_options.c
     11  1.12  riastrad SRCS+=		intel_module.c
     12  1.12  riastrad 
     13  1.12  riastrad # legacy/i810
     14  1.12  riastrad .PATH:	${X11SRCDIR.${DRIVER}}/src/legacy/i810
     15  1.12  riastrad SRCS+=		i810_accel.c
     16  1.12  riastrad SRCS+=		i810_cursor.c
     17  1.12  riastrad SRCS+=		i810_driver.c
     18  1.12  riastrad SRCS+=		i810_memory.c
     19  1.12  riastrad SRCS+=		i810_video.c
     20  1.12  riastrad SRCS+=		i810_wmark.c
     21  1.12  riastrad 
     22  1.12  riastrad SRCS+=		i810_xaa.c
     23  1.12  riastrad SRCS+=		i810_dga.c
     24  1.12  riastrad SRCS+=		i810_dri.c
     25  1.12  riastrad SRCS+=		i810_hwmc.c
     26  1.12  riastrad 
     27  1.12  riastrad # sna
     28  1.12  riastrad .PATH:	${X11SRCDIR.${DRIVER}}/src/sna
     29  1.12  riastrad SRCS+=		blt.c
     30  1.12  riastrad SRCS+=		kgem.c
     31  1.12  riastrad SRCS+=		sna_accel.c
     32  1.12  riastrad SRCS+=		sna_blt.c
     33  1.12  riastrad SRCS+=		sna_composite.c
     34  1.12  riastrad SRCS+=		sna_cpu.c
     35  1.12  riastrad SRCS+=		sna_damage.c
     36  1.12  riastrad SRCS+=		sna_display.c
     37  1.12  riastrad SRCS+=		sna_display_fake.c
     38  1.12  riastrad SRCS+=		sna_driver.c
     39  1.12  riastrad SRCS+=		sna_glyphs.c
     40  1.12  riastrad SRCS+=		sna_gradient.c
     41  1.12  riastrad SRCS+=		sna_io.c
     42  1.12  riastrad SRCS+=		sna_render.c
     43  1.12  riastrad SRCS+=		sna_stream.c
     44  1.12  riastrad SRCS+=		sna_trapezoids.c
     45  1.12  riastrad SRCS+=		sna_tiling.c
     46  1.12  riastrad SRCS+=		sna_transform.c
     47  1.12  riastrad SRCS+=		sna_threads.c
     48  1.12  riastrad SRCS+=		sna_vertex.c
     49  1.12  riastrad SRCS+=		sna_video.c
     50  1.12  riastrad SRCS+=		sna_video_overlay.c
     51  1.12  riastrad SRCS+=		sna_video_sprite.c
     52  1.12  riastrad SRCS+=		sna_video_textured.c
     53  1.12  riastrad SRCS+=		gen2_render.c
     54  1.12  riastrad SRCS+=		gen3_render.c
     55  1.12  riastrad SRCS+=		gen4_render.c
     56  1.12  riastrad SRCS+=		gen4_source.c
     57  1.12  riastrad SRCS+=		gen4_vertex.c
     58  1.12  riastrad SRCS+=		gen5_render.c
     59  1.12  riastrad SRCS+=		gen6_render.c
     60  1.12  riastrad SRCS+=		gen7_render.c
     61  1.12  riastrad 
     62  1.12  riastrad SRCS+=		sna_dri.c
     63  1.12  riastrad 
     64  1.12  riastrad SRCS+=		sna_video_hwmc.c
     65  1.12  riastrad 
     66  1.12  riastrad # sna/brw
     67  1.12  riastrad .PATH:	${X11SRCDIR.${DRIVER}}/src/sna/brw
     68  1.12  riastrad SRCS+=		brw_disasm.c
     69  1.12  riastrad SRCS+=		brw_eu.c
     70  1.12  riastrad SRCS+=		brw_eu_emit.c
     71  1.12  riastrad SRCS+=		brw_sf.c
     72  1.12  riastrad SRCS+=		brw_wm.c
     73  1.12  riastrad 
     74  1.12  riastrad # sna/fb
     75  1.12  riastrad .PATH:	${X11SRCDIR.${DRIVER}}/src/sna/fb
     76  1.12  riastrad SRCS+=		fbarc.c
     77  1.12  riastrad SRCS+=		fbbitmap.c
     78  1.12  riastrad SRCS+=		fbblt.c
     79  1.12  riastrad SRCS+=		fbbltone.c
     80  1.12  riastrad SRCS+=		fbclip.c
     81  1.12  riastrad SRCS+=		fbcopy.c
     82  1.12  riastrad SRCS+=		fbfill.c
     83  1.12  riastrad SRCS+=		fbgc.c
     84  1.12  riastrad SRCS+=		fbglyph.c
     85  1.12  riastrad SRCS+=		fbimage.c
     86  1.12  riastrad SRCS+=		fbline.c
     87  1.12  riastrad SRCS+=		fbpict.c
     88  1.12  riastrad SRCS+=		fbpoint.c
     89  1.12  riastrad SRCS+=		fbpush.c
     90  1.12  riastrad SRCS+=		fbseg.c
     91  1.12  riastrad SRCS+=		fbspan.c
     92  1.12  riastrad SRCS+=		fbstipple.c
     93  1.12  riastrad SRCS+=		fbtile.c
     94  1.12  riastrad SRCS+=		fbutil.c
     95  1.12  riastrad 
     96  1.12  riastrad # uxa
     97  1.12  riastrad .PATH:	${X11SRCDIR.${DRIVER}}/src/uxa
     98  1.12  riastrad SRCS+=		intel_batchbuffer.c
     99  1.12  riastrad SRCS+=		intel_display.c
    100  1.12  riastrad SRCS+=		intel_driver.c
    101  1.12  riastrad SRCS+=		intel_memory.c
    102  1.12  riastrad SRCS+=		intel_uxa.c
    103  1.12  riastrad SRCS+=		intel_video.c
    104  1.12  riastrad SRCS+=		i830_3d.c
    105  1.12  riastrad SRCS+=		i830_render.c
    106  1.12  riastrad SRCS+=		i915_3d.c
    107  1.12  riastrad SRCS+=		i915_render.c
    108  1.12  riastrad SRCS+=		i915_video.c
    109  1.12  riastrad SRCS+=		i965_3d.c
    110  1.12  riastrad SRCS+=		i965_video.c
    111  1.12  riastrad SRCS+=		i965_render.c
    112  1.12  riastrad SRCS+=		uxa.c
    113  1.12  riastrad SRCS+=		uxa-accel.c
    114  1.12  riastrad SRCS+=		uxa-glyphs.c
    115  1.12  riastrad SRCS+=		uxa-render.c
    116  1.12  riastrad SRCS+=		uxa-unaccel.c
    117  1.12  riastrad 
    118  1.12  riastrad #SRCS+=		intel_glamor.c
    119  1.12  riastrad 
    120  1.12  riastrad SRCS+=		intel_dri.c
    121  1.12  riastrad 
    122  1.12  riastrad SRCS+=		intel_hwmc.c
    123  1.12  riastrad 
    124   1.1       rtr MAN=		intel.4
    125   1.1       rtr 
    126   1.3       rtr CPPFLAGS+=      -I${DESTDIR}${X11INCDIR}/X11
    127   1.3       rtr CPPFLAGS+=      -I${DESTDIR}${X11INCDIR}/X11/dri
    128   1.8       mrg CPPFLAGS+=      -I${DESTDIR}${X11INCDIR}/libdrm
    129  1.12  riastrad CPPFLAGS+=	-I${X11SRCDIR.${DRIVER}}/src
    130  1.12  riastrad CPPFLAGS+=	-I${X11SRCDIR.${DRIVER}}/src/render_program
    131  1.12  riastrad CPPFLAGS+=	-I${X11SRCDIR.${DRIVER}}/xvmc
    132  1.12  riastrad 
    133  1.12  riastrad # Use the Intel-style __sync_* atomic primitives.
    134  1.12  riastrad CPPFLAGS+=	-DHAVE_ATOMIC_PRIMITIVES
    135  1.12  riastrad 
    136  1.12  riastrad CPPFLAGS+=	-DENABLE_XVMC
    137  1.12  riastrad CPPFLAGS+=	-DUSE_SNA
    138  1.12  riastrad CPPFLAGS+=	-DUSE_UXA
    139  1.12  riastrad CPPFLAGS+=	-DDEFAULT_ACCEL_METHOD=SNA
    140  1.12  riastrad 
    141  1.12  riastrad CPPFLAGS+=	-DHAVE_DRI1
    142  1.12  riastrad CPPFLAGS+=	-DHAVE_DRI2_H
    143  1.12  riastrad CPPFLAGS+=	-DHAVE_XAA_H
    144  1.12  riastrad 
    145  1.12  riastrad # XXX This should not be hard-coded here...
    146  1.12  riastrad DRI_DRIVER_PATH=	/usr/X11R7/lib/modules/dri
    147  1.12  riastrad CPPFLAGS+=	-DDRI_DRIVER_PATH=\"${DRI_DRIVER_PATH:Q}\"
    148  1.12  riastrad 
    149  1.12  riastrad # XXX Probably better to set this in Makefile.xf86-driver, conditional
    150  1.12  riastrad # on ELF &c.
    151  1.12  riastrad CFLAGS+=	-fvisibility=hidden
    152   1.3       rtr 
    153  1.12  riastrad LIBDPLIBS+=	drm_intel	${.CURDIR}/../../../lib/libdrm_intel
    154  1.12  riastrad LIBDPLIBS+=	pthread		${NETBSDSRCDIR}/lib/libpthread
    155   1.6       mrg 
    156   1.1       rtr .include "../Makefile.xf86-driver"
    157   1.5  christos 
    158  1.10     joerg CWARNFLAGS.clang+=	-Wno-parentheses -Wno-tautological-compare \
    159  1.10     joerg 			-Wno-empty-body -Wno-error
    160  1.10     joerg 
    161   1.5  christos .include <bsd.subdir.mk>
    162