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

PCI_SOURCES =

if XORG_BUS_LINUXPCI
PCI_SOURCES += linuxPci.c
endif

if XORG_BUS_BSDPCI
PCI_SOURCES += bsd_pci.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 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) $(DIX_CFLAGS)

EXTRA_DIST = $(sdk_HEADERS)