1# 2# acpihelp - ACPI Help utility. Displays ASL operator syntax and 3# information about ACPI predefined names. 4# 5 6# 7# Note: This makefile is intended to be used from within the native 8# ACPICA directory structure, from under generate/unix. It specifically 9# places all object files in a generate/unix subdirectory, not within 10# the various ACPICA source directories. This prevents collisions 11# between different compilations of the same source file with different 12# compile options, and prevents pollution of the source code. 13# 14include ../Makefile.config 15FINAL_PROG = ../$(BINDIR)/acpihelp 16PROG = $(OBJDIR)/acpihelp 17 18# 19# Search paths for source files 20# 21vpath %.c \ 22 $(ACPIHELP)\ 23 $(ACPICA_COMMON)\ 24 $(ACPICA_UTILITIES)\ 25 $(ACPICA_OSL)\ 26 $(ASL_COMPILER) 27 28HEADERS = \ 29 $(wildcard $(ACPIHELP)/*.h) 30 31OBJECTS = \ 32 $(OBJDIR)/ahaml.o\ 33 $(OBJDIR)/ahamlops.o\ 34 $(OBJDIR)/ahasl.o\ 35 $(OBJDIR)/ahaslkey.o\ 36 $(OBJDIR)/ahaslops.o\ 37 $(OBJDIR)/ahdecode.o\ 38 $(OBJDIR)/ahgrammar.o\ 39 $(OBJDIR)/ahids.o\ 40 $(OBJDIR)/ahpredef.o\ 41 $(OBJDIR)/ahmain.o\ 42 $(OBJDIR)/ahtable.o\ 43 $(OBJDIR)/ahuuids.o\ 44 $(OBJDIR)/aslmessages.o\ 45 $(OBJDIR)/getopt.o\ 46 $(OBJDIR)/osunixxf.o\ 47 $(OBJDIR)/utdebug.o\ 48 $(OBJDIR)/utexcep.o\ 49 $(OBJDIR)/utglobal.o\ 50 $(OBJDIR)/uthex.o\ 51 $(OBJDIR)/utmath.o\ 52 $(OBJDIR)/utnonansi.o\ 53 $(OBJDIR)/utpredef.o\ 54 $(OBJDIR)/utuuid.o 55 56# 57# Flags specific to acpihelp 58# 59CFLAGS += \ 60 -DACPI_HELP_APP\ 61 -I$(ACPIHELP) 62 63# 64# Common Rules 65# 66include ../Makefile.rules 67