1 1.1 christos # 2 1.1 christos # acpidump - ACPI table dump utility (binary to ascii hex) 3 1.1 christos # 4 1.1 christos 5 1.1 christos # 6 1.1 christos # Note: This makefile is intended to be used from within the native 7 1.1 christos # ACPICA directory structure, from under generate/unix. It specifically 8 1.1 christos # places all object files in a generate/unix subdirectory, not within 9 1.1 christos # the various ACPICA source directories. This prevents collisions 10 1.1 christos # between different compilations of the same source file with different 11 1.1 christos # compile options, and prevents pollution of the source code. 12 1.1 christos # 13 1.1 christos include ../Makefile.config 14 1.1 christos FINAL_PROG = ../$(BINDIR)/acpidump 15 1.1 christos PROG = $(OBJDIR)/acpidump 16 1.1 christos 17 1.1 christos # 18 1.1 christos # Search paths for source files 19 1.1 christos # 20 1.1 christos vpath %.c \ 21 1.1 christos $(ACPIDUMP)\ 22 1.1 christos $(ACPICA_TABLES)\ 23 1.1 christos $(ACPICA_UTILITIES)\ 24 1.1 christos $(ACPICA_COMMON)\ 25 1.1 christos $(ACPICA_OSL) 26 1.1 christos 27 1.1 christos HEADERS = \ 28 1.1 christos $(wildcard $(ACPIDUMP)/*.h) 29 1.1 christos 30 1.1 christos OBJECTS = \ 31 1.1 christos $(OBJDIR)/apdump.o\ 32 1.1 christos $(OBJDIR)/apfiles.o\ 33 1.1 christos $(OBJDIR)/apmain.o\ 34 1.1.1.2 christos $(OBJDIR)/cmfsize.o\ 35 1.1.1.2 christos $(OBJDIR)/getopt.o\ 36 1.1 christos $(OBJDIR)/osunixdir.o\ 37 1.1 christos $(OBJDIR)/osunixmap.o\ 38 1.1.1.2 christos $(OBJDIR)/osunixxf.o\ 39 1.1 christos $(OBJDIR)/tbprint.o\ 40 1.1 christos $(OBJDIR)/tbxfroot.o\ 41 1.1.1.5 christos $(OBJDIR)/utascii.o\ 42 1.1 christos $(OBJDIR)/utbuffer.o\ 43 1.1.1.9 christos $(OBJDIR)/utcksum.o\ 44 1.1.1.2 christos $(OBJDIR)/utdebug.o\ 45 1.1 christos $(OBJDIR)/utexcep.o\ 46 1.1.1.2 christos $(OBJDIR)/utglobal.o\ 47 1.1.1.6 christos $(OBJDIR)/uthex.o\ 48 1.1 christos $(OBJDIR)/utmath.o\ 49 1.1.1.4 christos $(OBJDIR)/utnonansi.o\ 50 1.1 christos $(OBJDIR)/utstring.o\ 51 1.1.1.7 christos $(OBJDIR)/utstrsuppt.o\ 52 1.1.1.6 christos $(OBJDIR)/utstrtoul64.o\ 53 1.1.1.2 christos $(OBJDIR)/utxferror.o 54 1.1 christos 55 1.1 christos # 56 1.1 christos # Per-host interfaces 57 1.1 christos # 58 1.1.1.8 christos ifeq ($(ACPI_HOST), _DragonFly) 59 1.1.1.4 christos HOST_FAMILY = BSD 60 1.1.1.4 christos endif 61 1.1.1.4 christos 62 1.1.1.8 christos ifeq ($(ACPI_HOST), _FreeBSD) 63 1.1.1.3 christos HOST_FAMILY = BSD 64 1.1.1.3 christos endif 65 1.1.1.3 christos 66 1.1.1.8 christos ifeq ($(ACPI_HOST), _NetBSD) 67 1.1.1.3 christos HOST_FAMILY = BSD 68 1.1.1.3 christos endif 69 1.1.1.3 christos 70 1.1.1.8 christos ifeq ($(ACPI_HOST), _QNX) 71 1.1.1.5 christos HOST_FAMILY = BSD 72 1.1.1.5 christos endif 73 1.1.1.5 christos 74 1.1.1.3 christos ifeq ($(HOST_FAMILY), BSD) 75 1.1 christos OBJECTS += \ 76 1.1.1.3 christos $(OBJDIR)/osbsdtbl.o 77 1.1 christos else 78 1.1 christos OBJECTS += \ 79 1.1 christos $(OBJDIR)/oslinuxtbl.o 80 1.1 christos endif 81 1.1 christos 82 1.1 christos # 83 1.1 christos # Flags specific to acpidump 84 1.1 christos # 85 1.1 christos CFLAGS += \ 86 1.1 christos -DACPI_DUMP_APP\ 87 1.1 christos -I$(ACPIDUMP) 88 1.1 christos 89 1.1 christos # 90 1.1 christos # Common Rules 91 1.1 christos # 92 1.1 christos include ../Makefile.rules 93