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