forked from KolibriOS/kolibrios
8ec96e9db0
git-svn-id: svn://kolibrios.org@2216 a494cfbc-eb01-0410-851d-a64ba20cac60
304 lines
5.9 KiB
Makefile
304 lines
5.9 KiB
Makefile
#
|
|
# 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)
|