Subversion Repositories Kolibri OS

Compare Revisions

No changes between revisions

Regard whitespace Rev 2215 → Rev 2216

/drivers/devman/acpica/generate/unix/Makefile
0,0 → 1,40
#
# Common make for acpica tools and utilities
#
 
#
# Note: This makefile is intended to be used from within the native
# ACPICA directory structure, from under generate/unix. It specifically
# places all object files in a generate/unix subdirectory, not within
# the various ACPICA source directories. This prevents collisions
# between different compilations of the same source file with different
# compile options, and prevents pollution of the source code.
#
include Makefile.config
 
 
all: ${PROGS}
${PROGS}: FORCE
@cd $@; make; ls -al $@
 
clean: FORCE
@for d in ${PROGS}; do \
(cd $$d; \
if [ $$? -ne 0 ]; then \
echo "Bad element of PROGS: <$$d>"; \
else \
pwd; make clean; \
fi); \
done
 
install: FORCE
@for d in ${PROGS}; do \
(cd $$d; \
if [ $$? -ne 0 ]; then \
echo "Bad element of PROGS: <$$d>"; \
else \
pwd; make install; \
fi); \
done
 
FORCE:
/drivers/devman/acpica/generate/unix/Makefile.config
0,0 → 1,116
#
# Makefile.config
#
# Common configuration and setup file to generate the ACPICA tools and
# utilities: the iASL compiler, acpiexec, acpihelp, acpinames, acpisrc,
# acpixtract, acpibin.
#
# This file is included by the individual makefiles for each tool.
#
 
#
# Note: This makefile is intended to be used from within the native
# ACPICA directory structure, from under generate/unix. It specifically
# places all object files in a generate/unix subdirectory, not within
# the various ACPICA source directories. This prevents collisions
# between different compilations of the same source file with different
# compile options, and prevents pollution of the source code.
#
 
#
# Configuration
# Notes:
# gcc should be version 4 or greater, otherwise some of the options
# used will not be recognized.
# Global optimization flags (such as -O2, -Os) are not used, since
# they cause issues on some compilers.
# The _GNU_SOURCE symbol is required for many hosts.
#
PROGS = acpibin acpiexec acpihelp acpinames acpisrc acpixtract iasl
 
HOST = _CYGWIN
CC = gcc
COMPILE = $(CC) -c $(CFLAGS) $(CWARNINGFLAGS) -o$@ $?
 
#
# Common defines
#
ACPICA_SRC = ../../../source
ACPICA_COMMON = $(ACPICA_SRC)/common
ACPICA_CORE = $(ACPICA_SRC)/components
ACPICA_TOOLS = $(ACPICA_SRC)/tools
ACPICA_OSL = $(ACPICA_SRC)/os_specific/service_layers
ASL_COMPILER = $(ACPICA_SRC)/compiler
COPYPROG = @mkdir -p ../bin; rm -f ../bin/$(PROG); cp --remove-destination $(PROG) ../bin
INSTALLDIR = /usr/bin
INSTALLPROG = cp --remove-destination $(PROG) $(INSTALLDIR)
#
# Common compiler flags. The warning flags in addition to -Wall are not
# automatically included in -Wall.
#
CFLAGS += \
-D$(HOST) \
-D_GNU_SOURCE \
-I$(ACPICA_SRC)/include
 
CWARNINGFLAGS = \
-ansi \
-Wall \
-Wbad-function-cast \
-Wdeclaration-after-statement \
-Werror \
-Wformat=2 \
-Wmissing-declarations \
-Wmissing-prototypes \
-Wstrict-aliasing=0 \
-Wstrict-prototypes \
-Wswitch-default \
-Wpointer-arith \
-Wundef
 
#
# gcc 4+ flags
#
CWARNINGFLAGS += \
-Waddress \
-Waggregate-return \
-Wchar-subscripts \
-Wempty-body \
-Wlogical-op \
-Wmissing-declarations \
-Wmissing-field-initializers \
-Wmissing-parameter-type \
-Wnested-externs \
-Wold-style-declaration \
-Wold-style-definition \
-Wredundant-decls \
-Wtype-limits
 
#
# Extra warning flags (possible future use)
#
#CWARNINGFLAGS += \
# -Wcast-qual \
# -Wconversion
# -Wshadow \
 
#
# Bison/Flex configuration
#
# -v: verbose, produces a .output file
# -d: produces the defines header file
# -y: act like yacc
#
# -i: generate case insensitive scanner
# -s: suppress default rule, abort on unknown input
#
# Berkeley yacc configuration
#
#YACC= byacc
#YFLAGS += -v -d
#
YACC= bison
YFLAGS += -v -d -y
 
LEX= flex
LFLAGS += -i -s
/drivers/devman/acpica/generate/unix/acpibin/Makefile
0,0 → 1,109
#
# acpibin - Binary ACPI table utility
#
 
#
# Note: This makefile is intended to be used from within the native
# ACPICA directory structure, from under generate/unix. It specifically
# places all object files in a generate/unix subdirectory, not within
# the various ACPICA source directories. This prevents collisions
# between different compilations of the same source file with different
# compile options, and prevents pollution of the source code.
#
include ../Makefile.config
PROG = acpibin
 
#
# Flags specific to acpibin
#
CFLAGS+= \
-DACPI_BIN_APP \
-I$(ACPICA_TOOLS)/acpibin
 
OBJS = \
abcompare.o \
abmain.o \
utalloc.o \
utcache.o \
utdebug.o \
utdecode.o \
utglobal.o \
utlock.o \
utmath.o \
utmisc.o \
utmutex.o \
utstate.o \
utxferror.o \
osunixxf.o \
getopt.o
 
#
# Root rule
#
$(PROG) : $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) -o $(PROG)
$(COPYPROG)
 
#
# acpibin source
#
abcompare.o : $(ACPICA_TOOLS)/acpibin/abcompare.c
$(COMPILE)
 
abmain.o : $(ACPICA_TOOLS)/acpibin/abmain.c
$(COMPILE)
 
#
# ACPICA core source - common
#
getopt.o : $(ACPICA_COMMON)/getopt.c
$(COMPILE)
 
#
# ACPICA core source
#
utalloc.o : $(ACPICA_CORE)/utilities/utalloc.c
$(COMPILE)
 
utcache.o : $(ACPICA_CORE)/utilities/utcache.c
$(COMPILE)
 
utdebug.o : $(ACPICA_CORE)/utilities/utdebug.c
$(COMPILE)
 
utdecode.o : $(ACPICA_CORE)/utilities/utdecode.c
$(COMPILE)
 
utglobal.o : $(ACPICA_CORE)/utilities/utglobal.c
$(COMPILE)
 
utlock.o : $(ACPICA_CORE)/utilities/utlock.c
$(COMPILE)
 
utmath.o : $(ACPICA_CORE)/utilities/utmath.c
$(COMPILE)
 
utmisc.o : $(ACPICA_CORE)/utilities/utmisc.c
$(COMPILE)
 
utmutex.o : $(ACPICA_CORE)/utilities/utmutex.c
$(COMPILE)
 
utstate.o : $(ACPICA_CORE)/utilities/utstate.c
$(COMPILE)
 
utxferror.o : $(ACPICA_CORE)/utilities/utxferror.c
$(COMPILE)
 
#
# Unix OS services layer (OSL)
#
osunixxf.o : $(ACPICA_OSL)/osunixxf.c
$(COMPILE)
 
 
clean :
rm -f $(PROG) $(PROG).exe $(OBJS)
 
install :
$(INSTALLPROG)
/drivers/devman/acpica/generate/unix/acpibin
Property changes:
Added: bugtraq:number
+true
\ No newline at end of property
/drivers/devman/acpica/generate/unix/acpiexec/Makefile
0,0 → 1,660
#
# acpiexec: ACPI execution simulator. Runs ACPICA code in user
# space. Loads ACPI tables, displays the namespace, and allows
# execution of control methods.
#
 
