aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/XvMC/Imakefile
blob: ee0bcded76e57bc40f60343e7da6e4b9704e1097 (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
XCOMM $XFree86: xc/lib/XvMC/Imakefile,v 1.5 2002/10/16 00:37:33 dawes Exp $

#define DoNormalLib NormalLibXvMC
#define DoSharedLib SharedLibXvMC
#define DoDebugLib DebugLibXvMC
#define DoProfileLib ProfileLibXvMC
#define LibName XvMC
#define SoRev SOXVMCREV
#define LibHeaders NO

#include <Threads.tmpl>

#ifdef SharedXvMCReqs
REQUIREDLIBS = SharedXvMCReqs
#endif

#if Malloc0ReturnsNull
ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL
#endif

#if HasShm
SHM_DEFINES = -DHAS_SHM
#endif

      DEFINES = $(ALLOC_DEFINES) $(SHM_DEFINES)
     INCLUDES = -I$(XF86OSSRC)
         SRCS = XvMC.c
         OBJS = XvMC.o
     LINTLIBS = $(LINTXLIB)

#include <Library.tmpl>

#define PassCDebugFlags

#if defined(LinuxArchitecture) && BuildXF86DRI
#define IHaveSubdirs

#if defined(i386Architecture) || defined(AMD64Architecture)
VIA_SUBDIRS = hw/via/unichrome hw/via/unichromeProA
INTEL_SUBDIRS = hw/i810
#endif

SUBDIRS = $(INTEL_SUBDIRS) $(VIA_SUBDIRS) wrapper

MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
#endif

DependTarget()