make the linux-ppc packags be in synch with other platforms
[tangerine.git] / arch / common / hidd.pci / mmakefile.src
blobc9a00a6a109a4649058357fa2900db720940692f
1 #   $Id$
2 include $(TOP)/config/make.cfg
4 USER_INCLUDES := -I.
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
13 #MM
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
28 #MM
29 kernel-pci-ids : $(AROS_DEVS)/pci.ids
31 $(AROS_DEVS)/pci.ids : pci.ids
32         %mkdirs_q $(AROS_DEVS)
33         @$(CP) $^ $@
35 #unused MM- kernel-objs: kernel-pci-kobj
37 %build_module mmake=kernel-pci \
38     modname=pci modtype=hidd \
39     files="$(FILES)" \
40     uselibs="oop rom amiga"