#
# Note: This makefile is intended to be used from within the native
# ACPICA directory structure, from under generate/unix. It specifically
# places all object files in a generate/unix subdirectory, not within
# the various ACPICA source directories. This prevents collisions
# between different compilations of the same source file with different
# compile options, and prevents pollution of the source code.
#
include ../Makefile.config
PROG = acpiexec
 
#
# Flags specific to acpiexec utility
#
CFLAGS+= \
-DACPI_EXEC_APP \
-I$(ACPICA_TOOLS)/acpiexec
LDFLAGS += -lpthread -lrt
 
OBJS = \
aeexec.o \
aehandlers.o \
aemain.o \
aetables.o \
dbcmds.o \
dbdisply.o \
dbexec.o \
dbfileio.o \
dbhistry.o \
dbinput.o \
dbmethod.o \
dbnames.o \
dbstats.o \
dbutils.o \
dbxface.o \
dmbuffer.o \
dmnames.o \
dmobject.o \
dmopcode.o \
dmresrc.o \
dmresrcl.o \
dmresrcs.o \
dmutils.o \
dmwalk.o \
dsargs.o \
dscontrol.o \
dsfield.o \
dsinit.o \
dsmethod.o \
dsmthdat.o \
dsobject.o \
dsopcode.o \
dsutils.o \
dswexec.o \
dswload.o \
dswload2.o \
dswscope.o \
dswstate.o \
evevent.o \
evglock.o \
evgpe.o \
evgpeblk.o \
evgpeinit.o \
evgpeutil.o \
evmisc.o \
evregion.o \
evrgnini.o \
evsci.o \
evxface.o \
evxfevnt.o \
evxfgpe.o \
evxfregn.o \
exconfig.o \
exconvrt.o \
excreate.o \
exdebug.o \
exdump.o \
exfield.o \
exfldio.o \
exmisc.o \
exmutex.o \
exnames.o \
exoparg1.o \
exoparg2.o \
exoparg3.o \
exoparg6.o \
exprep.o \
exregion.o \
exresnte.o \
exresolv.o \
exresop.o \
exstore.o \
exstoren.o \
exstorob.o \
exsystem.o \
exutils.o \
getopt.o \
hwacpi.o \
hwgpe.o \
hwpci.o \
hwregs.o \
hwsleep.o \
hwvalid.o \
hwxface.o \
nsaccess.o \
nsalloc.o \
nsdump.o \
nsdumpdv.o \
nseval.o \
nsinit.o \
nsload.o \
nsnames.o \
nsobject.o \
nsparse.o \
nspredef.o \
nsrepair.o \
nsrepair2.o \
nssearch.o \
nsutils.o \
nswalk.o \
nsxfeval.o \
nsxfname.o \
nsxfobj.o \
osunixxf.o \
psargs.o \
psloop.o \
psopcode.o \
psparse.o \
psscope.o \
pstree.o \
psutils.o \
pswalk.o \
psxface.o \
rsaddr.o \
rscalc.o \
rscreate.o \
rsdump.o \
rsinfo.o \
rsio.o \
rsirq.o \
rslist.o \
rsmemory.o \
rsmisc.o \
rsutils.o \
rsxface.o \
tbfadt.o \
tbfind.o \
tbinstal.o \
tbutils.o \
tbxface.o \
tbxfroot.o \
utalloc.o \
utcache.o \
utcopy.o \
utdebug.o \
utdecode.o \
utdelete.o \
uteval.o \
utglobal.o \
utids.o \
utinit.o \
utlock.o \
utmath.o \
utmisc.o \
utmutex.o \
utobject.o \
utresrc.o \
utstate.o \
uttrack.o \
utosi.o \
utxferror.o \
utxface.o
 
#
# Root rule
#
$(PROG) : $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) -o $(PROG)
$(COPYPROG)
 
#
# acpiexec source
#
aeexec.o : $(ACPICA_TOOLS)/acpiexec/aeexec.c
$(COMPILE)
 
aehandlers.o : $(ACPICA_TOOLS)/acpiexec/aehandlers.c
$(COMPILE)
 
aemain.o : $(ACPICA_TOOLS)/acpiexec/aemain.c
$(COMPILE)
 
aetables.o : $(ACPICA_TOOLS)/acpiexec/aetables.c
$(COMPILE)
 
#
# ACPICA core source - common
#
getopt.o : $(ACPICA_COMMON)/getopt.c
$(COMPILE)
 
#
# ACPICA core source
#
dbcmds.o : $(ACPICA_CORE)/debugger/dbcmds.c
$(COMPILE)
 
dbdisply.o : $(ACPICA_CORE)/debugger/dbdisply.c
$(COMPILE)
 
dbexec.o : $(ACPICA_CORE)/debugger/dbexec.c
$(COMPILE)
 
dbfileio.o : $(ACPICA_CORE)/debugger/dbfileio.c
$(COMPILE)
 
dbhistry.o : $(ACPICA_CORE)/debugger/dbhistry.c
$(COMPILE)
 
dbinput.o : $(ACPICA_CORE)/debugger/dbinput.c
$(COMPILE)
 
dbmethod.o : $(ACPICA_CORE)/debugger/dbmethod.c
$(COMPILE)
 
dbnames.o : $(ACPICA_CORE)/debugger/dbnames.c
$(COMPILE)
 
dbstats.o : $(ACPICA_CORE)/debugger/dbstats.c
$(COMPILE)
 
dbutils.o : $(ACPICA_CORE)/debugger/dbutils.c
$(COMPILE)
 
dbxface.o : $(ACPICA_CORE)/debugger/dbxface.c
$(COMPILE)
 
dmbuffer.o : $(ACPICA_CORE)/disassembler/dmbuffer.c
$(COMPILE)
 
dmnames.o : $(ACPICA_CORE)/disassembler/dmnames.c
$(COMPILE)
 
dmobject.o : $(ACPICA_CORE)/disassembler/dmobject.c
$(COMPILE)
 
dmopcode.o : $(ACPICA_CORE)/disassembler/dmopcode.c
$(COMPILE)
 
dmresrc.o : $(ACPICA_CORE)/disassembler/dmresrc.c
$(COMPILE)
 
dmresrcl.o : $(ACPICA_CORE)/disassembler/dmresrcl.c
$(COMPILE)
 
dmresrcs.o : $(ACPICA_CORE)/disassembler/dmresrcs.c
$(COMPILE)
 
dmutils.o : $(ACPICA_CORE)/disassembler/dmutils.c
$(COMPILE)
 
dmwalk.o : $(ACPICA_CORE)/disassembler/dmwalk.c
$(COMPILE)
 
dsargs.o : $(ACPICA_CORE)/dispatcher/dsargs.c
$(COMPILE)
 
dscontrol.o : $(ACPICA_CORE)/dispatcher/dscontrol.c
$(COMPILE)
 
dsfield.o : $(ACPICA_CORE)/dispatcher/dsfield.c
$(COMPILE)
 
dsinit.o : $(ACPICA_CORE)/dispatcher/dsinit.c
$(COMPILE)
 
dsmethod.o : $(ACPICA_CORE)/dispatcher/dsmethod.c
$(COMPILE)
 
dsmthdat.o : $(ACPICA_CORE)/dispatcher/dsmthdat.c
$(COMPILE)
 
dsobject.o : $(ACPICA_CORE)/dispatcher/dsobject.c
$(COMPILE)
 
dsopcode.o : $(ACPICA_CORE)/dispatcher/dsopcode.c
$(COMPILE)
 
dsutils.o : $(ACPICA_CORE)/dispatcher/dsutils.c
$(COMPILE)
 
dswexec.o : $(ACPICA_CORE)/dispatcher/dswexec.c
$(COMPILE)
 
dswload.o : $(ACPICA_CORE)/dispatcher/dswload.c
$(COMPILE)
 
dswload2.o : $(ACPICA_CORE)/dispatcher/dswload2.c
$(COMPILE)
 
dswscope.o : $(ACPICA_CORE)/dispatcher/dswscope.c
$(COMPILE)
 
dswstate.o : $(ACPICA_CORE)/dispatcher/dswstate.c
$(COMPILE)
 
evevent.o : $(ACPICA_CORE)/events/evevent.c
$(COMPILE)
 
