aboutsummaryrefslogtreecommitdiff
path: root/generate/unix/acpihelp/Makefile
blob: 2dbd13b0151d8838e55705a22a9d8265dd514488 (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
#
# acpihelp - ACPI Help utility. Displays ASL operator syntax and
# information about ACPI predefined names.
#

#
# 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)/acpihelp
PROG = $(OBJDIR)/acpihelp

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

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

OBJECTS = \
	$(OBJDIR)/ahamlops.o\
	$(OBJDIR)/ahaslkey.o\
	$(OBJDIR)/ahaslops.o\
	$(OBJDIR)/ahdecode.o\
	$(OBJDIR)/ahpredef.o\
	$(OBJDIR)/ahmain.o\
	$(OBJDIR)/getopt.o\
	$(OBJDIR)/utexcep.o\
	$(OBJDIR)/utpredef.o

#
# Flags specific to acpihelp
#
CFLAGS += \
    -DACPI_HELP_APP\
    -I$(ACPIHELP)

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