1 # 2 # Common rules for generation of ACPICA utilities 3 # 4 # FINAL_PROG - Copies the utility to the local bin directory 5 # PROG - Builds the utility (links the object files) 6 # 7 # Note: $(INTERMEDIATES) and $(MISC) are used for iASL compiler only. 8 # 9 10 $(FINAL_PROG) : $(PROG) 11 $(COPYPROG) 12 13 $(PROG) : $(INTERMEDIATES) $(MISC) $(OBJECTS) 14 @echo "- Link" $(PROG) 15 @$(LINKPROG) 16 $(RENAMEPROG) 17 18 $(OBJDIR)/%.o : %.c $(HEADERS) $(ACPICA_HEADERS) 19 @echo $(PROG) $< 20 @$(COMPILEOBJ) 21 22 clean : 23 @rm -f $(PROG) $(PROG).exe $(OBJECTS) $(OBJDIR)/*.o $(INTERMEDIATES) $(MISC) 24 25 install : 26 $(INSTALLPROG) 27