summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/bus/Makefile.am
blob: c56f3d717bf9e06fa93c5bacab74a904293b2bf8 (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
noinst_LTLIBRARIES = libbus.la
sdk_HEADERS = xf86Pci.h

PCI_SOURCES =

if XORG_BUS_LINUXPCI
PCI_SOURCES += linuxPci.c
endif

if XORG_BUS_FREEBSDPCI
PCI_SOURCES += freebsdPci.c
endif

if XORG_BUS_NETBSDPCI
PCI_SOURCES += netbsdPci.c
endif

if XORG_BUS_IX86PCI
PCI_SOURCES += ix86Pci.c
endif

if XORG_BUS_PPCPCI
PCI_SOURCES += ppcPci.c
endif

if XORG_BUS_SPARCPCI
PCI_SOURCES += sparcPci.c
endif

if LINUX_ALPHA
PCI_SOURCES += axpPci.c
endif

if LINUX_IA64
PLATFORM_PCI_SOURCES = \
	460gxPCI.c \
	460gxPCI.h \
	altixPCI.c \
	altixPCI.h \
	e8870PCI.c \
	e8870PCI.h \
	zx1PCI.c \
	zx1PCI.h
endif

if XORG_BUS_SPARC
PLATFORM_SOURCES = Sbus.c
sdk_HEADERS += xf86Sbus.h
endif

libbus_la_SOURCES = Pci.c Pci.h $(PCI_SOURCES) $(PLATFORM_PCI_SOURCES) \
                    $(PLATFORM_SOURCES)

INCLUDES = $(XORG_INCS)

AM_CFLAGS = $(XORG_CFLAGS)

EXTRA_DIST = $(sdk_HEADERS)