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 $(LINKPROG) 15 $(RENAMEPROG) 16 17 $(OBJDIR)/%.o : %.c $(HEADERS) $(ACPICA_HEADERS) 18 $(COMPILEOBJ) 19 20 clean : 21 rm -f $(PROG) $(PROG).exe $(OBJECTS) $(INTERMEDIATES) $(MISC) 22 23 install : 24 $(INSTALLPROG) 25