File: Makefile.rules

package info (click to toggle)
acpica-unix 20181213-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 40,744 kB
  • sloc: ansic: 128,238; sh: 4,389; yacc: 4,184; makefile: 1,385; lex: 1,124
file content (26 lines) | stat: -rw-r--r-- 579 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# 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)
	@echo "- Link" $(PROG)
	@$(LINKPROG)
	$(RENAMEPROG)

$(OBJDIR)/%.o : %.c $(HEADERS) $(ACPICA_HEADERS)
	@echo $(PROG)  $<
	@$(COMPILEOBJ)

clean :
	@rm -f $(PROG) $(PROG).exe $(OBJECTS) $(OBJDIR)/*.o $(INTERMEDIATES) $(MISC)

install :
	$(INSTALLPROG)