1#
2# efihello - ACPI EFI demo
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)/efihello
15
16#
17# Search paths for source files
18#
19vpath %.c \
20	$(EFIHELLO)\
21	$(ACPICA_UTILITIES)\
22	$(ACPICA_COMMON)\
23	$(ACPICA_OSL)\
24	$(ACPICA_EFI)
25
26HEADERS = \
27	$(wildcard $(EFIHELLO)/*.h)
28
29OBJECTS = \
30	$(OBJDIR)/efihello.o\
31	$(OBJDIR)/getopt.o\
32	$(OBJDIR)/oseficlib.o\
33	$(OBJDIR)/osefixf.o\
34	$(OBJDIR)/utascii.o\
35	$(OBJDIR)/utbuffer.o\
36	$(OBJDIR)/utdebug.o\
37	$(OBJDIR)/utclib.o\
38	$(OBJDIR)/utexcep.o\
39	$(OBJDIR)/utglobal.o\
40	$(OBJDIR)/utmath.o\
41	$(OBJDIR)/utprint.o\
42	$(OBJDIR)/utstring.o\
43	$(OBJDIR)/utxferror.o
44
45#
46# Flags specific to efihello
47#
48CFLAGS += \
49	-DACPI_EFI_HELLO\
50	-I$(EFIHELLO)
51
52#
53# Common Rules
54#
55include ../Makefile.rules
56