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
11 ifdef HAVE_PM_LINUX_PROC
15 ifdef HAVE_PM_INTEL_CONF
23 ifdef HAVE_PM_SYSCALLS
27 ifdef HAVE_PM_FBSD_DEVICE
29 CFLAGS += -I/usr/src/sys
31 CFLAGS += -I${FREEBSD_SYS}
35 ifdef HAVE_PM_AIX_DEVICE
39 ifdef HAVE_PM_NBSD_LIBPCI
44 ifdef HAVE_OWN_HEADER_H
55 access.o: access.c $(INCL)
56 i386-ports.o: i386-ports.c $(INCL)
57 proc.o: proc.c $(INCL)
58 generic.o: generic.c $(INCL)
59 syscalls.o: syscalls.c $(INCL)
60 fbsd-device.o: fbsd-device.c $(INCL)
61 aix-device.o: aix-device.c $(INCL)
62 dump.o: dump.c $(INCL)
63 names.o: names.c $(INCL)
64 filter.o: filter.c $(INCL)
65 nbsd-libpci.o: nbsd-libpci.c $(INCL)