Makefile revision 82538
1# $FreeBSD: head/sys/modules/acpi/Makefile 82538 2001-08-30 00:53:13Z msmith $ 2 3.PATH: ${.CURDIR}/../../contrib/dev/acpica \ 4 ${.CURDIR}/../../pci \ 5 ${.CURDIR}/../../dev/acpica \ 6 ${.CURDIR}/../../dev/acpica/Osd \ 7 ${.CURDIR}/../../${MACHINE}/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 exdyadic.c exfield.c exfldio.c exmisc.c exmonad.c 17SRCS+= exmutex.c exnames.c exprep.c exregion.c exresnte.c exresolv.c exresop.c 18SRCS+= exstore.c exstoren.c exstorob.c exsystem.c exutils.c exxface.c hwacpi.c 19SRCS+= hwgpe.c hwregs.c hwsleep.c hwtimer.c nsaccess.c nsalloc.c nsdump.c 20SRCS+= nseval.c nsinit.c nsload.c nsnames.c nsobject.c nssearch.c nsutils.c 21SRCS+= nswalk.c nsxfname.c nsxfobj.c psargs.c psfind.c psopcode.c psparse.c 22SRCS+= psscope.c pstree.c psutils.c pswalk.c psxface.c rsaddr.c rscalc.c 23SRCS+= rscreate.c rsdump.c rsio.c rsirq.c rslist.c rsmemory.c rsmisc.c 24SRCS+= rsutils.c rsxface.c tbconvrt.c tbget.c tbinstal.c tbutils.c tbxface.c 25SRCS+= tbxfroot.c utalloc.c utclib.c utcopy.c utdebug.c utdelete.c uteval.c 26SRCS+= utglobal.c utinit.c utmisc.c utobject.c utxface.c 27 28# OSD layer 29SRCS+= acpi.c acpi_acad.c acpi_battery.c acpi_button.c acpi_cmbat.c acpi_cpu.c 30SRCS+= acpi_ec.c acpi_lid.c acpi_pcib.c acpi_powerprofile.c 31SRCS+= acpi_powerres.c acpi_resource.c acpi_thermal.c acpi_timer.c 32SRCS+= OsdDebug.c 33SRCS+= OsdHardware.c OsdInterrupt.c OsdMemory.c OsdSchedule.c 34SRCS+= OsdStream.c OsdSynch.c OsdEnvironment.c 35SRCS+= opt_acpi.h opt_ddb.h 36SRCS+= device_if.h bus_if.h pci_if.h pcib_if.h isa_if.h 37 38# Debugging support 39.if ACPI_DEBUG 40CFLAGS+=-DACPI_DEBUG 41SRCS+= dbcmds.c dbdisasm.c dbdisply.c dbexec.c dbfileio.c dbhistry.c 42SRCS+= dbinput.c dbstats.c dbutils.c dbxface.c 43opt_ddb.h: Makefile 44 echo '#define DDB 1' >opt_ddb.h 45.else 46opt_ddb.h: Makefile 47 echo '' >opt_ddb.h 48.endif 49 50# Machine-specific sleep/wakeup code 51SRCS+= acpi_wakecode.h acpi_wakeup.c 52CLEANFILES+= acpi_wakecode.h acpi_wakecode.o acpi_wakecode.bin 53 54acpi_wakecode.h: acpi_wakecode.S 55 ${MAKE} -f ${.CURDIR}/../../${MACHINE}/acpica/Makefile \ 56 MAKESRCPATH=${.CURDIR}/../../${MACHINE}/acpica 57 58.include <bsd.kmod.mk> 59