Indentation fix, cleanup.
[AROS.git] / arch / all-pc / acpica / generate / unix / acpidump / Makefile
blobb7d2021d211f44b47bc1c8e41f2cf50e7f2bb9bf
2 # acpidump - ACPI table dump utility (binary to ascii hex)
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.
13 include ../Makefile.config
14 FINAL_PROG = ../$(BINDIR)/acpidump
15 PROG = $(OBJDIR)/acpidump
18 # Search paths for source files
20 vpath %.c \
21 $(ACPIDUMP)\
22 $(ACPICA_TABLES)\
23 $(ACPICA_UTILITIES)\
24 $(ACPICA_COMMON)\
25 $(ACPICA_OSL)
27 HEADERS = \
28 $(wildcard $(ACPIDUMP)/*.h)
30 OBJECTS = \
31 $(OBJDIR)/apdump.o\
32 $(OBJDIR)/apfiles.o\
33 $(OBJDIR)/apmain.o\
34 $(OBJDIR)/osunixdir.o\
35 $(OBJDIR)/osunixmap.o\
36 $(OBJDIR)/tbprint.o\
37 $(OBJDIR)/tbxfroot.o\
38 $(OBJDIR)/utbuffer.o\
39 $(OBJDIR)/utexcep.o\
40 $(OBJDIR)/utmath.o\
41 $(OBJDIR)/utstring.o\
42 $(OBJDIR)/utxferror.o\
43 $(OBJDIR)/getopt.o
46 # Per-host interfaces
48 ifeq ($(HOST), _FreeBSD)
49 OBJECTS += \
50 $(OBJDIR)/osfreebsdtbl.o
51 else
52 OBJECTS += \
53 $(OBJDIR)/oslinuxtbl.o
54 endif
57 # Flags specific to acpidump
59 CFLAGS += \
60 -DACPI_DUMP_APP\
61 -I$(ACPIDUMP)
64 # Common Rules
66 include ../Makefile.rules