evglock.o : $(ACPICA_CORE)/events/evglock.c
$(COMPILE)
 
evgpe.o : $(ACPICA_CORE)/events/evgpe.c
$(COMPILE)
 
evgpeblk.o : $(ACPICA_CORE)/events/evgpeblk.c
$(COMPILE)
 
evgpeinit.o : $(ACPICA_CORE)/events/evgpeinit.c
$(COMPILE)
 
evgpeutil.o : $(ACPICA_CORE)/events/evgpeutil.c
$(COMPILE)
 
evmisc.o : $(ACPICA_CORE)/events/evmisc.c
$(COMPILE)
 
evregion.o : $(ACPICA_CORE)/events/evregion.c
$(COMPILE)
 
evrgnini.o : $(ACPICA_CORE)/events/evrgnini.c
$(COMPILE)
 
evsci.o : $(ACPICA_CORE)/events/evsci.c
$(COMPILE)
 
evxface.o : $(ACPICA_CORE)/events/evxface.c
$(COMPILE)
 
evxfevnt.o : $(ACPICA_CORE)/events/evxfevnt.c
$(COMPILE)
 
evxfgpe.o : $(ACPICA_CORE)/events/evxfgpe.c
$(COMPILE)
 
evxfregn.o : $(ACPICA_CORE)/events/evxfregn.c
$(COMPILE)
 
exconfig.o : $(ACPICA_CORE)/executer/exconfig.c
$(COMPILE)
 
exconvrt.o : $(ACPICA_CORE)/executer/exconvrt.c
$(COMPILE)
 
excreate.o : $(ACPICA_CORE)/executer/excreate.c
$(COMPILE)
 
exdebug.o : $(ACPICA_CORE)/executer/exdebug.c
$(COMPILE)
 
exdump.o : $(ACPICA_CORE)/executer/exdump.c
$(COMPILE)
 
exfield.o : $(ACPICA_CORE)/executer/exfield.c
$(COMPILE)
 
exfldio.o : $(ACPICA_CORE)/executer/exfldio.c
$(COMPILE)
 
exmisc.o : $(ACPICA_CORE)/executer/exmisc.c
$(COMPILE)
 
exmutex.o : $(ACPICA_CORE)/executer/exmutex.c
$(COMPILE)
 
exnames.o : $(ACPICA_CORE)/executer/exnames.c
$(COMPILE)
 
exoparg1.o : $(ACPICA_CORE)/executer/exoparg1.c
$(COMPILE)
 
exoparg2.o : $(ACPICA_CORE)/executer/exoparg2.c
$(COMPILE)
 
exoparg3.o : $(ACPICA_CORE)/executer/exoparg3.c
$(COMPILE)
 
exoparg6.o : $(ACPICA_CORE)/executer/exoparg6.c
$(COMPILE)
 
exprep.o : $(ACPICA_CORE)/executer/exprep.c
$(COMPILE)
 
exregion.o : $(ACPICA_CORE)/executer/exregion.c
$(COMPILE)
 
exresnte.o : $(ACPICA_CORE)/executer/exresnte.c
$(COMPILE)
 
exresolv.o : $(ACPICA_CORE)/executer/exresolv.c
$(COMPILE)
 
exresop.o : $(ACPICA_CORE)/executer/exresop.c
$(COMPILE)
 
exstore.o : $(ACPICA_CORE)/executer/exstore.c
$(COMPILE)
 
exstoren.o : $(ACPICA_CORE)/executer/exstoren.c
$(COMPILE)
 
exstorob.o : $(ACPICA_CORE)/executer/exstorob.c
$(COMPILE)
 
exsystem.o : $(ACPICA_CORE)/executer/exsystem.c
$(COMPILE)
 
exutils.o : $(ACPICA_CORE)/executer/exutils.c
$(COMPILE)
 
hwacpi.o : $(ACPICA_CORE)/hardware/hwacpi.c
$(COMPILE)
 
hwgpe.o : $(ACPICA_CORE)/hardware/hwgpe.c
$(COMPILE)
 
hwpci.o : $(ACPICA_CORE)/hardware/hwpci.c
$(COMPILE)
 
hwregs.o : $(ACPICA_CORE)/hardware/hwregs.c
$(COMPILE)
 
hwsleep.o : $(ACPICA_CORE)/hardware/hwsleep.c
$(COMPILE)
 
hwvalid.o : $(ACPICA_CORE)/hardware/hwvalid.c
$(COMPILE)
 
hwxface.o : $(ACPICA_CORE)/hardware/hwxface.c
$(COMPILE)
 
nsaccess.o : $(ACPICA_CORE)/namespace/nsaccess.c
$(COMPILE)
 
nsalloc.o : $(ACPICA_CORE)/namespace/nsalloc.c
$(COMPILE)
 
nsdump.o : $(ACPICA_CORE)/namespace/nsdump.c
$(COMPILE)
 
nsdumpdv.o : $(ACPICA_CORE)/namespace/nsdumpdv.c
$(COMPILE)
 
nseval.o : $(ACPICA_CORE)/namespace/nseval.c
$(COMPILE)
 
nsinit.o : $(ACPICA_CORE)/namespace/nsinit.c
$(COMPILE)
 
nsload.o : $(ACPICA_CORE)/namespace/nsload.c
$(COMPILE)
 
nsnames.o : $(ACPICA_CORE)/namespace/nsnames.c
$(COMPILE)
 
nsobject.o : $(ACPICA_CORE)/namespace/nsobject.c
$(COMPILE)
 
nsparse.o : $(ACPICA_CORE)/namespace/nsparse.c
$(COMPILE)
 
nspredef.o : $(ACPICA_CORE)/namespace/nspredef.c
$(COMPILE)
 
nsrepair.o : $(ACPICA_CORE)/namespace/nsrepair.c
$(COMPILE)
 
nsrepair2.o : $(ACPICA_CORE)/namespace/nsrepair2.c
$(COMPILE)
 
nssearch.o : $(ACPICA_CORE)/namespace/nssearch.c
$(COMPILE)
 
nsutils.o : $(ACPICA_CORE)/namespace/nsutils.c
$(COMPILE)
 
nswalk.o : $(ACPICA_CORE)/namespace/nswalk.c
$(COMPILE)
 
nsxfeval.o : $(ACPICA_CORE)/namespace/nsxfeval.c
$(COMPILE)
 
nsxfname.o : $(ACPICA_CORE)/namespace/nsxfname.c
$(COMPILE)
 
nsxfobj.o : $(ACPICA_CORE)/namespace/nsxfobj.c
$(COMPILE)
 
psargs.o : $(ACPICA_CORE)/parser/psargs.c
$(COMPILE)
 
psloop.o : $(ACPICA_CORE)/parser/psloop.c
$(COMPILE)
 
psopcode.o : $(ACPICA_CORE)/parser/psopcode.c
$(COMPILE)
 
psparse.o : $(ACPICA_CORE)/parser/psparse.c
$(COMPILE)
 
psscope.o : $(ACPICA_CORE)/parser/psscope.c
$(COMPILE)
 
pstree.o : $(ACPICA_CORE)/parser/pstree.c
$(COMPILE)
 
psutils.o : $(ACPICA_CORE)/parser/psutils.c
$(COMPILE)
 
pswalk.o : $(ACPICA_CORE)/parser/pswalk.c
$(COMPILE)
 
psxface.o : $(ACPICA_CORE)/parser/psxface.c
$(COMPILE)
 
rsaddr.o : $(ACPICA_CORE)/resources/rsaddr.c
$(COMPILE)
 
rscalc.o : $(ACPICA_CORE)/resources/rscalc.c
$(COMPILE)
 
rscreate.o : $(ACPICA_CORE)/resources/rscreate.c
$(COMPILE)
 
rsdump.o : $(ACPICA_CORE)/resources/rsdump.c
$(COMPILE)
 
rsio.o : $(ACPICA_CORE)/resources/rsio.c
$(COMPILE)
 
rsinfo.o : $(ACPICA_CORE)/resources/rsinfo.c
$(COMPILE)
 
rsirq.o : $(ACPICA_CORE)/resources/rsirq.c
$(COMPILE)
 
