aboutsummaryrefslogtreecommitdiff
path: root/generate/unix/acpinames/Makefile
blob: 6aa7666de0aa7b0f51b15f754b41999f73d859aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
#
# 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
FINAL_PROG = ../$(BINDIR)/acpinames
PROG = $(OBJDIR)/acpinames

#
# Search paths for source files
#
vpath %.c \
    $(ACPINAMES) \
    $(ACPICA_DEBUGGER) \
    $(ACPICA_DISPATCHER) \
    $(ACPICA_EXECUTER) \
    $(ACPICA_NAMESPACE) \
    $(ACPICA_PARSER) \
    $(ACPICA_TABLES) \
    $(ACPICA_UTILITIES) \
    $(ACPICA_COMMON) \
    $(ACPICA_OSL)

HEADERS = \
    $(wildcard $(ACPINAMES)/*.h)

OBJECTS = \
	$(OBJDIR)/anmain.o \
	$(OBJDIR)/anstubs.o \
	$(OBJDIR)/antables.o \
	$(OBJDIR)/dbfileio.o \
	$(OBJDIR)/dsfield.o \
	$(OBJDIR)/dsmthdat.o \
	$(OBJDIR)/dsobject.o \
	$(OBJDIR)/dsutils.o \
	$(OBJDIR)/dswload.o \
	$(OBJDIR)/dswload2.o \
	$(OBJDIR)/dswscope.o \
	$(OBJDIR)/dswstate.o \
	$(OBJDIR)/excreate.o \
	$(OBJDIR)/exnames.o \
	$(OBJDIR)/exresnte.o \
	$(OBJDIR)/exresolv.o \
	$(OBJDIR)/exutils.o \
	$(OBJDIR)/getopt.o \
	$(OBJDIR)/nsaccess.o \
	$(OBJDIR)/nsalloc.o \
	$(OBJDIR)/nsdump.o \
	$(OBJDIR)/nsinit.o \
	$(OBJDIR)/nsload.o \
	$(OBJDIR)/nsnames.o \
	$(OBJDIR)/nsobject.o \
	$(OBJDIR)/nsparse.o \
	$(OBJDIR)/nssearch.o \
	$(OBJDIR)/nsutils.o \
	$(OBJDIR)/nswalk.o \
	$(OBJDIR)/nsxfeval.o \
	$(OBJDIR)/nsxfname.o \
	$(OBJDIR)/nsxfobj.o \
	$(OBJDIR)/osunixxf.o \
	$(OBJDIR)/psargs.o \
	$(OBJDIR)/psloop.o \
	$(OBJDIR)/psobject.o \
	$(OBJDIR)/psopcode.o \
	$(OBJDIR)/psopinfo.o \
	$(OBJDIR)/psparse.o \
	$(OBJDIR)/psscope.o \
	$(OBJDIR)/pstree.o \
	$(OBJDIR)/psutils.o \
	$(OBJDIR)/pswalk.o \
	$(OBJDIR)/psxface.o \
	$(OBJDIR)/tbfadt.o \
	$(OBJDIR)/tbfind.o \
	$(OBJDIR)/tbinstal.o \
	$(OBJDIR)/tbutils.o \
	$(OBJDIR)/tbxface.o \
	$(OBJDIR)/tbxfload.o \
	$(OBJDIR)/tbxfroot.o \
	$(OBJDIR)/utaddress.o \
	$(OBJDIR)/utalloc.o \
	$(OBJDIR)/utcache.o \
	$(OBJDIR)/utdebug.o \
	$(OBJDIR)/utdecode.o \
	$(OBJDIR)/utdelete.o \
	$(OBJDIR)/utexcep.o \
	$(OBJDIR)/utglobal.o \
	$(OBJDIR)/utlock.o \
	$(OBJDIR)/utmath.o \
	$(OBJDIR)/utmisc.o \
	$(OBJDIR)/utmutex.o \
	$(OBJDIR)/utobject.o \
	$(OBJDIR)/utosi.o \
	$(OBJDIR)/utownerid.o \
	$(OBJDIR)/utstate.o \
	$(OBJDIR)/utstring.o \
	$(OBJDIR)/utxface.o \
	$(OBJDIR)/utxferror.o \
	$(OBJDIR)/utxfinit.o

#
# Flags specific to acpinames utility
#
CFLAGS+= \
    -DACPI_NAMES_APP \
    -I$(ACPINAMES)

#
# Common Rules
#
include ../Makefile.rules