Home | History | Annotate | Line # | Download | only in acpisrc
Makefile revision 1.1.1.4.2.2
      1 #
      2 # acpisrc - ACPICA source code conversion utility
      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)/acpisrc
     15 PROG = $(OBJDIR)/acpisrc
     16 
     17 #
     18 # Search path for source files and individual source files
     19 #
     20 vpath %.c \
     21     $(ACPISRC)\
     22     $(ACPICA_UTILITIES)\
     23     $(ACPICA_COMMON)\
     24     $(ACPICA_OSL)
     25 
     26 HEADERS = \
     27     $(wildcard $(ACPISRC)/*.h)
     28 
     29 OBJECTS = \
     30     $(OBJDIR)/ascase.o\
     31     $(OBJDIR)/asconvrt.o\
     32     $(OBJDIR)/asfile.o\
     33     $(OBJDIR)/asmain.o\
     34     $(OBJDIR)/asremove.o\
     35     $(OBJDIR)/astable.o\
     36     $(OBJDIR)/asutils.o\
     37     $(OBJDIR)/cmfsize.o\
     38     $(OBJDIR)/getopt.o \
     39     $(OBJDIR)/oslibcfs.o\
     40     $(OBJDIR)/osunixdir.o\
     41     $(OBJDIR)/osunixxf.o\
     42 	$(OBJDIR)/utascii.o\
     43     $(OBJDIR)/utdebug.o\
     44     $(OBJDIR)/utexcep.o\
     45     $(OBJDIR)/utglobal.o\
     46     $(OBJDIR)/utmath.o\
     47 	$(OBJDIR)/utnonansi.o\
     48     $(OBJDIR)/utprint.o\
     49     $(OBJDIR)/utstring.o\
     50     $(OBJDIR)/utxferror.o
     51 
     52 #
     53 # Compile flags specific to acpisrc
     54 #
     55 CFLAGS += \
     56     -DACPI_SRC_APP\
     57     -I$(ACPISRC)
     58 
     59 #
     60 # Common Rules
     61 #
     62 include ../Makefile.rules
     63