1#
2# acpixtract - extract binary ACPI tables from acpidump text output
3#
4
5#
6# Note: This makefile is intended to be used from within the native
7# ACPICA directory structure, from under generate/unix. It specifically
8# places all object files in a generate/unix 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
14FINAL_PROG = ../$(BINDIR)/acpixtract
15PROG = $(OBJDIR)/acpixtract
16
17#
18# Search paths for source files
19#
20vpath %.c \
21    $(ACPIXTRACT)\
22    $(ACPICA_COMMON)
23
24HEADERS = \
25    $(wildcard $(ACPIXTRACT)/*.h)
26
27OBJECTS = \
28    $(OBJDIR)/acpixtract.o\
29    $(OBJDIR)/axmain.o\
30    $(OBJDIR)/getopt.o
31
32#
33# Flags specific to acpixtract
34#
35CFLAGS += \
36    -DACPI_XTRACT_APP
37
38#
39# Common Rules
40#
41include ../Makefile.rules
42