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

lib_LTLIBRARIES = libvdpau.la

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

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

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

Aaron Plattner's avatar
Aaron Plattner committed
24
25
26
27
28
29
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
30
31
32

libvdpausysconfdir=$(sysconfdir)
dist_libvdpausysconf_DATA = vdpau_wrapper.cfg