rslist.o : $(ACPICA_CORE)/resources/rslist.c
$(COMPILE)
 
rsmemory.o : $(ACPICA_CORE)/resources/rsmemory.c
$(COMPILE)
 
rsmisc.o : $(ACPICA_CORE)/resources/rsmisc.c
$(COMPILE)
 
rsutils.o : $(ACPICA_CORE)/resources/rsutils.c
$(COMPILE)
 
rsxface.o : $(ACPICA_CORE)/resources/rsxface.c
$(COMPILE)
 
tbfadt.o : $(ACPICA_CORE)/tables/tbfadt.c
$(COMPILE)
 
tbfind.o : $(ACPICA_CORE)/tables/tbfind.c
$(COMPILE)
 
tbinstal.o : $(ACPICA_CORE)/tables/tbinstal.c
$(COMPILE)
 
tbutils.o : $(ACPICA_CORE)/tables/tbutils.c
$(COMPILE)
 
tbxface.o : $(ACPICA_CORE)/tables/tbxface.c
$(COMPILE)
 
tbxfroot.o : $(ACPICA_CORE)/tables/tbxfroot.c
$(COMPILE)
 
utalloc.o : $(ACPICA_CORE)/utilities/utalloc.c
$(COMPILE)
 
utcache.o : $(ACPICA_CORE)/utilities/utcache.c
$(COMPILE)
 
utcopy.o : $(ACPICA_CORE)/utilities/utcopy.c
$(COMPILE)
 
utdebug.o : $(ACPICA_CORE)/utilities/utdebug.c
$(COMPILE)
 
utdecode.o : $(ACPICA_CORE)/utilities/utdecode.c
$(COMPILE)
 
utdelete.o : $(ACPICA_CORE)/utilities/utdelete.c
$(COMPILE)
 
uteval.o : $(ACPICA_CORE)/utilities/uteval.c
$(COMPILE)
 
utglobal.o : $(ACPICA_CORE)/utilities/utglobal.c
$(COMPILE)
 
utids.o : $(ACPICA_CORE)/utilities/utids.c
$(COMPILE)
 
utinit.o : $(ACPICA_CORE)/utilities/utinit.c
$(COMPILE)
 
utlock.o : $(ACPICA_CORE)/utilities/utlock.c
$(COMPILE)
 
utmath.o : $(ACPICA_CORE)/utilities/utmath.c
$(COMPILE)
 
utmisc.o : $(ACPICA_CORE)/utilities/utmisc.c
$(COMPILE)
 
utmutex.o : $(ACPICA_CORE)/utilities/utmutex.c
$(COMPILE)
 
utobject.o : $(ACPICA_CORE)/utilities/utobject.c
$(COMPILE)
 
utresrc.o : $(ACPICA_CORE)/utilities/utresrc.c
$(COMPILE)
 
utstate.o : $(ACPICA_CORE)/utilities/utstate.c
$(COMPILE)
 
uttrack.o : $(ACPICA_CORE)/utilities/uttrack.c
$(COMPILE)
 
utosi.o : $(ACPICA_CORE)/utilities/utosi.c
$(COMPILE)
 
utxferror.o : $(ACPICA_CORE)/utilities/utxferror.c
$(COMPILE)
 
utxface.o : $(ACPICA_CORE)/utilities/utxface.c
$(COMPILE)
 
#
# Unix OS services layer (OSL)
#
osunixxf.o : $(ACPICA_OSL)/osunixxf.c
$(COMPILE)
 
 
clean :
rm -f $(PROG) $(PROG).exe $(OBJS)
 
install :
$(INSTALLPROG)
/drivers/devman/acpica/generate/unix/acpiexec
Property changes:
Added: bugtraq:number
+true
\ No newline at end of property
/drivers/devman/acpica/generate/unix/acpihelp/Makefile
0,0 → 1,72
#
# acpihelp - ACPI Help utility. Displays ASL operator syntax and
# information about ACPI predefined names.
#
 
#
# Note: This makefile is intended to be used from within the native
# ACPICA directory structure, from under generate/unix. It specifically
# places all object files in a generate/unix subdirectory, not within
# the various ACPICA source directories. This prevents collisions
# between different compilations of the same source file with different
# compile options, and prevents pollution of the source code.
#
include ../Makefile.config
PROG = acpihelp
 
#
# Flags specific to acpihelp
#
CFLAGS+= \
-DACPI_HELP_APP \
-I$(ACPICA_TOOLS)/acpihelp
 
OBJS = \
ahamlops.o \
ahaslkey.o \
ahaslops.o \
ahdecode.o \
ahpredef.o \
ahmain.o \
getopt.o
 
#
# Root rule
#
$(PROG) : $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) -o $(PROG)
$(COPYPROG)
 
#
# acpihelp source
#
ahamlops.o : $(ACPICA_TOOLS)/acpihelp/ahamlops.c
$(COMPILE)
 
ahaslkey.o : $(ACPICA_TOOLS)/acpihelp/ahaslkey.c
$(COMPILE)
 
ahaslops.o : $(ACPICA_TOOLS)/acpihelp/ahaslops.c
$(COMPILE)
 
ahdecode.o : $(ACPICA_TOOLS)/acpihelp/ahdecode.c
$(COMPILE)
 
ahpredef.o : $(ACPICA_TOOLS)/acpihelp/ahpredef.c
$(COMPILE)
 
ahmain.o : $(ACPICA_TOOLS)/acpihelp/ahmain.c
$(COMPILE)
 
#
# ACPICA core source - common
#
getopt.o : $(ACPICA_COMMON)/getopt.c
$(COMPILE)
 
 
clean :
rm -f $(PROG) $(PROG).exe $(OBJS)
 
install :
$(INSTALLPROG)
/drivers/devman/acpica/generate/unix/acpihelp
Property changes:
Added: bugtraq:number
+true
\ No newline at end of property
/drivers/devman/acpica/generate/unix/acpinames/Makefile
0,0 → 1,303
#
# acpinames - Load ACPI table and dump namespace. This is a subset
# of the AcpiExec functionality, it is intended to demonstrate
# the configurability of ACPICA.
#
 
#
# Note: This makefile is intended to be used from within the native
# ACPICA directory structure, from under generate/unix. It specifically
# places all object files in a generate/unix subdirectory, not within
# the various ACPICA source directories. This prevents collisions
# between different compilations of the same source file with different
# compile options, and prevents pollution of the source code.
#
include ../Makefile.config
PROG = acpinames
 
#
# Flags specific to acpinames utility
#
CFLAGS+= \
-DACPI_NAMES_APP \
-I$(ACPICA_TOOLS)/acpinames
 
OBJS = \
anmain.o \
anstubs.o \
antables.o \
dbfileio.o \
dsfield.o \
dsmthdat.o \
dsobject.o \
dsutils.o \
dswload.o \
dswload2.o \
dswscope.o \
dswstate.o \
excreate.o \
exnames.o \
exresnte.o \
exresolv.o \
exutils.o \
getopt.o \
nsaccess.o \
nsalloc.o \
nsdump.o \
nsinit.o \
nsload.o \
nsnames.o \
nsobject.o \
nsparse.o \
nssearch.o \
nsutils.o \
nswalk.o \
nsxfeval.o \
nsxfname.o \
nsxfobj.o \
osunixxf.o \
psargs.o \
psloop.o \
psopcode.o \
psparse.o \
psscope.o \
pstree.o \
psutils.o \
pswalk.o \
psxface.o \
tbfadt.o \
tbfind.o \
tbinstal.o \
tbutils.o \
tbxface.o \
tbxfroot.o \
utalloc.o \
utcache.o \
utdebug.o \
utdecode.o \
utdelete.o \
utglobal.o \
utlock.o \
utmath.o \
utmisc.o \
utmutex.o \
utobject.o \
utstate.o \
utosi.o \
utxferror.o \
utxface.o
 
#
# Root rule
#
$(PROG) : $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) -o $(PROG)
$(COPYPROG)
 
#
# acpinames source
#
anmain.o : $(ACPICA_TOOLS)/acpinames/anmain.c
$(COMPILE)
 
