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
|
XCOMM $TOG: Imakefile /main/13 1998/03/24 13:27:03 kaleb $
XCOMM $XFree86: xc/programs/Xserver/hw/vfb/Imakefile,v 3.21 2000/01/05 02:03: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(LinuxArchitecture)
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
OBJSA = InitInput.o InitOutput.o stubs.o $(OBJS1) miinitext.o
INCLUDES = -I. -I$(XBUILDINCDIR) -I$(FONTINCSRC) \
-I../../cfb -I../../mfb -I../../mi -I../../include -I../../os \
-I$(EXTINCSRC) -I$(XINCLUDESRC)
DEFINES = ServerOSDefines $(SHMDEF) $(MMAPDEF) -UXFree86LOADER -UXF86DRI
#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()
|