1SubDir HAIKU_TOP src add-ons kernel bus_managers acpi ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5SubDirHdrs [ FDirName $(SUBDIR) include ] ; 6SubDirHdrs [ FDirName $(SUBDIR) include platform ] ; 7SubDirCcFlags -fno-pic -D_KERNEL_MODE ; 8 9if $(TARGET_PLATFORM) != haiku { 10 # Needed for <ACPI.h>. Unfortunately we also get the other headers there, 11 # that we don't really want. 12 UsePublicHeaders drivers ; 13} 14 15local events_src = 16 evevent.c 17 evgpe.c 18 evgpeblk.c 19 evmisc.c 20 evregion.c 21 evrgnini.c 22 evsci.c 23 evxface.c 24 evxfevnt.c 25 evxfregn.c 26 ; 27 28local hardware_src = 29 hwacpi.c 30 hwgpe.c 31 hwregs.c 32 hwsleep.c 33 hwtimer.c 34; 35 36local dispatcher_src = 37 dsfield.c 38 dsinit.c 39 dsmethod.c 40 dsmthdat.c 41 dsobject.c 42 dsopcode.c 43 dsutils.c 44 dswexec.c 45 dswload.c 46 dswscope.c 47 dswstate.c 48 ; 49 50local executer_src = 51 exconfig.c 52 exconvrt.c 53 excreate.c 54 exdump.c 55 exfield.c 56 exfldio.c 57 exmisc.c 58 exmutex.c 59 exnames.c 60 exoparg1.c 61 exoparg2.c 62 exoparg3.c 63 exoparg6.c 64 exprep.c 65 exregion.c 66 exresnte.c 67 exresolv.c 68 exresop.c 69 exstore.c 70 exstoren.c 71 exstorob.c 72 exsystem.c 73 exutils.c 74 ; 75 76local parser_src = 77 psargs.c 78 psopcode.c 79 psparse.c 80 psscope.c 81 pstree.c 82 psutils.c 83 pswalk.c 84 psxface.c 85 ; 86 87local namespace_src = 88 nsaccess.c 89 nsalloc.c 90 nsdump.c 91 nsdumpdv.c 92 nseval.c 93 nsinit.c 94 nsload.c 95 nsnames.c 96 nsobject.c 97 nsparse.c 98 nssearch.c 99 nsutils.c 100 nswalk.c 101 nsxfeval.c 102 nsxfname.c 103 nsxfobj.c 104 ; 105 106local resources_src = 107 rsaddr.c 108 rscalc.c 109 rscreate.c 110 rsdump.c 111 rsio.c 112 rsirq.c 113 rslist.c 114 rsmemory.c 115 rsmisc.c 116 rsutils.c 117 rsxface.c 118 ; 119 120local tables_src = 121 tbconvrt.c 122 tbget.c 123 tbgetall.c 124 tbinstal.c 125 tbrsdt.c 126 tbutils.c 127 tbxface.c 128 tbxfroot.c 129 ; 130 131local utilities_src = 132 utalloc.c 133 utclib.c 134 utcopy.c 135 utdebug.c 136 utdelete.c 137 uteval.c 138 utglobal.c 139 utinit.c 140 utmath.c 141 utmisc.c 142 utobject.c 143 utxface.c 144 ; 145 146StaticLibrary libacpi_ca.a : 147 $(events_src) 148 $(hardware_src) 149 $(dispatcher_src) 150 $(executer_src) 151 $(parser_src) 152 $(namespace_src) 153 $(resources_src) 154 $(tables_src) 155 $(utilities_src) 156 ; 157 158SEARCH on [ FGristFiles $(events_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi events ] ; 159SEARCH on [ FGristFiles $(hardware_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi hardware ] ; 160SEARCH on [ FGristFiles $(namespace_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi namespace ] ; 161SEARCH on [ FGristFiles $(resources_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi resources ] ; 162SEARCH on [ FGristFiles $(tables_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi tables ] ; 163SEARCH on [ FGristFiles $(utilities_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi utilities ] ; 164SEARCH on [ FGristFiles $(dispatcher_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi interpreter dispatcher ] ; 165SEARCH on [ FGristFiles $(executer_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi interpreter executer ] ; 166SEARCH on [ FGristFiles $(parser_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi interpreter parser ] ; 167 168KernelAddon acpi : kernel bus_managers : 169 oshaiku.c 170 acpi_busman.c 171 : 172 libacpi_ca.a 173 ; 174