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

Cache object: 98ee30226cade68c9156f87354d0e43c


[ 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.