File: Makefile.rules

package info (click to toggle)
acpica-unix 20250404-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 39,648 kB
  • sloc: ansic: 139,761; sh: 4,385; yacc: 4,377; lex: 1,345; makefile: 1,337
file content (26 lines) | stat: -rwxr-xr-x 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)