summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorTiago Vignatti <vignatti@freedesktop.org>2009-05-13 17:55:31 -0300
committerTiago Vignatti <vignatti@freedesktop.org>2009-05-13 17:55:31 -0300
commitb77b0fc3fbacc46d55998889f09326d1233339fc (patch)
tree6aa274eaa0f5454c58c1e3db60efb2aa0bc0895f /src/Makefile.am
parent67af888bcc5667eadf1e9e9bf15305f742416daf (diff)
downloadlibpciaccess-b77b0fc3fbacc46d55998889f09326d1233339fc.tar.gz
libpciaccess-b77b0fc3fbacc46d55998889f09326d1233339fc.tar.bz2
libpciaccess-b77b0fc3fbacc46d55998889f09326d1233339fc.zip
vgaarb: make it compile.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 14f2e48..0de6894 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -45,6 +45,12 @@ if SOLARIS
OS_SUPPORT = solx_devfs.c pci_tools.h
endif
+if LINUX
+VGA_ARBITER = common_vgaarb.c
+else
+VGA_ARBITER = common_vgaarb_stub.c
+endif
+
libpciaccess_la_SOURCES = common_bridge.c \
common_iterator.c \
common_init.c \
@@ -53,6 +59,7 @@ libpciaccess_la_SOURCES = common_bridge.c \
common_device_name.c \
common_map.c \
pciaccess_private.h \
+ $(VGA_ARBITER) \
$(OS_SUPPORT)
INCLUDES = -I$(top_srcdir)/include