Makefile.am 784 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
    vdpau_wrapper.c \
12
    util.h \
13
14
15
    $(DRI2_SOURCES)

if DRI2
16
17
    AM_CFLAGS += \
        $(dri2proto_CFLAGS)
18
19
20
21
    DRI2_SOURCES = \
        mesa_dri2.c \
        mesa_dri2.h
endif
Aaron Plattner's avatar
Aaron Plattner committed
22

23
libvdpau_la_LIBADD = \
24
    $(DLOPEN_LIBS) \
25
    $(PTHREAD_LIBS) \
26
    $(XEXT_LIBS)
27

Aaron Plattner's avatar
Aaron Plattner committed
28
29
30
31
32
33
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
34
35
36

libvdpausysconfdir=$(sysconfdir)
dist_libvdpausysconf_DATA = vdpau_wrapper.cfg