blob: f0d14b9d1221495f66cc9d1d274c0d65abc337b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
#define DoNormalLib NormalLibXvMC
#define DoSharedLib SharedLibXvMC
#define DoDebugLib DebugLibXvMC
#define DoProfileLib ProfileLibXvMC
#define LibName NX_viaXvMCPro
#define SoRev SOXVMCREV
#define LibHeaders NO
#include <Threads.tmpl>
#ifdef SharedXvMCReqs
REQUIREDLIBS = SharedXvMCReqs -lXv
#endif
#if Malloc0ReturnsNull
ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL
#endif
DEFINES = $(ALLOC_DEFINES) -DTRUE=1 -DFALSE=0
INCLUDES = -I$(XINCLUDESRC) -I$(INCLUDESRC) -I$(XLIBSRC) -I$(EXTINCSRC) \
-I$(XF86COMSRC) -I$(XF86OSSRC) -I$(DRMSRCDIR)/shared-core \
-I$(XF86OSSRC)/linux/drm/kernel -I$(XF86DRIVERSRC)/via
SRCS = viaLowLevelPro.c
OBJS = viaXvMC.o viaLowLevelPro.o xf86drm.o xf86drmHash.o \
xf86drmRandom.o xf86drmSL.o xf86dri.o driDrawable.o
LINTLIBS = $(LINTXLIB)
#include <Library.tmpl>
#if defined(LinuxArchitecture)
LIBDRM_DIR = ../../../../../extras/drm/libdrm
LinkSourceFile(xf86drm.c,$(LIBDRM_DIR))
LinkSourceFile(xf86drmHash.c,$(LIBDRM_DIR))
LinkSourceFile(xf86drmRandom.c,$(LIBDRM_DIR))
LinkSourceFile(xf86drmSL.c,$(LIBDRM_DIR))
LinkSourceFile(viaLowLevel.h,..)
LinkSourceFile(driDrawable.h,..)
LinkSourceFile(viaXvMCPriv.h,..)
LinkSourceFile(xf86dri.h,..)
LinkSourceFile(xf86dristr.h,..)
LinkSourceFile(xf86dri.c,..)
LinkSourceFile(driDrawable.c,..)
LinkSourceFile(viaXvMC.c,..)
#endif
DependTarget()
|