Commit a509e1d8 by Andrew Scull

Add doxygen build target.

BUG=none R=jvoung@chromium.org, stichnot@chromium.org Review URL: https://codereview.chromium.org/1207823002.
parent 2da710ce
...@@ -10,4 +10,5 @@ ...@@ -10,4 +10,5 @@
# Ignore specific patterns at the top-level directory # Ignore specific patterns at the top-level directory
/pnacl-sz /pnacl-sz
/build/ /build/
/docs/
/crosstest/Output/ /crosstest/Output/
This diff is collapsed. Click to expand it.
...@@ -251,7 +251,7 @@ make_symlink: $(OBJDIR)/pnacl-sz ...@@ -251,7 +251,7 @@ make_symlink: $(OBJDIR)/pnacl-sz
@echo "Build Attributes:" @echo "Build Attributes:"
@$(SHOW_BUILD_ATTS) @$(SHOW_BUILD_ATTS)
.PHONY: all make_symlink runtime bloat sb .PHONY: all make_symlink runtime bloat sb docs
$(OBJDIR)/pnacl-sz: $(OBJS) $(OBJDIR)/pnacl-sz: $(OBJS)
$(CXX) $(LDFLAGS) -o $@ $^ $(LLVM_LDFLAGS) \ $(CXX) $(LDFLAGS) -o $@ $^ $(LLVM_LDFLAGS) \
...@@ -356,8 +356,12 @@ bloat: make_symlink ...@@ -356,8 +356,12 @@ bloat: make_symlink
bloat/bloat.py --nm-output=/dev/stdin syms > build/pnacl-sz.bloat.json bloat/bloat.py --nm-output=/dev/stdin syms > build/pnacl-sz.bloat.json
@echo See Subzero size breakdown in bloat/pnacl-sz.bloat.html @echo See Subzero size breakdown in bloat/pnacl-sz.bloat.html
docs:
doxygen Doxyfile
@echo See file://`pwd`/docs/html/index.html
clean: clean:
rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json
clean-all: clean clean-all: clean
rm -rf build/ rm -rf build/ docs/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment