Makefile revision 86133
1# $FreeBSD: head/sys/modules/acpi/Makefile 86133 2001-11-06 15:00:30Z iwasaki $ 2 3.PATH: ${.CURDIR}/../../contrib/dev/acpica \ 4 ${.CURDIR}/../../pci \ 5 ${.CURDIR}/../../dev/acpica \ 6 ${.CURDIR}/../../dev/acpica/Osd \ 7 ${.CURDIR}/../../${MACHINE_ARCH}/acpica 8 9KMOD= acpi 10 11# ACPI CA sources 12CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica 13SRCS+= dsfield.c dsmethod.c dsmthdat.c dsobject.c dsopcode.c dsutils.c 14SRCS+= dswexec.c dswload.c dswscope.c dswstate.c evevent.c evmisc.c evregion.c 15SRCS+= evrgnini.c evsci.c evxface.c evxfevnt.c evxfregn.c exconfig.c exconvrt.c 16SRCS+= excreate.c exdump.c exfield.c exfldio.c exmisc.c exmutex.c exnames.c 17SRCS+= exoparg1.c exoparg2.c exoparg3.c exoparg6.c exprep.c exregion.c 18SRCS+= exresnte.c exresolv.c exresop.c 19SRCS+= exstore.c exstoren.c exstorob.c exsystem.c exutils.c hwacpi.c 20SRCS+= hwgpe.c hwregs.c hwsleep.c hwtimer.c nsaccess.c nsalloc.c nsdump.c 21SRCS+= nseval.c nsinit.c nsload.c nsnames.c nsobject.c nssearch.c nsutils.c 22SRCS+= nswalk.c nsxfname.c nsxfobj.c psargs.c psfind.c psopcode.c psparse.c 23SRCS+= psscope.c pstree.c psutils.c pswalk.c psxface.c rsaddr.c rscalc.c 24SRCS+= rscreate.c rsdump.c rsio.c rsirq.c rslist.c rsmemory.c rsmisc.c 25SRCS+= rsutils.c rsxface.c tbconvrt.c tbget.c tbinstal.c tbutils.c tbxface.c 26SRCS+= tbxfroot.c utalloc.c utclib.c utcopy.c utdebug.c utdelete.c uteval.c 27SRCS+= utglobal.c utinit.c utmath.c utmisc.c utobject.c utxface.c 28 29# OSD layer 30SRCS+= acpi.c acpi_acad.c acpi_battery.c acpi_button.c acpi_cmbat.c acpi_cpu.c 31SRCS+= acpi_ec.c acpi_lid.c acpi_pcib.c acpi_powerprofile.c 32SRCS+= acpi_powerres.c acpi_resource.c acpi_thermal.c acpi_timer.c 33SRCS+= acpica_support.c 34SRCS+= OsdDebug.c 35SRCS+= OsdHardware.c OsdInterrupt.c OsdMemory.c OsdSchedule.c 36SRCS+= OsdStream.c OsdSynch.c OsdEnvironment.c 37SRCS+= opt_acpi.h opt_ddb.h 38SRCS+= device_if.h bus_if.h pci_if.h pcib_if.h isa_if.h 39 40# Debugging support 41.if ACPI_DEBUG 42CFLAGS+=-DACPI_DEBUG 43SRCS+= dbcmds.c dbdisasm.c dbdisply.c dbexec.c dbfileio.c dbhistry.c 44SRCS+= dbinput.c dbstats.c dbutils.c dbxface.c 45opt_ddb.h: Makefile 46 echo '#define DDB 1' >opt_ddb.h 47.else 48opt_ddb.h: Makefile 49 echo '' >opt_ddb.h 50.endif 51 52# Machine-specific code such as sleep/wakeup 53SRCS+= acpi_machdep.c acpi_wakecode.h acpi_wakeup.c 54CLEANFILES+= acpi_wakecode.h acpi_wakecode.o acpi_wakecode.bin 55 56acpi_wakecode.h: acpi_wakecode.S 57 ${MAKE} -f ${.CURDIR}/../../${MACHINE_ARCH}/acpica/Makefile \ 58 MAKESRCPATH=${.CURDIR}/../../${MACHINE_ARCH}/acpica 59 60.include <bsd.kmod.mk> 61