anstubs.o : $(ACPICA_TOOLS)/acpinames/anstubs.c
$(COMPILE)
 
antables.o : $(ACPICA_TOOLS)/acpinames/antables.c
$(COMPILE)
 
#
# ACPICA core source - common
#
getopt.o : $(ACPICA_COMMON)/getopt.c
$(COMPILE)
 
#
# ACPICA core source
#
dbfileio.o : $(ACPICA_CORE)/debugger/dbfileio.c
$(COMPILE)
 
dsfield.o : $(ACPICA_CORE)/dispatcher/dsfield.c
$(COMPILE)
 
dsmthdat.o : $(ACPICA_CORE)/dispatcher/dsmthdat.c
$(COMPILE)
 
dsobject.o : $(ACPICA_CORE)/dispatcher/dsobject.c
$(COMPILE)
 
dsutils.o : $(ACPICA_CORE)/dispatcher/dsutils.c
$(COMPILE)
 
dswload.o : $(ACPICA_CORE)/dispatcher/dswload.c
$(COMPILE)
 
dswload2.o : $(ACPICA_CORE)/dispatcher/dswload2.c
$(COMPILE)
 
dswscope.o : $(ACPICA_CORE)/dispatcher/dswscope.c
$(COMPILE)
 
dswstate.o : $(ACPICA_CORE)/dispatcher/dswstate.c
$(COMPILE)
 
excreate.o : $(ACPICA_CORE)/executer/excreate.c
$(COMPILE)
 
exnames.o : $(ACPICA_CORE)/executer/exnames.c
$(COMPILE)
 
exresnte.o : $(ACPICA_CORE)/executer/exresnte.c
$(COMPILE)
 
exresolv.o : $(ACPICA_CORE)/executer/exresolv.c
$(COMPILE)
 
exutils.o : $(ACPICA_CORE)/executer/exutils.c
$(COMPILE)
 
nsaccess.o : $(ACPICA_CORE)/namespace/nsaccess.c
$(COMPILE)
 
nsalloc.o : $(ACPICA_CORE)/namespace/nsalloc.c
$(COMPILE)
 
nsdump.o : $(ACPICA_CORE)/namespace/nsdump.c
$(COMPILE)
 
nsinit.o : $(ACPICA_CORE)/namespace/nsinit.c
$(COMPILE)
 
nsload.o : $(ACPICA_CORE)/namespace/nsload.c
$(COMPILE)
 
nsnames.o : $(ACPICA_CORE)/namespace/nsnames.c
$(COMPILE)
 
nsobject.o : $(ACPICA_CORE)/namespace/nsobject.c
$(COMPILE)
 
nsparse.o : $(ACPICA_CORE)/namespace/nsparse.c
$(COMPILE)
 
nssearch.o : $(ACPICA_CORE)/namespace/nssearch.c
$(COMPILE)
 
nsutils.o : $(ACPICA_CORE)/namespace/nsutils.c
$(COMPILE)
 
nswalk.o : $(ACPICA_CORE)/namespace/nswalk.c
$(COMPILE)
 
nsxfeval.o : $(ACPICA_CORE)/namespace/nsxfeval.c
$(COMPILE)
 
nsxfname.o : $(ACPICA_CORE)/namespace/nsxfname.c
$(COMPILE)
 
nsxfobj.o : $(ACPICA_CORE)/namespace/nsxfobj.c
$(COMPILE)
 
psargs.o : $(ACPICA_CORE)/parser/psargs.c
$(COMPILE)
 
psloop.o : $(ACPICA_CORE)/parser/psloop.c
$(COMPILE)
 
psopcode.o : $(ACPICA_CORE)/parser/psopcode.c
$(COMPILE)
 
psparse.o : $(ACPICA_CORE)/parser/psparse.c
$(COMPILE)
 
psscope.o : $(ACPICA_CORE)/parser/psscope.c
$(COMPILE)
 
pstree.o : $(ACPICA_CORE)/parser/pstree.c
$(COMPILE)
 
psutils.o : $(ACPICA_CORE)/parser/psutils.c
$(COMPILE)
 
pswalk.o : $(ACPICA_CORE)/parser/pswalk.c
$(COMPILE)
 
psxface.o : $(ACPICA_CORE)/parser/psxface.c
$(COMPILE)
 
tbfadt.o : $(ACPICA_CORE)/tables/tbfadt.c
$(COMPILE)
 
tbfind.o : $(ACPICA_CORE)/tables/tbfind.c
$(COMPILE)
 
tbinstal.o : $(ACPICA_CORE)/tables/tbinstal.c
$(COMPILE)
 
tbutils.o : $(ACPICA_CORE)/tables/tbutils.c
$(COMPILE)
 
tbxface.o : $(ACPICA_CORE)/tables/tbxface.c
$(COMPILE)
 
tbxfroot.o : $(ACPICA_CORE)/tables/tbxfroot.c
$(COMPILE)
 
utalloc.o : $(ACPICA_CORE)/utilities/utalloc.c
$(COMPILE)
 
utcache.o : $(ACPICA_CORE)/utilities/utcache.c
$(COMPILE)
 
utdebug.o : $(ACPICA_CORE)/utilities/utdebug.c
$(COMPILE)
 
utdecode.o : $(ACPICA_CORE)/utilities/utdecode.c
$(COMPILE)
 
utdelete.o : $(ACPICA_CORE)/utilities/utdelete.c
$(COMPILE)
 
utglobal.o : $(ACPICA_CORE)/utilities/utglobal.c
$(COMPILE)
 
utlock.o : $(ACPICA_CORE)/utilities/utlock.c
$(COMPILE)
 
utmath.o : $(ACPICA_CORE)/utilities/utmath.c
$(COMPILE)
 
utmisc.o : $(ACPICA_CORE)/utilities/utmisc.c
$(COMPILE)
 
utmutex.o : $(ACPICA_CORE)/utilities/utmutex.c
$(COMPILE)
 
utobject.o : $(ACPICA_CORE)/utilities/utobject.c
$(COMPILE)
 
utstate.o : $(ACPICA_CORE)/utilities/utstate.c
$(COMPILE)
 
utosi.o : $(ACPICA_CORE)/utilities/utosi.c
$(COMPILE)
 
utxferror.o : $(ACPICA_CORE)/utilities/utxferror.c
$(COMPILE)
 
utxface.o : $(ACPICA_CORE)/utilities/utxface.c
$(COMPILE)
 
#
# Unix OS services layer (OSL)
#
osunixxf.o : $(ACPICA_OSL)/osunixxf.c
$(COMPILE)
 
 
clean :
rm -f $(PROG) $(PROG).exe $(OBJS)
 
install :
$(INSTALLPROG)
/drivers/devman/acpica/generate/unix/acpinames
Property changes:
Added: bugtraq:number
+true
\ No newline at end of property
/drivers/devman/acpica/generate/unix/acpisrc/Makefile
0,0 → 1,82
#
# acpisrc - ACPICA source code conversion utility
#
 
#
# Note: This makefile is intended to be used from within the native
# ACPICA directory structure, from under generate/unix. It specifically
# places all object files in a generate/unix subdirectory, not within
# the various ACPICA source directories. This prevents collisions
# between different compilations of the same source file with different
# compile options, and prevents pollution of the source code.
#
include ../Makefile.config
PROG = acpisrc
 
#
# Flags specific to acpisrc
#
CFLAGS+= \
-DACPI_SRC_APP \
-I$(ACPICA_TOOLS)/acpisrc
 
OBJS = \
ascase.o \
asconvrt.o \
asfile.o \
asmain.o \
asremove.o \
astable.o \
asutils.o \
getopt.o \
osunixdir.o
 
#
# Root rule
#
$(PROG) : $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) -o $(PROG)
$(COPYPROG)
 
#
# acpisrc source
#
ascase.o : $(ACPICA_TOOLS)/acpisrc/ascase.c
$(COMPILE)
 
asconvrt.o : $(ACPICA_TOOLS)/acpisrc/asconvrt.c
$(COMPILE)
 
