1SubDir HAIKU_TOP src add-ons kernel bus_managers acpi ; 2 3UsePrivateKernelHeaders ; 4SubDirHdrs [ FDirName $(SUBDIR) acpica include ] ; 5SubDirHdrs [ FDirName $(SUBDIR) acpica include platform ] ; 6SubDirHdrs [ FDirName $(SUBDIR) arch $(TARGET_KERNEL_ARCH_DIR) ] ; 7SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) pci ] ; 8SubDirCcFlags -D_KERNEL_MODE ; 9 10 11local arch_src = 12 arch_init.cpp 13 ; 14 15local dispatcher_src = 16 dsargs.c 17 dscontrol.c 18 dsdebug.c 19 dsfield.c 20 dsinit.c 21 dsmethod.c 22 dsmthdat.c 23 dsobject.c 24 dsopcode.c 25 dspkginit.c 26 dsutils.c 27 dswexec.c 28 dswload.c 29 dswload2.c 30 dswscope.c 31 dswstate.c 32 ; 33 34local events_src = 35 evevent.c 36 evglock.c 37 evgpe.c 38 evgpeblk.c 39 evgpeinit.c 40 evgpeutil.c 41 evhandler.c 42 evmisc.c 43 evregion.c 44 evrgnini.c 45 evsci.c 46 evxface.c 47 evxfevnt.c 48 evxfgpe.c 49 evxfregn.c 50 ; 51 52local executer_src = 53 exconcat.c 54 exconfig.c 55 exconvrt.c 56 excreate.c 57 exdebug.c 58 exdump.c 59 exfield.c 60 exfldio.c 61 exmisc.c 62 exmutex.c 63 exnames.c 64 exoparg1.c 65 exoparg2.c 66 exoparg3.c 67 exoparg6.c 68 exprep.c 69 exregion.c 70 exresnte.c 71 exresolv.c 72 exresop.c 73 exserial.c 74 exstore.c 75 exstoren.c 76 exstorob.c 77 exsystem.c 78 extrace.c 79 exutils.c 80 ; 81 82local hardware_src = 83 hwacpi.c 84 hwesleep.c 85 hwgpe.c 86 hwpci.c 87 hwregs.c 88 hwsleep.c 89 hwtimer.c 90 hwvalid.c 91 hwxface.c 92 hwxfsleep.c 93 ; 94 95local namespace_src = 96 nsaccess.c 97 nsalloc.c 98 nsarguments.c 99 nsconvert.c 100 nsdump.c 101 nsdumpdv.c 102 nseval.c 103 nsinit.c 104 nsload.c 105 nsnames.c 106 nsobject.c 107 nsparse.c 108 nspredef.c 109 nsprepkg.c 110 nsrepair.c 111 nsrepair2.c 112 nssearch.c 113 nsutils.c 114 nswalk.c 115 nsxfeval.c 116 nsxfname.c 117 nsxfobj.c 118 ; 119 120local parser_src = 121 psargs.c 122 psloop.c 123 psobject.c 124 psopcode.c 125 psopinfo.c 126 psparse.c 127 psscope.c 128 pstree.c 129 psutils.c 130 pswalk.c 131 psxface.c 132 ; 133 134local resources_src = 135 rsaddr.c 136 rscalc.c 137 rscreate.c 138 rsinfo.c 139 rsio.c 140 rsirq.c 141 rslist.c 142 rsmemory.c 143 rsmisc.c 144 rsserial.c 145 rsutils.c 146 rsxface.c 147 ; 148 149local tables_src = 150 tbdata.c 151 tbfadt.c 152 tbfind.c 153 tbinstal.c 154 tbprint.c 155 tbutils.c 156 tbxface.c 157 tbxfload.c 158 tbxfroot.c 159 ; 160 161local utilities_src = 162 utaddress.c 163 utalloc.c 164 utascii.c 165 utbuffer.c 166 utcache.c 167 utcksum.c 168 utcopy.c 169 utdecode.c 170 utdebug.c 171 utdelete.c 172 uterror.c 173 uteval.c 174 utexcep.c 175 utglobal.c 176 uthex.c 177 utids.c 178 utinit.c 179 utlock.c 180 utmath.c 181 utmisc.c 182 utmutex.c 183 utnonansi.c 184 utobject.c 185 utosi.c 186 utownerid.c 187 utpredef.c 188 utresrc.c 189 utstate.c 190 utstring.c 191 utstrsuppt.c 192 utstrtoul64.c 193 uttrack.c 194 utuuid.c 195 utxface.c 196 utxferror.c 197 utxfinit.c 198 utxfmutex.c 199 ; 200 201KernelStaticLibrary libacpi_ca.a : 202 $(dispatcher_src) 203 $(events_src) 204 $(executer_src) 205 $(hardware_src) 206 $(namespace_src) 207 $(parser_src) 208 $(resources_src) 209 $(tables_src) 210 $(utilities_src) 211 ; 212 213KernelAddon acpi : 214 ACPICAHaiku.cpp 215 BusManager.cpp 216 Module.cpp 217 Device.cpp 218 NamespaceDump.cpp 219 EmbeddedController.cpp 220 Call.cpp 221 222 $(arch_src) 223 : 224 libacpi_ca.a 225 ; 226 227SEARCH on [ FGristFiles $(arch_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi arch $(TARGET_KERNEL_ARCH_DIR) ] ; 228SEARCH on [ FGristFiles $(dispatcher_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components dispatcher ] ; 229SEARCH on [ FGristFiles $(events_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components events ] ; 230SEARCH on [ FGristFiles $(executer_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components executer ] ; 231SEARCH on [ FGristFiles $(hardware_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components hardware ] ; 232SEARCH on [ FGristFiles $(namespace_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components namespace ] ; 233SEARCH on [ FGristFiles $(parser_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components parser ] ; 234SEARCH on [ FGristFiles $(resources_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components resources ] ; 235SEARCH on [ FGristFiles $(tables_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components tables ] ; 236SEARCH on [ FGristFiles $(utilities_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components utilities ] ; 237