Browse Source

Exclude bin directory from tags generation.

Create something that might be usable as a symbol list for bochs'
internal debugger.
tags/v0.9.3
Michael Brown 18 years ago
parent
commit
084f6b18f7
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      src/Makefile.housekeeping

+ 6
- 1
src/Makefile.housekeeping View File

@@ -294,6 +294,10 @@ $(BIN)/%.tmp : $(BLIB) $(MAKEDEPS) $(LDSCRIPT)
294 294
 $(BIN)/%.map : $(BIN)/%.tmp
295 295
 	@less $(BIN)/$*.tmp.map
296 296
 
297
+# Build bochs symbol table
298
+$(BIN)/%.bxs : $(BIN)/%.tmp
299
+	$(NM) $< | cut -d" " -f1,3 > $@
300
+
297 301
 # Rules for each media format.  These are generated and placed in an
298 302
 # external Makefile fragment.  We could do this via $(eval ...), but
299 303
 # that would require make >= 3.80.
@@ -404,7 +408,8 @@ otherarchs :
404 408
 TAGS : TAGS.$(ARCH)
405 409
 
406 410
 TAGS.$(ARCH) : 
407
-	ctags -e -R -f $@ $(foreach ARCH,$(OTHER_ARCHS),--exclude=arch/$(ARCH))
411
+	ctags -e -R -f $@ --exclude=bin \
412
+		$(foreach ARCH,$(OTHER_ARCHS),--exclude=arch/$(ARCH))
408 413
 CLEANUP	+= TAGS*
409 414
 
410 415
 # Symbol table checks

Loading…
Cancel
Save