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
|
OMM $XConsortium: Imakefile /main/10 1996/12/02 10:20:33 lehors $
XCOMM $XFree86: xc/programs/Xserver/hw/vfb/Imakefile,v 3.14 1997/11/22 08:17:34 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)
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)
DEPEND_DEFINES = -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()
|