Home | History | Annotate | Line # | Download | only in acpixtract
      1 #
      2 # acpixtract - extract binary ACPI tables from acpidump text output
      3 #
      4 
      5 #
      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.
     12 #
     13 include ../Makefile.config
     14 FINAL_PROG = ../$(BINDIR)/acpixtract
     15 PROG = $(OBJDIR)/acpixtract
     16 
     17 #
     18 # Search paths for source files
     19 #
     20 vpath %.c \
     21     $(ACPIXTRACT)\
     22     $(ACPICA_UTILITIES)\
     23     $(ACPICA_COMMON)\
     24     $(ACPICA_OSL)
     25 
     26 HEADERS = \
     27     $(wildcard $(ACPIXTRACT)/*.h)
     28 
     29 OBJECTS = \
     30     $(OBJDIR)/acpixtract.o\
     31     $(OBJDIR)/axmain.o\
     32     $(OBJDIR)/axutils.o\
     33     $(OBJDIR)/getopt.o\
     34     $(OBJDIR)/osunixxf.o\
     35     $(OBJDIR)/utascii.o\
     36     $(OBJDIR)/utdebug.o\
     37     $(OBJDIR)/utexcep.o\
     38     $(OBJDIR)/utglobal.o\
     39 	$(OBJDIR)/uthex.o\
     40     $(OBJDIR)/utmath.o\
     41     $(OBJDIR)/utnonansi.o\
     42     $(OBJDIR)/utxferror.o
     43 
     44 #
     45 # Flags specific to acpixtract
     46 #
     47 CFLAGS += \
     48     -DACPI_XTRACT_APP
     49 
     50 #
     51 # Common Rules
     52 #
     53 include ../Makefile.rules
     54