summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_vxworks5.x_g++.GNU
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-09 17:23:36 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-09 17:23:36 +0000
commit1f02d6a4f468ceaccb65153e523e058ebc29478f (patch)
tree15c7faaf7b2e3f1c218e69b54cf46f4d41b0ded8 /include/makeinclude/platform_vxworks5.x_g++.GNU
parent38b02f8fea9b38501f1d56d22384cc3b8926e907 (diff)
downloadATCD-1f02d6a4f468ceaccb65153e523e058ebc29478f.tar.gz
added target-dependent support for symbol table extractor, and disabled symbol table extraction (POSTLINK) by default
Diffstat (limited to 'include/makeinclude/platform_vxworks5.x_g++.GNU')
-rw-r--r--include/makeinclude/platform_vxworks5.x_g++.GNU16
1 files changed, 15 insertions, 1 deletions
diff --git a/include/makeinclude/platform_vxworks5.x_g++.GNU b/include/makeinclude/platform_vxworks5.x_g++.GNU
index 7d2c33c249e..c35a9168b02 100644
--- a/include/makeinclude/platform_vxworks5.x_g++.GNU
+++ b/include/makeinclude/platform_vxworks5.x_g++.GNU
@@ -76,4 +76,18 @@ LINK.c.override = $(LD) $(LDFLAGS) $(LDLIBS) $(LIBS)
LINK.cc = override
LINK.cc.override = $(LD)
-POSTLINK = ; VX_CPU_FAMILY=$(TOOLENV) xsymDec < $@ > $@.sym
+
+#### The symbol table extractor is target-dependent.
+ifeq ($(CPU),I80486)
+ BINXSYM_NAME = xsymDec
+else
+ifeq ($(CPU),I80386)
+ BINXSYM_NAME = xsymDec
+else
+ BINXSYM_NAME = xsym
+endif # I80486
+endif # I80386
+
+#### To extract the symbol table from each executable, uncomment the POSTLINK
+#### definition below.
+## POSTLINK = ; VX_CPU_FAMILY=$(TOOLENV) $(BINXSYM_NAME) < $@ > $@.sym