blob: 6267531f7b8e03f6ba0112b9e2d68232a6ca2c6b (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
XCOMM $XConsortium: Imakefile /main/16 1996/10/27 18:07:43 kaleb $
XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bus/Imakefile,v 1.10 2000/03/07 13:59:06 dawes Exp $
#include <Server.tmpl>
#if defined(LinuxArchitecture) && defined(AlphaArchitecture)
XCOMM Alpha (Linux) PCI driver
PCIDRVRSRC = axpPci.c
PCIDRVROBJ = axpPci.o
#elif defined(LinuxArchitecture) && defined(SparcArchitecture)
XCOMM Sparc (Linux) PCI driver
PCIDRVRSRC = sparcPci.c
PCIDRVROBJ = sparcPci.o
#elif defined(LinuxArchitecture) && defined(PpcArchitecture)
XCOMM generic linux PCI driver (using /proc/bus/pci, requires kernel 2.2)
PCIDRVRSRC = linuxPci.c
PCIDRVROBJ = linuxPci.o
#elif defined(PpcArchitecture)
XCOMM PowerPC PCI drivers
PCIDRVRSRC = ppcPci.c
PCIDRVROBJ = ppcPci.o
#elif defined(FreeBSDArchitecture) && defined(AlphaArchitecture)
XCOMM generic FreeBSD PCI driver (using /dev/pci)
PCIDRVRSRC = freebsdPci.c
PCIDRVROBJ = freebsdPci.o
#elif defined(i386Architecture) || defined(ia64Architecture)
XCOMM ix86 PCI driver
PCIDRVRSRC = ix86Pci.c
PCIDRVROBJ = ix86Pci.o
XCOMM PCIDRVRSRC = linuxPci.c
XCOMM PCIDRVROBJ = linuxPci.o
#else
XCOMM no PCI driver -- shouldn't get here
#endif
SRCS = Pci.c $(PCIDRVRSRC)
OBJS = Pci.o $(PCIDRVROBJ)
INCLUDES = -I. -I$(XF86COMSRC) -I$(XF86OSSRC) \
-I$(SERVERSRC)/include -I$(XINCLUDESRC)
NormalLibraryObjectRule()
SubdirLibraryRule($(OBJS))
/*
* egcs 1.1.2 as provided with some Linux distributions has an optimisation
* bug that results in bad code for this file.
*/
#if Egcs112Bug
SpecialCObjectRule(Pci,NullParameter,-O0)
#endif
DependTarget()
|