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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
XCOMM $Xorg: Imakefile,v 1.5 2000/08/17 19:48:38 cpqbld Exp $
XCOMM $XFree86: xc/programs/Xserver/hw/vfb/Imakefile,v 3.30 2001/05/31 16:11:10 dawes Exp $
#include <Server.tmpl>
#if HasShm
SHMDEF = -DHAS_SHM
#endif
XCOMM add more architectures here as we discover them
#if defined(HPArchitecture) || \
(defined(SparcArchitecture) && !defined(LynxOSArchitecture)) || \
SystemV4 || \
defined(OSF1Architecture) || \
defined(i386BsdArchitecture) || \
(defined(KFreeBSDArchitecture) && defined(i386Architecture)) || \
defined(LinuxArchitecture) || \
defined(DarwinArchitecture)
MMAPDEF = -DHAS_MMAP
#endif
#ifdef OS2Architecture
SRCS1 = os2_stubs.c
OBJS1 = os2_stubs.o
#endif
SRCSA = InitInput.c InitOutput.c stubs.c $(SRCS1) miinitext.c $(SRCS2)
OBJSA = InitInput.o InitOutput.o stubs.o $(OBJS1) miinitext.o $(OBJS2)
INCLUDES = -I. -I$(XBUILDINCDIR) -I$(FONTINCSRC) \
-I$(SERVERSRC)/fb -I$(SERVERSRC)/mi -I$(SERVERSRC)/include -I../../os \
-I$(SERVERSRC)/Xext -I$(EXTINCSRC) -I$(XINCLUDESRC) \
-I$(SERVERSRC)/render
DEFINES = $(OS_DEFINES) $(SHMDEF) $(MMAPDEF) -UXFree86LOADER
#if BuildDPMS
SRCSC = dpmsstubs.c
OBJSC = dpmsstubs.o
#endif
SRCS = $(SRCSA) $(SRCSB) $(SRCSC)
OBJS = $(OBJSA) $(OBJSB) $(OBJSC)
NormalLibraryObjectRule()
NormalLibraryTarget(vfb,$(OBJS))
#ifdef OS2Architecture
LinkSourceFile(os2_stubs.c,../xfree86/os-support/os2)
SpecialCObjectRule(os2_stubs,$(ICONFIGFILES),-DOS2NULLSELECT)
#endif
LinkSourceFile(stubs.c,../../Xi)
SpecialCObjectRule(InitInput,$(ICONFIGFILES),$(EXT_DEFINES))
LinkSourceFile(miinitext.c,$(SERVERSRC)/mi)
SpecialCObjectRule(miinitext,$(ICONFIGFILES),$(EXT_DEFINES) $(PAN_DEFINES) -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS $(EXT_MODULE_DEFINES) -UXFree86LOADER)
#if BuildDPMS
LinkSourceFile(dpmsstubs.c,$(SERVERSRC)/Xext)
SpecialCObjectRule(dpmsstubs,$(ICONFIGFILES),$(EXT_DEFINES))
#endif
InstallManPage(Xvfb,$(MANDIR))
DependTarget()
|