2 include $(TOP)/config/make.cfg
6 CFLAGS := $(CFLAGS) -D__KERNEL__
8 FILES := pci_init pcidriverclass pcideviceclass pciclass pciutil
10 #MM kernel-pci : kernel-pci-ids
11 #MM kernel-pci-kobj : kernel-pci-ids
14 includes-copy : $(AROS_INCLUDES)/hidd/pci.h $(GENINCDIR)/hidd/pci.h $(AROS_INCLUDES)/libraries/pci.h $(GENINCDIR)/libraries/pci.h
16 $(AROS_INCLUDES)/hidd/pci.h: include/pci_hidd.h
17 $(CP) include/pci_hidd.h $(AROS_INCLUDES)/hidd/pci.h
19 $(GENINCDIR)/hidd/pci.h: include/pci_hidd.h
20 $(CP) include/pci_hidd.h $(GENINCDIR)/hidd/pci.h
22 $(AROS_INCLUDES)/libraries/pci.h: include/pci_lib.h
23 $(CP) include/pci_lib.h $(AROS_INCLUDES)/libraries/pci.h
25 $(GENINCDIR)/libraries/pci.h: include/pci_lib.h
26 $(CP) include/pci_lib.h $(GENINCDIR)/libraries/pci.h
29 kernel-pci-ids : $(AROS_DEVS)/pci.ids
31 $(AROS_DEVS)/pci.ids : pci.ids
32 %mkdirs_q $(AROS_DEVS)
35 #unused MM- kernel-objs: kernel-pci-kobj
37 %build_module mmake=kernel-pci \
38 modname=pci modtype=hidd \
40 uselibs="oop rom amiga"