6817050f31
--disable-pciaccess, used together with --disable-module-int10, can be used to disable all pci code inside the server. Note that XSERVER_LIBPCIACCESS was previously used only in the driver side and now it defines also whether the library is used inside the server. Also, XORG_BUS_PCI automake variable is introduced to track PCI code needs. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Tested-by: Jeremy Huddleston <jeremyhu@apple.com>
25 lines
407 B
Makefile
25 lines
407 B
Makefile
noinst_LTLIBRARIES = libbus.la
|
|
sdk_HEADERS = xf86Pci.h
|
|
|
|
PCI_SOURCES =
|
|
if XORG_BUS_PCI
|
|
PCI_SOURCES += Pci.c Pci.h
|
|
endif
|
|
|
|
if XORG_BUS_BSDPCI
|
|
PCI_SOURCES += bsd_pci.c
|
|
endif
|
|
|
|
if XORG_BUS_SPARC
|
|
PLATFORM_SOURCES = Sbus.c
|
|
sdk_HEADERS += xf86Sbus.h
|
|
endif
|
|
|
|
libbus_la_SOURCES = $(PCI_SOURCES) $(PLATFORM_SOURCES) nobus.c
|
|
|
|
INCLUDES = $(XORG_INCS)
|
|
|
|
AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS)
|
|
|
|
EXTRA_DIST = $(sdk_HEADERS)
|