kernel: Sync ACPICA with Intel's version 20140325.
[dragonfly.git] / sys / contrib / dev / acpica / generate / unix / acpinames / Makefile
1 #
2 # acpinames - Load ACPI table and dump namespace. This is a subset
3 # of the AcpiExec functionality, it is intended to demonstrate
4 # the configurability of ACPICA.
5 #
6
7 #
8 # Note: This makefile is intended to be used from within the native
9 # ACPICA directory structure, from under generate/unix. It specifically
10 # places all object files in a generate/unix subdirectory, not within
11 # the various ACPICA source directories. This prevents collisions
12 # between different compilations of the same source file with different
13 # compile options, and prevents pollution of the source code.
14 #
15 include ../Makefile.config
16 FINAL_PROG = ../$(BINDIR)/acpinames
17 PROG = $(OBJDIR)/acpinames
18
19 #
20 # Search paths for source files
21 #
22 vpath %.c \
23     $(ACPINAMES)\
24     $(ACPICA_DEBUGGER)\
25     $(ACPICA_DISPATCHER)\
26     $(ACPICA_EXECUTER)\
27     $(ACPICA_NAMESPACE)\
28     $(ACPICA_PARSER)\
29     $(ACPICA_TABLES)\
30     $(ACPICA_UTILITIES)\
31     $(ACPICA_COMMON)\
32     $(ACPICA_OSL)
33
34 HEADERS = \
35     $(wildcard $(ACPINAMES)/*.h)
36
37 OBJECTS = \
38         $(OBJDIR)/anmain.o\
39         $(OBJDIR)/anstubs.o\
40         $(OBJDIR)/antables.o\
41         $(OBJDIR)/cmfsize.o\
42         $(OBJDIR)/dbfileio.o\
43         $(OBJDIR)/dsfield.o\
44         $(OBJDIR)/dsmthdat.o\
45         $(OBJDIR)/dsobject.o\
46         $(OBJDIR)/dsutils.o\
47         $(OBJDIR)/dswload.o\
48         $(OBJDIR)/dswload2.o\
49         $(OBJDIR)/dswscope.o\
50         $(OBJDIR)/dswstate.o\
51         $(OBJDIR)/excreate.o\
52         $(OBJDIR)/exnames.o\
53         $(OBJDIR)/exresnte.o\
54         $(OBJDIR)/exresolv.o\
55         $(OBJDIR)/exutils.o\
56         $(OBJDIR)/getopt.o\
57         $(OBJDIR)/nsaccess.o\
58         $(OBJDIR)/nsalloc.o\
59         $(OBJDIR)/nsdump.o\
60         $(OBJDIR)/nsinit.o\
61         $(OBJDIR)/nsload.o\
62         $(OBJDIR)/nsnames.o\
63         $(OBJDIR)/nsobject.o\
64         $(OBJDIR)/nsparse.o\
65         $(OBJDIR)/nssearch.o\
66         $(OBJDIR)/nsutils.o\
67         $(OBJDIR)/nswalk.o\
68         $(OBJDIR)/nsxfeval.o\
69         $(OBJDIR)/nsxfname.o\
70         $(OBJDIR)/nsxfobj.o\
71         $(OBJDIR)/osunixxf.o\
72         $(OBJDIR)/psargs.o\
73         $(OBJDIR)/psloop.o\
74         $(OBJDIR)/psobject.o\
75         $(OBJDIR)/psopcode.o\
76         $(OBJDIR)/psopinfo.o\
77         $(OBJDIR)/psparse.o\
78         $(OBJDIR)/psscope.o\
79         $(OBJDIR)/pstree.o\
80         $(OBJDIR)/psutils.o\
81         $(OBJDIR)/pswalk.o\
82         $(OBJDIR)/psxface.o\
83         $(OBJDIR)/tbdata.o\
84         $(OBJDIR)/tbfadt.o\
85         $(OBJDIR)/tbfind.o\
86         $(OBJDIR)/tbinstal.o\
87         $(OBJDIR)/tbprint.o\
88         $(OBJDIR)/tbutils.o\
89         $(OBJDIR)/tbxface.o\
90         $(OBJDIR)/tbxfload.o\
91         $(OBJDIR)/tbxfroot.o\
92         $(OBJDIR)/utaddress.o\
93         $(OBJDIR)/utalloc.o\
94         $(OBJDIR)/utcache.o\
95         $(OBJDIR)/utdebug.o\
96         $(OBJDIR)/utdecode.o\
97         $(OBJDIR)/utdelete.o\
98         $(OBJDIR)/uterror.o\
99         $(OBJDIR)/utexcep.o\
100         $(OBJDIR)/utglobal.o\
101         $(OBJDIR)/utlock.o\
102         $(OBJDIR)/utmath.o\
103         $(OBJDIR)/utmisc.o\
104         $(OBJDIR)/utmutex.o\
105         $(OBJDIR)/utobject.o\
106         $(OBJDIR)/utosi.o\
107         $(OBJDIR)/utownerid.o\
108         $(OBJDIR)/utstate.o\
109         $(OBJDIR)/utstring.o\
110         $(OBJDIR)/utxface.o\
111         $(OBJDIR)/utxferror.o\
112         $(OBJDIR)/utxfinit.o
113
114 #
115 # Flags specific to acpinames utility
116 #
117 CFLAGS += \
118     -DACPI_NAMES_APP\
119     -I$(ACPINAMES)
120
121 #
122 # Common Rules
123 #
124 include ../Makefile.rules