freebsd-dev/generate/unix/Makefile.rules
2013-05-17 23:13:40 +00:00

25 lines
519 B
Makefile

#
# Common rules for generation of ACPICA utilities
#
# FINAL_PROG - Copies the utility to the local bin directory
# PROG - Builds the utility (links the object files)
#
# Note: $(INTERMEDIATES) and $(MISC) are used for iASL compiler only.
#
$(FINAL_PROG) : $(PROG)
$(COPYPROG)
$(PROG) : $(INTERMEDIATES) $(MISC) $(OBJECTS)
$(LINKPROG)
$(RENAMEPROG)
$(OBJDIR)/%.o : %.c $(HEADERS) $(ACPICA_HEADERS)
$(COMPILEOBJ)
clean :
rm -f $(PROG) $(PROG).exe $(OBJECTS) $(INTERMEDIATES) $(MISC)
install :
$(INSTALLPROG)