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