1AM_CFLAGS = \ 2 -I$(top_srcdir)/include \ 3 -DVDPAU_MODULEDIR="\"$(moduledir)\"" \ 4 -DVDPAU_SYSCONFDIR="\"$(sysconfdir)\"" \ 5 $(X11_CFLAGS) \ 6 $(XEXT_CFLAGS) 7 8lib_LTLIBRARIES = libvdpau.la 9 10libvdpau_la_SOURCES = \ 11 vdpau_wrapper.c \ 12 util.h \ 13 $(DRI2_SOURCES) 14 15if DRI2 16 AM_CFLAGS += \ 17 $(dri2proto_CFLAGS) 18 DRI2_SOURCES = \ 19 mesa_dri2.c \ 20 mesa_dri2.h 21endif 22 23libvdpau_la_LIBADD = \ 24 $(DLOPEN_LIBS) \ 25 $(PTHREAD_LIBS) \ 26 $(XEXT_LIBS) 27 28libvdpau_la_LDFLAGS = -version-info 1:0:0 -no-undefined 29 30libvdpauincludedir = $(includedir)/vdpau 31libvdpauinclude_HEADERS = \ 32 $(top_srcdir)/include/vdpau/vdpau.h \ 33 $(top_srcdir)/include/vdpau/vdpau_x11.h 34 35libvdpausysconfdir=$(sysconfdir) 36dist_libvdpausysconf_DATA = vdpau_wrapper.cfg 37