1 # Makefile for The PCI Library
2 # (c) 1999 Martin Mares <mj@ucw.cz>
6 OBJS=access.o generic.o dump.o names.o filter.o
7 INCL=internal.h pci.h config.h header.h sysdep.h types.h
11 ifdef PCI_HAVE_PM_LINUX_SYSFS
15 ifdef PCI_HAVE_PM_LINUX_PROC
19 ifdef PCI_HAVE_PM_INTEL_CONF
23 ifdef PCI_HAVE_PM_DUMP
27 ifdef PCI_HAVE_PM_SYSCALLS
31 ifdef PCI_HAVE_PM_FBSD_DEVICE
33 CFLAGS += -I/usr/src/sys
35 CFLAGS += -I${FREEBSD_SYS}
39 ifdef PCI_HAVE_PM_AIX_DEVICE
43 ifdef PCI_HAVE_PM_NBSD_LIBPCI
55 access.o: access.c $(INCL)
56 i386-ports.o: i386-ports.c $(INCL) i386-io-hurd.h i386-io-linux.h i386-io-sunos.h
57 proc.o: proc.c $(INCL) pread.h
58 sysfs.o: sysfs.c $(INCL) pread.h
59 generic.o: generic.c $(INCL)
60 syscalls.o: syscalls.c $(INCL)
61 fbsd-device.o: fbsd-device.c $(INCL)
62 aix-device.o: aix-device.c $(INCL)
63 dump.o: dump.c $(INCL)
64 names.o: names.c $(INCL)
65 filter.o: filter.c $(INCL)
66 nbsd-libpci.o: nbsd-libpci.c $(INCL)