lin
2025-08-01 633231e833e21d5b8b1c00cb15aedb62b3b78e8f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
SUBDIRS := gallium/auxiliary
AM_LDFLAGS = -lm \
   $(GBM_LIBS) \
   $(EPOXY_LIBS) \
   $(X11_LIBS) \
   $(CODE_COVERAGE_LDFLAGS)
 
AM_CFLAGS = \
   -I$(top_srcdir)/src/gallium/include \
   -I$(top_srcdir)/src/gallium/auxiliary \
   $(DEFINES) \
   $(PIC_FLAGS) \
   $(LIBDRM_CFLAGS) \
   $(GBM_CFLAGS) \
   $(EPOXY_CFLAGS) \
   $(X11_CFLAGS) \
   $(VISIBILITY_CFLAGS) \
   $(CODE_COVERAGE_CFLAGS)
 
libvrend_la_SOURCES = \
        virgl_hw.h \
        virgl_protocol.h \
        vrend_iov.h \
        vrend_renderer.c \
        vrend_renderer.h \
        vrend_shader.c \
        vrend_shader.h \
        vrend_object.c \
        vrend_object.h \
        vrend_decode.c \
        vrend_formats.c \
        vrend_blitter.c \
        vrend_blitter.h \
        iov.c
 
if HAVE_EPOXY_EGL
libvrend_la_SOURCES += \
        virgl_egl.h \
        virgl_egl_context.c
endif
 
if WITH_GLX
libvrend_la_SOURCES += \
   virgl_glx.h \
   virgl_glx_context.c
endif
 
lib_LTLIBRARIES = libvirglrenderer.la
noinst_LTLIBRARIES = libvrend.la
 
GM_LDFLAGS = -Wl,-Bsymbolic -version-number 0:2 -no-undefined
 
libvirglrenderer_la_SOURCES = virglrenderer.c
libvirglrenderer_ladir = $(libdir)
libvirglrenderer_la_LIBADD = libvrend.la gallium/auxiliary/libgallium.la
libvirglrenderer_la_LDFLAGS = $(GM_LDFLAGS) $(EPOXY_LDFLAGS) $(X11_LDFLAGS)
 
libvirglrendererincludedir = ${includedir}/virgl
libvirglrendererinclude_HEADERS = virglrenderer.h
 
EXTRA_DIST = gallium/include
 
-include $(top_srcdir)/git.mk