Makefile.am 577 Bytes
Newer Older
Aaron Plattner's avatar
Aaron Plattner committed
1
2
AM_CFLAGS = \
    -I$(top_srcdir)/include \
3
    -DVDPAU_MODULEDIR="\"$(moduledir)\"" \
4
5
    $(X11_CFLAGS) \
    $(XEXT_CFLAGS)
Aaron Plattner's avatar
Aaron Plattner committed
6
7
8
9

lib_LTLIBRARIES = libvdpau.la

libvdpau_la_SOURCES = \
10
11
12
13
14
15
16
17
    vdpau_wrapper.c \
    $(DRI2_SOURCES)

if DRI2
    DRI2_SOURCES = \
        mesa_dri2.c \
        mesa_dri2.h
endif
Aaron Plattner's avatar
Aaron Plattner committed
18

19
libvdpau_la_LIBADD = \
20
21
    $(DLOPEN_LIBS) \
    $(XEXT_LIBS)
22

Aaron Plattner's avatar
Aaron Plattner committed
23
24
25
26
27
28
libvdpau_la_LDFLAGS = -version-info 1:0:0 -no-undefined

libvdpauincludedir = $(includedir)/vdpau
libvdpauinclude_HEADERS = \
    $(top_srcdir)/include/vdpau/vdpau.h \
    $(top_srcdir)/include/vdpau/vdpau_x11.h