1#
2# acpidump - ACPI table dump utility (binary to ascii hex)
3#
4
5#
6# Note: This makefile is intended to be used from within the native
7# ACPICA directory structure, from under generate/efi. It specifically
8# places all object files in a generate/efi subdirectory, not within
9# the various ACPICA source directories. This prevents collisions
10# between different compilations of the same source file with different
11# compile options, and prevents pollution of the source code.
12#
13include ../Makefile.config
14PROG = $(OBJDIR)/acpidump
15
16#
17# Search paths for source files
18#
19vpath %.c \
20	$(ACPIDUMP)\
21	$(ACPICA_TABLES)\
22	$(ACPICA_UTILITIES)\
23	$(ACPICA_COMMON)\
24	$(ACPICA_OSL)\
25	$(ACPICA_EFI)
26
27HEADERS = \
28	$(wildcard $(ACPIDUMP)/*.h)
29
30OBJECTS = \
31	$(OBJDIR)/apdump.o\
32	$(OBJDIR)/apfiles.o\
33	$(OBJDIR)/apmain.o\
34	$(OBJDIR)/cmfsize.o\
35	$(OBJDIR)/getopt.o\
36	$(OBJDIR)/oseficlib.o\
37	$(OBJDIR)/osefitbl.o\
38	$(OBJDIR)/osefixf.o\
39	$(OBJDIR)/tbprint.o\
40	$(OBJDIR)/tbxfroot.o\
41	$(OBJDIR)/utascii.o\
42	$(OBJDIR)/utbuffer.o\
43	$(OBJDIR)/utclib.o\
44	$(OBJDIR)/utdebug.o\
45	$(OBJDIR)/utexcep.o\
46	$(OBJDIR)/utglobal.o\
47	$(OBJDIR)/uthex.o\
48	$(OBJDIR)/utmath.o\
49	$(OBJDIR)/utnonansi.o\
50	$(OBJDIR)/utprint.o\
51	$(OBJDIR)/utstring.o\
52	$(OBJDIR)/utstrsuppt.o\
53	$(OBJDIR)/utstrtoul64.o\
54	$(OBJDIR)/utxferror.o
55
56#
57# Flags specific to acpidump
58#
59CFLAGS += \
60	-DACPI_DUMP_APP\
61	-I$(ACPIDUMP)
62
63#
64# Common Rules
65#
66include ../Makefile.rules
67