1SUBDIRS := gallium/auxiliary 2AM_LDFLAGS = -lm \ 3 $(GBM_LIBS) \ 4 $(EPOXY_LIBS) \ 5 $(X11_LIBS) \ 6 $(CODE_COVERAGE_LDFLAGS) 7 8AM_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 20libvrend_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 36if HAVE_EPOXY_EGL 37libvrend_la_SOURCES += \ 38 virgl_egl.h \ 39 virgl_egl_context.c 40endif 41 42if WITH_GLX 43libvrend_la_SOURCES += \ 44 virgl_glx.h \ 45 virgl_glx_context.c 46endif 47 48lib_LTLIBRARIES = libvirglrenderer.la 49noinst_LTLIBRARIES = libvrend.la 50 51GM_LDFLAGS = -Wl,-Bsymbolic -version-number 0:2 -no-undefined 52 53libvirglrenderer_la_SOURCES = virglrenderer.c 54libvirglrenderer_ladir = $(libdir) 55libvirglrenderer_la_LIBADD = libvrend.la gallium/auxiliary/libgallium.la 56libvirglrenderer_la_LDFLAGS = $(GM_LDFLAGS) $(EPOXY_LDFLAGS) $(X11_LDFLAGS) 57 58libvirglrendererincludedir = ${includedir}/virgl 59libvirglrendererinclude_HEADERS = virglrenderer.h 60 61EXTRA_DIST = gallium/include 62 63-include $(top_srcdir)/git.mk 64