asfile.o : $(ACPICA_TOOLS)/acpisrc/asfile.c
$(COMPILE)
 
asmain.o : $(ACPICA_TOOLS)/acpisrc/asmain.c
$(COMPILE)
 
asremove.o : $(ACPICA_TOOLS)/acpisrc/asremove.c
$(COMPILE)
 
astable.o : $(ACPICA_TOOLS)/acpisrc/astable.c
$(COMPILE)
 
asutils.o : $(ACPICA_TOOLS)/acpisrc/asutils.c
$(COMPILE)
 
#
# ACPICA core source - common
#
getopt.o : $(ACPICA_COMMON)/getopt.c
$(COMPILE)
 
#
# Unix OS services layer (OSL)
#
osunixdir.o : $(ACPICA_OSL)/osunixdir.c
$(COMPILE)
 
 
clean :
rm -f $(PROG) $(PROG).exe $(OBJS)
 
install :
$(INSTALLPROG)
/drivers/devman/acpica/generate/unix/acpisrc
Property changes:
Added: bugtraq:number
+true
\ No newline at end of property
/drivers/devman/acpica/generate/unix/acpixtract/Makefile
0,0 → 1,36
#
# acpixtract - extract binary ACPI tables from acpidump text output
#
 
#
# Note: This makefile is intended to be used from within the native
# ACPICA directory structure, from under generate/unix. It specifically
# places all object files in a generate/unix subdirectory, not within
# the various ACPICA source directories. This prevents collisions
# between different compilations of the same source file with different
# compile options, and prevents pollution of the source code.
#
include ../Makefile.config
PROG = acpixtract
 
OBJS = \
acpixtract.o
 
#
# Root rule
#
$(PROG) : $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) -o $(PROG)
 
#
# acpixtract source
#
acpixtract.o : $(ACPICA_TOOLS)/acpixtract/acpixtract.c
$(COMPILE)
 
 
clean :
rm -f $(PROG) $(PROG).exe
 
install :
$(INSTALLPROG)
/drivers/devman/acpica/generate/unix/acpixtract
Property changes:
Added: bugtraq:number
+true
\ No newline at end of property
/drivers/devman/acpica/generate/unix/bin
Property changes:
Added: bugtraq:number
+true
\ No newline at end of property
/drivers/devman/acpica/generate/unix/iasl/Makefile
0,0 → 1,624
#
# iASL compiler/disassembler
#
 
#
# Note: This makefile is intended to be used from within the native
# ACPICA directory structure, from under generate/unix. It specifically
# places all object files in a generate/unix subdirectory, not within
# the various ACPICA source directories. This prevents collisions
# between different compilations of the same source file with different
# compile options, and prevents pollution of the source code.
#
include ../Makefile.config
PROG = iasl
 
#
# Flags specific to iASL compiler
#
CFLAGS+= \
-DACPI_ASL_COMPILER \
-I$(ASL_COMPILER) \
-I.
 
OBJS = \
adfile.o \
adisasm.o \
adwalk.o \
aslanalyze.o \
aslbtypes.o \
aslcodegen.o \
aslcompile.o \
aslcompilerlex.o \
aslcompilerparse.o \
aslerror.o \
aslfiles.o \
aslfold.o \
asllength.o \
asllisting.o \
aslload.o \
asllookup.o \
aslmain.o \
aslmap.o \
aslopcodes.o \
asloperands.o \
aslopt.o \
aslpredef.o \
aslresource.o \
aslrestype1.o \
aslrestype1i.o \
aslrestype2.o \
aslrestype2d.o \
aslrestype2e.o \
aslrestype2q.o \
aslrestype2w.o \
aslstartup.o \
aslstubs.o \
asltransform.o \
asltree.o \
aslutils.o \
asluuid.o \
aslwalks.o \
dtcompile.o \
dtexpress.o \
dtfield.o \
dtio.o \
dtparserlex.o \
dtparserparse.o \
dtsubtable.o \
dttable.o \
dttemplate.o \
dtutils.o \
dbfileio.o \
dmbuffer.o \
dmextern.o \
dmnames.o \
dmobject.o \
dmopcode.o \
dmresrc.o \
dmresrcl.o \
dmresrcs.o \
dmrestag.o \
dmtable.o \
dmtbdump.o \
dmtbinfo.o \
dmutils.o \
dmwalk.o \
dsargs.o \
dscontrol.o \
dsfield.o \
dsobject.o \
dsopcode.o \
dsutils.o \
dswexec.o \
dswload.o \
dswload2.o \
dswscope.o \
dswstate.o \
exconvrt.o \
excreate.o \
exdump.o \
exmisc.o \
exmutex.o \
exnames.o \
exoparg1.o \
exoparg2.o \
exoparg3.o \
exoparg6.o \
exprep.o \
exregion.o \
exresnte.o \
exresolv.o \
exresop.o \
exstore.o \
exstoren.o \
exstorob.o \
exsystem.o \
exutils.o \
getopt.o \
nsaccess.o \
nsalloc.o \
nsdump.o \
nsnames.o \
nsobject.o \
nsparse.o \
nssearch.o \
nsutils.o \
nswalk.o \
nsxfobj.o \
osunixxf.o \
psargs.o \
psloop.o \
psopcode.o \
psparse.o \
psscope.o \
pstree.o \
psutils.o \
pswalk.o \
tbfadt.o \
tbinstal.o \
tbutils.o \
tbxface.o \
utalloc.o \
utcache.o \
utcopy.o \
utdebug.o \
utdecode.o \
utdelete.o \
utglobal.o \
utinit.o \
utlock.o \
utmath.o \
utmisc.o \
utmutex.o \
utobject.o \
utresrc.o \
utstate.o \
utxferror.o \
utxface.o
 
INTERMEDIATES = \
aslcompilerlex.c \
aslcompilerparse.c \
dtparserlex.c \
dtparserparse.c
 
MISC = \
aslcompiler.y.h \
aslcompilerparse.output \
dtparser.y.h \
dtparserparse.output
 
#
# Root rule
#
$(PROG) : $(INTERMEDIATES) $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) -o $(PROG)
$(COPYPROG)
 
#
# Parser and Lexer - intermediate C files
#
aslcompilerlex.c : $(ASL_COMPILER)/aslcompiler.l
${LEX} ${LFLAGS} -PAslCompiler -o$@ $?
 
aslcompilerparse.c : $(ASL_COMPILER)/aslcompiler.y
${YACC} ${YFLAGS} -pAslCompiler -o$@ $?
@mv -f aslcompilerparse.h aslcompiler.y.h
 
dtparserlex.c : $(ASL_COMPILER)/dtparser.l
${LEX} ${LFLAGS} -PDtParser -o$@ $?
 
dtparserparse.c : $(ASL_COMPILER)/dtparser.y
${YACC} ${YFLAGS} -pDtParser -o$@ $?
@mv -f dtparserparse.h dtparser.y.h
 
#
# Parsers and Lexers - final object files
#
# Cannot use the common compile warning flags since the C files are created
# by the utilities above and they are not necessarily ANSI C, etc.
#
aslcompilerlex.o : aslcompilerlex.c
$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $?
 
aslcompilerparse.o : aslcompilerparse.c
$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $?
 
dtparserlex.o : dtparserlex.c
$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $?
 
dtparserparse.o : dtparserparse.c
$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $?
 
#
# Compiler source
#
aslanalyze.o : $(ASL_COMPILER)/aslanalyze.c
$(COMPILE)
 
aslbtypes.o : $(ASL_COMPILER)/aslbtypes.c
$(COMPILE)
 
aslcodegen.o : $(ASL_COMPILER)/aslcodegen.c
$(COMPILE)
 
aslcompile.o : $(ASL_COMPILER)/aslcompile.c
$(COMPILE)
 
aslerror.o : $(ASL_COMPILER)/aslerror.c
$(COMPILE)
 
aslfiles.o : $(ASL_COMPILER)/aslfiles.c
$(COMPILE)
 
aslfold.o : $(ASL_COMPILER)/aslfold.c
$(COMPILE)
 
asllength.o : $(ASL_COMPILER)/asllength.c
$(COMPILE)
 
