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_COMMON)\ 23 $(ACPICA_OSL) 24 25 HEADERS = \ 26 $(wildcard $(ACPISRC)/*.h) 27 28 OBJECTS = \ 29 $(OBJDIR)/ascase.o\ 30 $(OBJDIR)/asconvrt.o\ 31 $(OBJDIR)/asfile.o\ 32 $(OBJDIR)/asmain.o\ 33 $(OBJDIR)/asremove.o\ 34 $(OBJDIR)/astable.o\ 35 $(OBJDIR)/asutils.o\ 36 $(OBJDIR)/osunixdir.o\ 37 $(OBJDIR)/getopt.o 38 39 # 40 # Compile flags specific to acpisrc 41 # 42 CFLAGS += \ 43 -DACPI_SRC_APP\ 44 -I$(ACPISRC) 45 46 # 47 # Common Rules 48 # 49 include ../Makefile.rules 50