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

PCI_SOURCES = @XORG_OS_PCI@Pci.c 

if XORG_BUS_IX86PCI
PCI_SOURCES += ix86Pci.c
endif

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

libbus_la_SOURCES = Pci.c $(PCI_SOURCES) $(PLATFORM_PCI_SOURCES)

if XORG_BUS_SBUS
libbus_la_SOURCES += Sbus.c
endif

INCLUDES = $(XORG_INCS)

AM_CFLAGS = $(XORG_CFLAGS)

# hack to keep all the OS PCI support files in the distball even though
# there aren't rules to build them all yet.  also the AC_SUBST pattern
# above will defeat automake's EXTRA_DIST logic, woo.
PCIDISTSOURCES = freebsdPci.c linuxPci.c netbsdPci.c

EXTRA_DIST = \
	460gxPCI.h \
	Pci.h \
	altixPCI.h \
	e8870PCI.h \
	zx1PCI.h \
        $(PCIDISTSOURCES)