asllisting.o : $(ASL_COMPILER)/asllisting.c
$(COMPILE)
 
aslload.o : $(ASL_COMPILER)/aslload.c
$(COMPILE)
 
asllookup.o : $(ASL_COMPILER)/asllookup.c
$(COMPILE)
 
aslmain.o : $(ASL_COMPILER)/aslmain.c
$(COMPILE)
 
aslmap.o : $(ASL_COMPILER)/aslmap.c
$(COMPILE)
 
aslopcodes.o : $(ASL_COMPILER)/aslopcodes.c
$(COMPILE)
 
asloperands.o : $(ASL_COMPILER)/asloperands.c
$(COMPILE)
 
aslopt.o : $(ASL_COMPILER)/aslopt.c
$(COMPILE)
 
aslpredef.o : $(ASL_COMPILER)/aslpredef.c
$(COMPILE)
 
aslresource.o : $(ASL_COMPILER)/aslresource.c
$(COMPILE)
 
aslrestype1.o : $(ASL_COMPILER)/aslrestype1.c
$(COMPILE)
 
aslrestype1i.o : $(ASL_COMPILER)/aslrestype1i.c
$(COMPILE)
 
aslrestype2.o : $(ASL_COMPILER)/aslrestype2.c
$(COMPILE)
 
aslrestype2d.o : $(ASL_COMPILER)/aslrestype2d.c
$(COMPILE)
 
aslrestype2e.o : $(ASL_COMPILER)/aslrestype2e.c
$(COMPILE)
 
aslrestype2q.o : $(ASL_COMPILER)/aslrestype2q.c
$(COMPILE)
 
aslrestype2w.o : $(ASL_COMPILER)/aslrestype2w.c
$(COMPILE)
 
aslstartup.o : $(ASL_COMPILER)/aslstartup.c
$(COMPILE)
 
aslstubs.o : $(ASL_COMPILER)/aslstubs.c
$(COMPILE)
 
asltransform.o : $(ASL_COMPILER)/asltransform.c
$(COMPILE)
 
asltree.o : $(ASL_COMPILER)/asltree.c
$(COMPILE)
 
aslutils.o : $(ASL_COMPILER)/aslutils.c
$(COMPILE)
 
asluuid.o : $(ASL_COMPILER)/asluuid.c
$(COMPILE)
 
aslwalks.o : $(ASL_COMPILER)/aslwalks.c
$(COMPILE)
 
#
# Data Table Compiler
#
dtcompile.o : $(ASL_COMPILER)/dtcompile.c
$(COMPILE)
 
dtexpress.o : $(ASL_COMPILER)/dtexpress.c
$(COMPILE)
 
dtfield.o : $(ASL_COMPILER)/dtfield.c
$(COMPILE)
 
dtio.o : $(ASL_COMPILER)/dtio.c
$(COMPILE)
 
dtsubtable.o : $(ASL_COMPILER)/dtsubtable.c
$(COMPILE)
 
dttable.o : $(ASL_COMPILER)/dttable.c
$(COMPILE)
 
dttemplate.o : $(ASL_COMPILER)/dttemplate.c
$(COMPILE)
 
dtutils.o : $(ASL_COMPILER)/dtutils.c
$(COMPILE)
 
#
# ACPICA core source - common
#
adfile.o : $(ACPICA_COMMON)/adfile.c
$(COMPILE)
 
adisasm.o : $(ACPICA_COMMON)/adisasm.c
$(COMPILE)
 
adwalk.o : $(ACPICA_COMMON)/adwalk.c
$(COMPILE)
 
dmextern.o : $(ACPICA_COMMON)/dmextern.c
$(COMPILE)
 
dmrestag.o : $(ACPICA_COMMON)/dmrestag.c
$(COMPILE)
 
dmtable.o : $(ACPICA_COMMON)/dmtable.c
$(COMPILE)
 
dmtbdump.o : $(ACPICA_COMMON)/dmtbdump.c
$(COMPILE)
 
dmtbinfo.o : $(ACPICA_COMMON)/dmtbinfo.c
$(COMPILE)
 
getopt.o : $(ACPICA_COMMON)/getopt.c
$(COMPILE)
 
#
# ACPICA core source
#
dbfileio.o : $(ACPICA_CORE)/debugger/dbfileio.c
$(COMPILE)
 
dmbuffer.o : $(ACPICA_CORE)/disassembler/dmbuffer.c
$(COMPILE)
 
dmnames.o : $(ACPICA_CORE)/disassembler/dmnames.c
$(COMPILE)
 
dmobject.o : $(ACPICA_CORE)/disassembler/dmobject.c
$(COMPILE)
 
dmopcode.o : $(ACPICA_CORE)/disassembler/dmopcode.c
$(COMPILE)
 
dmresrc.o : $(ACPICA_CORE)/disassembler/dmresrc.c
$(COMPILE)
 
dmresrcl.o : $(ACPICA_CORE)/disassembler/dmresrcl.c
$(COMPILE)
 
dmresrcs.o : $(ACPICA_CORE)/disassembler/dmresrcs.c
$(COMPILE)
 
dmutils.o : $(ACPICA_CORE)/disassembler/dmutils.c
$(COMPILE)
 
dmwalk.o : $(ACPICA_CORE)/disassembler/dmwalk.c
$(COMPILE)
 
dsargs.o : $(ACPICA_CORE)/dispatcher/dsargs.c
$(COMPILE)
 
dscontrol.o : $(ACPICA_CORE)/dispatcher/dscontrol.c
$(COMPILE)
 
dsfield.o : $(ACPICA_CORE)/dispatcher/dsfield.c
$(COMPILE)
 
dsobject.o : $(ACPICA_CORE)/dispatcher/dsobject.c
$(COMPILE)
 
dsopcode.o : $(ACPICA_CORE)/dispatcher/dsopcode.c
$(COMPILE)
 
dsutils.o : $(ACPICA_CORE)/dispatcher/dsutils.c
$(COMPILE)
 
dswexec.o : $(ACPICA_CORE)/dispatcher/dswexec.c
$(COMPILE)
 
dswload.o : $(ACPICA_CORE)/dispatcher/dswload.c
$(COMPILE)
 
dswload2.o : $(ACPICA_CORE)/dispatcher/dswload2.c
$(COMPILE)
 
dswscope.o : $(ACPICA_CORE)/dispatcher/dswscope.c
$(COMPILE)
 
dswstate.o : $(ACPICA_CORE)/dispatcher/dswstate.c
$(COMPILE)
 
exconvrt.o : $(ACPICA_CORE)/executer/exconvrt.c
$(COMPILE)
 
excreate.o : $(ACPICA_CORE)/executer/excreate.c
$(COMPILE)
 
exdump.o : $(ACPICA_CORE)/executer/exdump.c
$(COMPILE)
 
exmisc.o : $(ACPICA_CORE)/executer/exmisc.c
$(COMPILE)
 
exmutex.o : $(ACPICA_CORE)/executer/exmutex.c
$(COMPILE)
 
exnames.o : $(ACPICA_CORE)/executer/exnames.c
$(COMPILE)
 
exoparg1.o : $(ACPICA_CORE)/executer/exoparg1.c
$(COMPILE)
 
exoparg2.o : $(ACPICA_CORE)/executer/exoparg2.c
$(COMPILE)
 
exoparg3.o : $(ACPICA_CORE)/executer/exoparg3.c
$(COMPILE)
 
exoparg6.o : $(ACPICA_CORE)/executer/exoparg6.c
$(COMPILE)
 
exprep.o : $(ACPICA_CORE)/executer/exprep.c
$(COMPILE)
 
exregion.o : $(ACPICA_CORE)/executer/exregion.c
$(COMPILE)
 
exresnte.o : $(ACPICA_CORE)/executer/exresnte.c
$(COMPILE)
 
exresolv.o : $(ACPICA_CORE)/executer/exresolv.c
$(COMPILE)
 
exresop.o : $(ACPICA_CORE)/executer/exresop.c
$(COMPILE)
 
exstore.o : $(ACPICA_CORE)/executer/exstore.c
$(COMPILE)
 
