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 # 14 include ../Makefile.config 15 FINAL_PROG = ../$(BINDIR)/acpihelp 16 PROG = $(OBJDIR)/acpihelp 17 18 # 19 # Search paths for source files 20 # 21 vpath %.c \ 22 $(ACPIHELP)\ 23 $(ACPICA_COMMON)\ 24 $(ACPICA_UTILITIES)\ 25 $(ACPICA_OSL) 26 27 HEADERS = \ 28 $(wildcard $(ACPIHELP)/*.h) 29 30 OBJECTS = \ 31 $(OBJDIR)/ahaml.o\ 32 $(OBJDIR)/ahamlops.o\ 33 $(OBJDIR)/ahasl.o\ 34 $(OBJDIR)/ahaslkey.o\ 35 $(OBJDIR)/ahaslops.o\ 36 $(OBJDIR)/ahdecode.o\ 37 $(OBJDIR)/ahgrammar.o\ 38 $(OBJDIR)/ahids.o\ 39 $(OBJDIR)/ahpredef.o\ 40 $(OBJDIR)/ahmain.o\ 41 $(OBJDIR)/ahtable.o\ 42 $(OBJDIR)/ahuuids.o\ 43 $(OBJDIR)/getopt.o\ 44 $(OBJDIR)/osunixxf.o\ 45 $(OBJDIR)/utdebug.o\ 46 $(OBJDIR)/utexcep.o\ 47 $(OBJDIR)/utglobal.o\ 48 $(OBJDIR)/uthex.o\ 49 $(OBJDIR)/utmath.o\ 50 $(OBJDIR)/utnonansi.o\ 51 $(OBJDIR)/utpredef.o\ 52 $(OBJDIR)/utuuid.o 53 54 # 55 # Flags specific to acpihelp 56 # 57 CFLAGS += \ 58 -DACPI_HELP_APP\ 59 -I$(ACPIHELP) 60 61 # 62 # Common Rules 63 # 64 include ../Makefile.rules 65