Rev 165 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 165 | Rev 167 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | #DOT=YES |
5 | #DOT=YES |
6 | 6 | ||
7 | SRCDIR=$(shell cd ../../HelenOS/; pwd) |
7 | SRCDIR=$(shell cd ../../HelenOS/; pwd) |
8 | DOCDIR=$(shell pwd) |
8 | DOCDIR=$(shell pwd) |
9 | 9 | ||
10 | TARGETS=kernel-amd64 kernel-ia32 kernel-ia64 kernel-mips32 kernel-ppc32 kernel-ppc64 kernel-sparc64 |
10 | KERNEL_TARGETS=kernel-amd64 kernel-ia32 kernel-ia64 kernel-mips32 kernel-ppc32 kernel-ppc64 kernel-sparc64 |
- | 11 | USPACE_TARGETS=uspace-amd64 uspace-ia32 uspace-ia64 uspace-mips32 uspace-ppc32 |
|
- | 12 | ||
- | 13 | TARGETS=$(KERNEL_TARGETS) $(USPACE_TARGETS) |
|
11 | 14 | ||
12 | CLEAN_TARGETS := $(addprefix clean-, $(TARGETS)) |
15 | CLEAN_TARGETS := $(addprefix clean-, $(TARGETS)) |
13 | 16 | ||
14 | .PHONY: default all $(TARGETS) $(CLEAN_TARGETS) clean |
17 | .PHONY: default all $(TARGETS) $(CLEAN_TARGETS) clean |
15 | 18 | ||
Line 20... | Line 23... | ||
20 | 23 | ||
21 | all: $(TARGETS) |
24 | all: $(TARGETS) |
22 | 25 | ||
23 | clean: $(CLEAN_TARGETS) |
26 | clean: $(CLEAN_TARGETS) |
24 | 27 | ||
- | 28 | kernel: $(KERNEL_TARGETS) |
|
- | 29 | ||
- | 30 | uspace: $(USPACE_TARGETS) |
|
- | 31 | ||
25 | $(TARGETS): |
32 | $(TARGETS): |
26 | cd $(SRCDIR); DOCDIR=$(DOCDIR) SRCDIR=$(SRCDIR) DOT=$(DOT) doxygen $(DOCDIR)/Doxyfile-$@ |
33 | cd $(SRCDIR); DOCDIR=$(DOCDIR) SRCDIR=$(SRCDIR) DOT=$(DOT) doxygen $(DOCDIR)/Doxyfile-$@ |
27 | 34 | ||
28 | $(CLEAN_TARGETS): |
35 | $(CLEAN_TARGETS): |
29 | rm -rf $(DOCDIR)/doc/$(shell echo $@ | sed -n "s/^clean-\(.*\)$$/\1/p")/* |
36 | rm -rf $(DOCDIR)/doc/$(shell echo $@ | sed -n "s/^clean-\(.*\)$$/\1/p")/* |