Makefile revision 85760
1# $FreeBSD: head/sys/modules/acpi/Makefile 85760 2001-10-31 02:35:43Z msmith $ 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+= OsdDebug.c 34SRCS+= OsdHardware.c OsdInterrupt.c OsdMemory.c OsdSchedule.c 35SRCS+= OsdStream.c OsdSynch.c OsdEnvironment.c 36SRCS+= opt_acpi.h opt_ddb.h 37SRCS+= device_if.h bus_if.h pci_if.h pcib_if.h isa_if.h 38 39# Debugging support 40.if ACPI_DEBUG 41CFLAGS+=-DACPI_DEBUG 42SRCS+= dbcmds.c dbdisasm.c dbdisply.c dbexec.c dbfileio.c dbhistry.c 43SRCS+= dbinput.c dbstats.c dbutils.c dbxface.c 44opt_ddb.h: Makefile 45 echo '#define DDB 1' >opt_ddb.h 46.else 47opt_ddb.h: Makefile 48 echo '' >opt_ddb.h 49.endif 50 51# Machine-specific code such as sleep/wakeup 52SRCS+= acpi_machdep.c acpi_wakecode.h acpi_wakeup.c 53CLEANFILES+= acpi_wakecode.h acpi_wakecode.o acpi_wakecode.bin 54 55acpi_wakecode.h: acpi_wakecode.S 56 ${MAKE} -f ${.CURDIR}/../../${MACHINE_ARCH}/acpica/Makefile \ 57 MAKESRCPATH=${.CURDIR}/../../${MACHINE_ARCH}/acpica 58 59.include <bsd.kmod.mk> 60