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
 $(BIN)/%.map : $(BIN)/%.tmp
294
 $(BIN)/%.map : $(BIN)/%.tmp
295
 	@less $(BIN)/$*.tmp.map
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
 # Rules for each media format.  These are generated and placed in an
301
 # Rules for each media format.  These are generated and placed in an
298
 # external Makefile fragment.  We could do this via $(eval ...), but
302
 # external Makefile fragment.  We could do this via $(eval ...), but
299
 # that would require make >= 3.80.
303
 # that would require make >= 3.80.
404
 TAGS : TAGS.$(ARCH)
408
 TAGS : TAGS.$(ARCH)
405
 
409
 
406
 TAGS.$(ARCH) : 
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
 CLEANUP	+= TAGS*
413
 CLEANUP	+= TAGS*
409
 
414
 
410
 # Symbol table checks
415
 # Symbol table checks

Loading…
Cancel
Save