summaryrefslogtreecommitdiff
path: root/generate/efi/acpidump/Makefile
blob: 39fa364d097f5f6daef66a062ba202114ac6c1cc (plain)
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
#
# acpidump - ACPI table dump utility (binary to ascii hex)
#

#
# Note: This makefile is intended to be used from within the native
# ACPICA directory structure, from under generate/efi. It specifically
# places all object files in a generate/efi 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 = $(OBJDIR)/acpidump

#
# Search paths for source files
#
vpath %.c \
	$(ACPIDUMP)\
	$(ACPICA_TABLES)\
	$(ACPICA_UTILITIES)\
	$(ACPICA_COMMON)\
	$(ACPICA_OSL)

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

OBJECTS = \
	$(OBJDIR)/apdump.o\
	$(OBJDIR)/apfiles.o\
	$(OBJDIR)/apmain.o\
	$(OBJDIR)/cmfsize.o\
	$(OBJDIR)/getopt.o\
	$(OBJDIR)/oseficlib.o\
	$(OBJDIR)/osefitbl.o\
	$(OBJDIR)/osefixf.o\
	$(OBJDIR)/tbprint.o\
	$(OBJDIR)/tbxfroot.o\
	$(OBJDIR)/utascii.o\
	$(OBJDIR)/utbuffer.o\
	$(OBJDIR)/utclib.o\
	$(OBJDIR)/utdebug.o\
	$(OBJDIR)/utexcep.o\
	$(OBJDIR)/utglobal.o\
	$(OBJDIR)/utmath.o\
	$(OBJDIR)/utnonansi.o\
	$(OBJDIR)/utprint.o\
	$(OBJDIR)/utstring.o\
	$(OBJDIR)/utxferror.o

#
# Flags specific to acpidump
#
CFLAGS += \
	-DACPI_DUMP_APP\
	-I$(ACPIDUMP)

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