Home | History | Annotate | Line # | Download | only in acpihelp
Makefile revision 1.1.1.1.12.1
      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 
     26 HEADERS = \
     27     $(wildcard $(ACPIHELP)/*.h)
     28 
     29 OBJECTS = \
     30 	$(OBJDIR)/ahamlops.o\
     31 	$(OBJDIR)/ahaslkey.o\
     32 	$(OBJDIR)/ahaslops.o\
     33 	$(OBJDIR)/ahdecode.o\
     34 	$(OBJDIR)/ahpredef.o\
     35 	$(OBJDIR)/ahmain.o\
     36 	$(OBJDIR)/getopt.o\
     37 	$(OBJDIR)/utexcep.o\
     38 	$(OBJDIR)/utpredef.o
     39 
     40 #
     41 # Flags specific to acpihelp
     42 #
     43 CFLAGS += \
     44     -DACPI_HELP_APP\
     45     -I$(ACPIHELP)
     46 
     47 #
     48 # Common Rules
     49 #
     50 include ../Makefile.rules
     51