aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/XvMC/hw/i810/Imakefile
blob: 3f7a27a216861f37ff8783ae6f8f4b8d5bd52bd6 (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
XCOMM $XFree86: xc/lib/XvMC/hw/i810/Imakefile,v 1.2 2002/10/30 12:52:02 alanh Exp $
#define DoNormalLib NormalLibXvMC
#define DoSharedLib SharedLibXvMC
#define DoDebugLib DebugLibXvMC
#define DoProfileLib ProfileLibXvMC
#define LibName NX_I810XvMC
#define SoRev SOXVMCREV
#define LibHeaders NO

#include <Threads.tmpl>

#ifdef SharedXvMCReqs
REQUIREDLIBS = SharedXvMCReqs
#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$(XF86DRIVERSRC)/i810
         SRCS = I810XvMC.c
         OBJS = I810XvMC.o xf86drm.o xf86drmHash.o xf86drmRandom.o xf86drmSL.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))

#endif

DependTarget()