The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/modules/acpi/acpi/Makefile

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # $FreeBSD: releng/8.0/sys/modules/acpi/acpi/Makefile 194313 2009-06-16 23:02:46Z jkim $
    2 
    3 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64"
    4 .error "ACPI can only be compiled into the kernel on the amd64 and ia64 platforms"
    5 .endif
    6 
    7 .if ${MACHINE} != "i386"
    8 .error "The ACPI module is only for i386"
    9 .endif
   10 
   11 .PATH:  ${.CURDIR}/../../../contrib/dev/acpica/debugger \
   12         ${.CURDIR}/../../../contrib/dev/acpica/disassembler \
   13         ${.CURDIR}/../../../contrib/dev/acpica/dispatcher \
   14         ${.CURDIR}/../../../contrib/dev/acpica/events \
   15         ${.CURDIR}/../../../contrib/dev/acpica/executer \
   16         ${.CURDIR}/../../../contrib/dev/acpica/hardware \
   17         ${.CURDIR}/../../../contrib/dev/acpica/namespace \
   18         ${.CURDIR}/../../../contrib/dev/acpica/parser \
   19         ${.CURDIR}/../../../contrib/dev/acpica/resources \
   20         ${.CURDIR}/../../../contrib/dev/acpica/tables \
   21         ${.CURDIR}/../../../contrib/dev/acpica/utilities \
   22         ${.CURDIR}/../../../pci \
   23         ${.CURDIR}/../../../dev/acpica \
   24         ${.CURDIR}/../../../dev/acpica/Osd \
   25         ${.CURDIR}/../../../${MACHINE_ARCH}/acpica
   26 
   27 KMOD=   acpi
   28 
   29 # ACPI CA sources
   30 SRCS+=  dsfield.c dsinit.c dsmethod.c dsmthdat.c dsobject.c dsopcode.c
   31 SRCS+=  dsutils.c dswexec.c dswload.c dswscope.c dswstate.c
   32 SRCS+=  evevent.c evgpe.c evgpeblk.c evmisc.c evregion.c evrgnini.c evsci.c
   33 SRCS+=  evxface.c evxfevnt.c evxfregn.c
   34 SRCS+=  exconfig.c exconvrt.c excreate.c exdump.c exfield.c exfldio.c exmisc.c
   35 SRCS+=  exmutex.c exnames.c exoparg1.c exoparg2.c exoparg3.c exoparg6.c
   36 SRCS+=  exprep.c exregion.c exresnte.c exresolv.c exresop.c exstore.c
   37 SRCS+=  exstoren.c exstorob.c exsystem.c exutils.c
   38 SRCS+=  hwacpi.c hwgpe.c hwregs.c hwsleep.c hwtimer.c hwvalid.c hwxface.c
   39 SRCS+=  nsaccess.c nsalloc.c nsdump.c nseval.c nsinit.c nsload.c nsnames.c
   40 SRCS+=  nsobject.c nsparse.c nspredef.c nssearch.c nsutils.c nswalk.c
   41 SRCS+=  nsxfeval.c nsxfname.c nsxfobj.c
   42 SRCS+=  psargs.c psloop.c psopcode.c psparse.c psscope.c pstree.c psutils.c
   43 SRCS+=  pswalk.c psxface.c
   44 SRCS+=  rsaddr.c rscalc.c rscreate.c rsdump.c rsinfo.c rsio.c rsirq.c rslist.c
   45 SRCS+=  rsmemory.c rsmisc.c rsutils.c rsxface.c
   46 SRCS+=  tbfadt.c tbfind.c tbinstal.c tbutils.c tbxface.c tbxfroot.c
   47 SRCS+=  utalloc.c utcache.c utcopy.c utdebug.c utdelete.c uteval.c utglobal.c
   48 SRCS+=  utinit.c utlock.c utmath.c utmisc.c utmutex.c utobject.c utresrc.c
   49 SRCS+=  utstate.c utxface.c
   50 
   51 # OSPM layer and core hardware drivers
   52 SRCS+=  acpi.c acpi_button.c acpi_isab.c acpi_package.c acpi_pci.c acpi_pcib.c
   53 SRCS+=  acpi_pcib_acpi.c acpi_pcib_pci.c acpi_powerres.c acpi_quirk.c
   54 SRCS+=  acpi_resource.c acpi_timer.c acpi_pci_link.c acpi_thermal.c
   55 
   56 # ACPI hardware drivers, mostly used for mobile systems.
   57 SRCS+=  acpi_acad.c acpi_battery.c acpi_cmbat.c acpi_cpu.c acpi_ec.c
   58 SRCS+=  acpi_hpet.c acpi_lid.c acpi_perf.c acpi_smbat.c acpi_throttle.c
   59 
   60 # OSD layer
   61 SRCS+=  OsdDebug.c
   62 SRCS+=  OsdHardware.c OsdInterrupt.c OsdMemory.c OsdSchedule.c OsdStream.c
   63 SRCS+=  OsdSynch.c OsdTable.c OsdEnvironment.c
   64 SRCS+=  opt_acpi.h opt_bus.h opt_ddb.h acpi_if.h acpi_quirks.h bus_if.h
   65 SRCS+=  cpufreq_if.h device_if.h isa_if.h pci_if.h pcib_if.h
   66 
   67 # XXX ACPI should not depend on the following headers but this is currently
   68 # needed for the build of assym.s.
   69 # This obviously needs a better and more structural fix.
   70 SRCS+=  opt_kstack_pages.h opt_nfs.h opt_apic.h opt_compat.h opt_hwpmc_hooks.h
   71 
   72 # Debugging support
   73 DBSRC=  dbcmds.c dbdisply.c dbexec.c dbfileio.c dbhistry.c dbinput.c dbstats.c
   74 DBSRC+= dbutils.c dbxface.c
   75 DBSRC+= dmbuffer.c dmnames.c dmopcode.c dmobject.c dmresrc.c dmresrcl.c
   76 DBSRC+= dmresrcs.c dmutils.c dmwalk.c
   77 
   78 .if !defined(KERNBUILDDIR)
   79 .if KTR
   80 CFLAGS+=-DKTR
   81 .endif
   82 .if ACPI_MAX_TASKS
   83 CFLAGS+=-DACPI_MAX_TASKS=${ACPI_MAX_TASKS}
   84 .endif
   85 .if ACPI_MAX_THREADS
   86 CFLAGS+=-DACPI_MAX_THREADS=${ACPI_MAX_THREADS}
   87 .endif
   88 .if ACPI_DEBUG
   89 CFLAGS+=-DACPI_DEBUG
   90 SRCS+=  ${DBSRC}
   91 opt_ddb.h: Makefile
   92         echo "#define DDB 1" > ${.TARGET}
   93 .else
   94 opt_ddb.h: Makefile
   95         echo -n > ${.TARGET}
   96 .endif
   97 .endif
   98 
   99 # Machine-specific code such as sleep/wakeup
  100 SRCS+=  acpi_machdep.c acpi_wakecode.h acpi_wakeup.c
  101 .if ${MACHINE} == "i386"
  102 SRCS+=  madt.c assym.s
  103 .endif
  104 CLEANFILES+=    acpi_wakecode.h acpi_wakecode.o acpi_wakecode.bin ${DBSRC:.c=.o}
  105 
  106 acpi_wakecode.h: acpi_wakecode.S assym.s
  107         ${MAKE} -f ${.CURDIR}/../../../${MACHINE_ARCH}/acpica/Makefile \
  108                 MAKESRCPATH=${.CURDIR}/../../../${MACHINE_ARCH}/acpica
  109 
  110 .include <bsd.kmod.mk>

Cache object: c55abfe7a3ad80b9b775efb6e81173b2


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.