diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2006-07-30 16:19:50 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-11-14 14:36:09 -0800 |
commit | 07b09d930ed2b7eae299ae036ec30099374b95aa (patch) | |
tree | 4eeac9dfa24ab4be85447ea150006dbb188c423d /src/Makefile.am | |
parent | cf1b4d3ddfcdbaeddefc42b6eb19eb85a0a1e454 (diff) |
Add the beginnings of a FreeBSD port.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 20b864f..b012d78 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -23,12 +23,20 @@ lib_LTLIBRARIES = libpciaccess.la +if LINUX +OS_SUPPORT = linux_sysfs.c +endif + +if FREEBSD +OS_SUPPORT = freebsd_pci.c +endif + libpciaccess_la_SOURCES = common_iterator.c \ common_init.c \ common_interface.c \ common_capability.c \ common_device_name.c \ - linux_sysfs.c + $(OS_SUPPORT) INCLUDES = -I$(top_srcdir)/include |