Home | History | Annotate | Line # | Download | only in xf86-video-intel
Makefile revision 1.15.2.2
      1  1.15.2.2    martin #	$NetBSD: Makefile,v 1.15.2.2 2015/01/21 11:32:07 martin 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.15.2.2    martin SRCS+=		backlight.c
     13  1.15.2.2    martin SRCS+=		fd.c
     14      1.12  riastrad 
     15      1.12  riastrad # legacy/i810
     16      1.12  riastrad .PATH:	${X11SRCDIR.${DRIVER}}/src/legacy/i810
     17      1.12  riastrad SRCS+=		i810_accel.c
     18      1.12  riastrad SRCS+=		i810_cursor.c
     19  1.15.2.2    martin SRCS+=		i810_dga.c
     20  1.15.2.2    martin SRCS+=		i810_dri.c
     21      1.12  riastrad SRCS+=		i810_driver.c
     22  1.15.2.2    martin SRCS+=		i810_hwmc.c
     23      1.12  riastrad SRCS+=		i810_memory.c
     24      1.12  riastrad SRCS+=		i810_video.c
     25      1.12  riastrad SRCS+=		i810_wmark.c
     26      1.12  riastrad SRCS+=		i810_xaa.c
     27      1.12  riastrad 
     28      1.12  riastrad # sna
     29      1.12  riastrad .PATH:	${X11SRCDIR.${DRIVER}}/src/sna
     30      1.12  riastrad SRCS+=		blt.c
     31      1.12  riastrad SRCS+=		kgem.c
     32  1.15.2.2    martin SRCS+=		gen2_render.c
     33  1.15.2.2    martin SRCS+=		gen3_render.c
     34  1.15.2.2    martin SRCS+=		gen4_common.c
     35  1.15.2.2    martin SRCS+=		gen4_render.c
     36  1.15.2.2    martin SRCS+=		gen4_source.c
     37  1.15.2.2    martin SRCS+=		gen4_vertex.c
     38  1.15.2.2    martin SRCS+=		gen5_render.c
     39  1.15.2.2    martin SRCS+=		gen6_common.c
     40  1.15.2.2    martin SRCS+=		gen6_render.c
     41  1.15.2.2    martin SRCS+=		gen7_render.c
     42  1.15.2.2    martin SRCS+=		gen8_eu.c
     43  1.15.2.2    martin SRCS+=		gen8_render.c
     44  1.15.2.2    martin SRCS+=		gen8_vertex.c
     45  1.15.2.2    martin 
     46      1.12  riastrad SRCS+=		sna_accel.c
     47  1.15.2.2    martin SRCS+=		sna_acpi.c
     48      1.12  riastrad SRCS+=		sna_blt.c
     49      1.12  riastrad SRCS+=		sna_composite.c
     50      1.12  riastrad SRCS+=		sna_cpu.c
     51      1.12  riastrad SRCS+=		sna_damage.c
     52      1.12  riastrad SRCS+=		sna_display.c
     53      1.12  riastrad SRCS+=		sna_display_fake.c
     54  1.15.2.2    martin SRCS+=		sna_dri2.c
     55  1.15.2.2    martin #SRCS+=		sna_dri3.c
     56      1.12  riastrad SRCS+=		sna_driver.c
     57      1.12  riastrad SRCS+=		sna_glyphs.c
     58      1.12  riastrad SRCS+=		sna_gradient.c
     59      1.12  riastrad SRCS+=		sna_io.c
     60  1.15.2.2    martin #SRCS+=		sna_present.c
     61      1.12  riastrad SRCS+=		sna_render.c
     62      1.12  riastrad SRCS+=		sna_stream.c
     63  1.15.2.2    martin SRCS+=		sna_threads.c
     64      1.12  riastrad SRCS+=		sna_tiling.c
     65      1.12  riastrad SRCS+=		sna_transform.c
     66  1.15.2.2    martin SRCS+=		sna_trapezoids.c
     67  1.15.2.2    martin SRCS+=		sna_trapezoids_boxes.c
     68  1.15.2.2    martin SRCS+=		sna_trapezoids_imprecise.c
     69  1.15.2.2    martin SRCS+=		sna_trapezoids_mono.c
     70  1.15.2.2    martin SRCS+=		sna_trapezoids_precise.c
     71      1.12  riastrad SRCS+=		sna_vertex.c
     72      1.12  riastrad SRCS+=		sna_video.c
     73  1.15.2.2    martin SRCS+=		sna_video_hwmc.c
     74      1.12  riastrad SRCS+=		sna_video_overlay.c
     75      1.12  riastrad SRCS+=		sna_video_sprite.c
     76      1.12  riastrad SRCS+=		sna_video_textured.c
     77      1.12  riastrad 
     78      1.12  riastrad # sna/brw
     79      1.12  riastrad .PATH:	${X11SRCDIR.${DRIVER}}/src/sna/brw
     80      1.12  riastrad SRCS+=		brw_disasm.c
     81      1.12  riastrad SRCS+=		brw_eu.c
     82      1.12  riastrad SRCS+=		brw_eu_emit.c
     83      1.12  riastrad SRCS+=		brw_sf.c
     84      1.12  riastrad SRCS+=		brw_wm.c
     85      1.12  riastrad 
     86      1.12  riastrad # sna/fb
     87      1.12  riastrad .PATH:	${X11SRCDIR.${DRIVER}}/src/sna/fb
     88      1.12  riastrad SRCS+=		fbarc.c
     89      1.12  riastrad SRCS+=		fbbitmap.c
     90      1.12  riastrad SRCS+=		fbblt.c
     91      1.12  riastrad SRCS+=		fbbltone.c
     92      1.12  riastrad SRCS+=		fbclip.c
     93      1.12  riastrad SRCS+=		fbcopy.c
     94      1.12  riastrad SRCS+=		fbfill.c
     95      1.12  riastrad SRCS+=		fbgc.c
     96      1.12  riastrad SRCS+=		fbglyph.c
     97      1.12  riastrad SRCS+=		fbimage.c
     98      1.12  riastrad SRCS+=		fbline.c
     99      1.12  riastrad SRCS+=		fbpict.c
    100      1.12  riastrad SRCS+=		fbpoint.c
    101      1.12  riastrad SRCS+=		fbpush.c
    102      1.12  riastrad SRCS+=		fbseg.c
    103      1.12  riastrad SRCS+=		fbspan.c
    104      1.12  riastrad SRCS+=		fbstipple.c
    105      1.12  riastrad SRCS+=		fbtile.c
    106      1.12  riastrad SRCS+=		fbutil.c
    107      1.12  riastrad 
    108      1.12  riastrad # uxa
    109      1.12  riastrad .PATH:	${X11SRCDIR.${DRIVER}}/src/uxa
    110      1.12  riastrad SRCS+=		i830_3d.c
    111      1.12  riastrad SRCS+=		i830_render.c
    112      1.12  riastrad SRCS+=		i915_3d.c
    113      1.12  riastrad SRCS+=		i915_render.c
    114      1.12  riastrad SRCS+=		i915_video.c
    115      1.12  riastrad SRCS+=		i965_3d.c
    116      1.12  riastrad SRCS+=		i965_render.c
    117  1.15.2.2    martin SRCS+=		i965_video.c
    118  1.15.2.2    martin SRCS+=		intel_batchbuffer.c
    119  1.15.2.2    martin SRCS+=		intel_display.c
    120  1.15.2.2    martin SRCS+=		intel_dri.c
    121  1.15.2.2    martin SRCS+=		intel_driver.c
    122  1.15.2.2    martin SRCS+=		intel_hwmc.c
    123  1.15.2.2    martin SRCS+=		intel_memory.c
    124  1.15.2.2    martin #SRCS+=		intel_present.c
    125  1.15.2.2    martin #SRCS+=		intel_sync.c
    126  1.15.2.2    martin SRCS+=		intel_uxa.c
    127  1.15.2.2    martin SRCS+=		intel_uxa_video.c
    128  1.15.2.2    martin SRCS+=		intel_video.c
    129  1.15.2.2    martin SRCS+=		intel_video_overlay.c
    130      1.12  riastrad SRCS+=		uxa-accel.c
    131      1.12  riastrad SRCS+=		uxa-glyphs.c
    132      1.12  riastrad SRCS+=		uxa-render.c
    133      1.12  riastrad SRCS+=		uxa-unaccel.c
    134  1.15.2.2    martin SRCS+=		uxa.c
    135      1.12  riastrad 
    136       1.1       rtr MAN=		intel.4
    137       1.1       rtr 
    138       1.3       rtr CPPFLAGS+=      -I${DESTDIR}${X11INCDIR}/X11
    139       1.3       rtr CPPFLAGS+=      -I${DESTDIR}${X11INCDIR}/X11/dri
    140       1.8       mrg CPPFLAGS+=      -I${DESTDIR}${X11INCDIR}/libdrm
    141      1.12  riastrad CPPFLAGS+=	-I${X11SRCDIR.${DRIVER}}/src
    142      1.12  riastrad CPPFLAGS+=	-I${X11SRCDIR.${DRIVER}}/src/render_program
    143      1.12  riastrad CPPFLAGS+=	-I${X11SRCDIR.${DRIVER}}/xvmc
    144      1.12  riastrad 
    145      1.12  riastrad # Use the Intel-style __sync_* atomic primitives.
    146      1.12  riastrad 
    147  1.15.2.1       snj CPPFLAGS+=	-DDEFAULT_ACCEL_METHOD=UXA
    148  1.15.2.2    martin CPPFLAGS+=	-DENABLE_XVMC=1
    149      1.15  jmcneill CPPFLAGS+=	-DHAS_PIXMAN_GLYPHS=1
    150      1.15  jmcneill CPPFLAGS+=	-DHAS_PIXMAN_TRIANGLES=1
    151  1.15.2.2    martin CPPFLAGS+=	-DHAVE_ATOMIC_PRIMITIVES=1
    152  1.15.2.2    martin CPPFLAGS+=	-DHAVE_CPUID_H=1
    153  1.15.2.2    martin CPPFLAGS+=	-DHAVE_DGAPROC_H=1
    154  1.15.2.2    martin CPPFLAGS+=	-DHAVE_DLFCN_H=1
    155  1.15.2.2    martin CPPFLAGS+=	-DHAVE_DRI1=1
    156  1.15.2.2    martin CPPFLAGS+=	-DHAVE_DRI2=1
    157  1.15.2.2    martin CPPFLAGS+=	-DHAVE_DRI2_H=1
    158  1.15.2.2    martin CPPFLAGS+=	-DHAVE_DRISTRUCT_H=1
    159  1.15.2.2    martin CPPFLAGS+=	-DHAVE_DRI_H=1
    160  1.15.2.2    martin CPPFLAGS+=	-DHAVE_GETLINE=1
    161  1.15.2.2    martin CPPFLAGS+=	-DHAVE_INTTYPES_H=1
    162  1.15.2.2    martin CPPFLAGS+=	-DHAVE_MEMORY_H=1
    163  1.15.2.2    martin CPPFLAGS+=	-DHAVE_SAREA_H=1
    164  1.15.2.2    martin CPPFLAGS+=	-DHAVE_STDINT_H=1
    165  1.15.2.2    martin CPPFLAGS+=	-DHAVE_STDLIB_H=1
    166  1.15.2.2    martin CPPFLAGS+=	-DHAVE_STRINGS_H=1
    167  1.15.2.2    martin CPPFLAGS+=	-DHAVE_STRING_H=1
    168  1.15.2.2    martin CPPFLAGS+=	-DHAVE_STRLCAT=1
    169  1.15.2.2    martin CPPFLAGS+=	-DHAVE_STRLCPY=1
    170  1.15.2.2    martin CPPFLAGS+=	-DHAVE_STRNDUP=1
    171  1.15.2.2    martin CPPFLAGS+=	-DHAVE_SYS_IPC_H=1
    172  1.15.2.2    martin CPPFLAGS+=	-DHAVE_SYS_STAT_H=1
    173  1.15.2.2    martin CPPFLAGS+=	-DHAVE_SYS_TYPES_H=1
    174  1.15.2.2    martin CPPFLAGS+=	-DHAVE_UNISTD_H=1
    175  1.15.2.2    martin CPPFLAGS+=	-DHAVE_VGAHW_H=1
    176  1.15.2.2    martin CPPFLAGS+=	-DHAVE_XAA_H=1
    177  1.15.2.2    martin CPPFLAGS+=	-DKMS=1
    178  1.15.2.2    martin CPPFLAGS+=	-DSTDC_HEADERS=1
    179  1.15.2.2    martin CPPFLAGS+=	-DUMS=1
    180  1.15.2.2    martin CPPFLAGS+=	-DUSE_BACKLIGHT=1
    181  1.15.2.2    martin CPPFLAGS+=	-DUSE_SNA=1
    182  1.15.2.2    martin CPPFLAGS+=	-DUSE_UXA=1
    183      1.12  riastrad 
    184      1.12  riastrad # XXX This should not be hard-coded here...
    185      1.12  riastrad DRI_DRIVER_PATH=	/usr/X11R7/lib/modules/dri
    186      1.12  riastrad CPPFLAGS+=	-DDRI_DRIVER_PATH=\"${DRI_DRIVER_PATH:Q}\"
    187      1.12  riastrad 
    188      1.12  riastrad # XXX Probably better to set this in Makefile.xf86-driver, conditional
    189      1.12  riastrad # on ELF &c.
    190      1.12  riastrad CFLAGS+=	-fvisibility=hidden
    191       1.3       rtr 
    192      1.12  riastrad LIBDPLIBS+=	drm_intel	${.CURDIR}/../../../lib/libdrm_intel
    193      1.12  riastrad LIBDPLIBS+=	pthread		${NETBSDSRCDIR}/lib/libpthread
    194       1.6       mrg 
    195       1.1       rtr .include "../Makefile.xf86-driver"
    196       1.5  christos 
    197      1.10     joerg CWARNFLAGS.clang+=	-Wno-parentheses -Wno-tautological-compare \
    198      1.10     joerg 			-Wno-empty-body -Wno-error
    199      1.10     joerg 
    200  1.15.2.2    martin COPTS.sna_display.c=	-Wno-stack-protector
    201  1.15.2.2    martin 
    202       1.5  christos .include <bsd.subdir.mk>
    203