exstoren.o : $(ACPICA_CORE)/executer/exstoren.c
$(COMPILE)
 
exstorob.o : $(ACPICA_CORE)/executer/exstorob.c
$(COMPILE)
 
exsystem.o : $(ACPICA_CORE)/executer/exsystem.c
$(COMPILE)
 
exutils.o : $(ACPICA_CORE)/executer/exutils.c
$(COMPILE)
 
nsaccess.o : $(ACPICA_CORE)/namespace/nsaccess.c
$(COMPILE)
 
nsalloc.o : $(ACPICA_CORE)/namespace/nsalloc.c
$(COMPILE)
 
nsdump.o : $(ACPICA_CORE)/namespace/nsdump.c
$(COMPILE)
 
nsnames.o : $(ACPICA_CORE)/namespace/nsnames.c
$(COMPILE)
 
nsobject.o : $(ACPICA_CORE)/namespace/nsobject.c
$(COMPILE)
 
nsparse.o : $(ACPICA_CORE)/namespace/nsparse.c
$(COMPILE)
 
nssearch.o : $(ACPICA_CORE)/namespace/nssearch.c
$(COMPILE)
 
nsutils.o : $(ACPICA_CORE)/namespace/nsutils.c
$(COMPILE)
 
nswalk.o : $(ACPICA_CORE)/namespace/nswalk.c
$(COMPILE)
 
nsxfobj.o : $(ACPICA_CORE)/namespace/nsxfobj.c
$(COMPILE)
 
psargs.o : $(ACPICA_CORE)/parser/psargs.c
$(COMPILE)
 
psloop.o : $(ACPICA_CORE)/parser/psloop.c
$(COMPILE)
 
psopcode.o : $(ACPICA_CORE)/parser/psopcode.c
$(COMPILE)
 
psparse.o : $(ACPICA_CORE)/parser/psparse.c
$(COMPILE)
 
psscope.o : $(ACPICA_CORE)/parser/psscope.c
$(COMPILE)
 
pstree.o : $(ACPICA_CORE)/parser/pstree.c
$(COMPILE)
 
psutils.o : $(ACPICA_CORE)/parser/psutils.c
$(COMPILE)
 
pswalk.o : $(ACPICA_CORE)/parser/pswalk.c
$(COMPILE)
 
tbfadt.o : $(ACPICA_CORE)/tables/tbfadt.c
$(COMPILE)
 
tbinstal.o : $(ACPICA_CORE)/tables/tbinstal.c
$(COMPILE)
 
tbutils.o : $(ACPICA_CORE)/tables/tbutils.c
$(COMPILE)
 
tbxface.o : $(ACPICA_CORE)/tables/tbxface.c
$(COMPILE)
 
utalloc.o : $(ACPICA_CORE)/utilities/utalloc.c
$(COMPILE)
 
utcache.o : $(ACPICA_CORE)/utilities/utcache.c
$(COMPILE)
 
utcopy.o : $(ACPICA_CORE)/utilities/utcopy.c
$(COMPILE)
 
utdebug.o : $(ACPICA_CORE)/utilities/utdebug.c
$(COMPILE)
 
utdecode.o : $(ACPICA_CORE)/utilities/utdecode.c
$(COMPILE)
 
utdelete.o : $(ACPICA_CORE)/utilities/utdelete.c
$(COMPILE)
 
utglobal.o : $(ACPICA_CORE)/utilities/utglobal.c
$(COMPILE)
 
utinit.o : $(ACPICA_CORE)/utilities/utinit.c
$(COMPILE)
 
utlock.o : $(ACPICA_CORE)/utilities/utlock.c
$(COMPILE)
 
utmath.o : $(ACPICA_CORE)/utilities/utmath.c
$(COMPILE)
 
utmisc.o : $(ACPICA_CORE)/utilities/utmisc.c
$(COMPILE)
 
utmutex.o : $(ACPICA_CORE)/utilities/utmutex.c
$(COMPILE)
 
utobject.o : $(ACPICA_CORE)/utilities/utobject.c
$(COMPILE)
 
utresrc.o : $(ACPICA_CORE)/utilities/utresrc.c
$(COMPILE)
 
utstate.o : $(ACPICA_CORE)/utilities/utstate.c
$(COMPILE)
 
utxferror.o : $(ACPICA_CORE)/utilities/utxferror.c
$(COMPILE)
 
utxface.o : $(ACPICA_CORE)/utilities/utxface.c
$(COMPILE)
 
#
# Unix OS services layer (OSL)
#
osunixxf.o : $(ACPICA_OSL)/osunixxf.c
$(COMPILE)
 
 
clean :
rm -f $(PROG) $(PROG).exe $(OBJS) $(INTERMEDIATES) $(MISC)
 
install :
$(INSTALLPROG)
/drivers/devman/acpica/generate/unix/iasl
Property changes:
Added: bugtraq:number
+true
\ No newline at end of property
/drivers/devman/acpica/generate/unix/readme.txt
0,0 → 1,120
Generic Unix ACPICA makefiles
-----------------------------
 
These makefiles are intended to generate the ACPICA utilities in
a Unix-like environment, with the original ACPICA code (not linuxized),
and in the original (git tree) ACPICA directory structure.
 
Windows binary versions of these tools are available at:
 
http://www.acpica.org/downloads/binary_tools.php
 
Documentation is available at acpica.org:
 
http://www.acpica.org/documentation/
 
The top level makefile will generate the following utilities:
Note: These utilities are tested and supported as 32-bit versions
only.
 
acpibin
acpiexec
acpihelp
acpinames
acpisrc
acpixtract
iasl
 
To generate all utilities:
 
cd acpica/generate/unix
make
make install /* install all binaries to /usr/bin */
 
 
Requirements
------------
 
make
gcc compiler (4+)
bison or yacc
flex or lex
 
 
Configuration
-------------
 
The Makefile.config file contains the configuration information:
 
HOST = _CYGWIN /* Host system, must appear in acenv.h */
CC = gcc /* C compiler */
ACPICA_SRC = ../../../source /* Location of acpica source tree */
 
 
Intermediate Files
------------------
 
The intermediate files for each utility (.o, etc.) are placed in the
subdirectory corresponding to each utility, not in the source code
tree itself. This prevents collisions when different utilities compile
the same source modules with different options.
 
 
Output
------
 
The executable utilities are copied to the local bin directory.
 
"make install" will install the binaries to /usr/bin
 
 
 
1) acpibin, an AML file tool
 
acpibin compares AML files, dumps AML binary files to text files,
extracts binary AML from text files, and other AML file
manipulation.
 
 
2) acpiexec, a user-space AML interpreter
 
acpiexec allows the loading of ACPI tables and execution of control
methods from user space. Useful for debugging AML code and testing
the AML interpreter. Hardware access is simulated.
 
 
3) acpihelp, syntax help for ASL operators and reserved names
 
acpihelp displays the syntax for all of the ASL operators, as well
as information about the ASL/ACPI reserved names (4-char names that
start with underscore.)
 
 
4) acpinames, load and dump acpi namespace
 
acpinames loads an ACPI namespace from a binary ACPI table file.
This is a smaller version of acpiexec that loads an acpi table and
dumps the resulting namespace. It is primarily intended to demonstrate
the configurability of ACPICA.
 
 
5) acpisrc, a source code conversion tool
 
acpisrc converts the standard form of the acpica source release (included
here) into a version that meets Linux coding guidelines. This consists
mainly of performing a series of string replacements and transformations
to the code. It can also be used to clean the acpica source and generate
statistics.
 
 
6) acpixtract, extract binary ACPI tables from an acpidump
 
acpixtract is used to extract binary ACPI tables from the ASCII text
output of an acpidump utility (available on several different hosts.)
 
 
7) iasl, an optimizing ASL compiler/disassembler
 
iasl compiles ASL (ACPI Source Language) into AML (ACPI Machine
Language). This AML is suitable for inclusion as a DSDT in system
firmware. It also can disassemble AML, for debugging purposes.
/drivers/devman/acpica/generate/unix/.
Property changes:
Added: bugtraq:number
+true
\ No newline at end of property