diff options
Diffstat (limited to 'solenv/bin/fix_dxp_file.cmd')
-rw-r--r-- | solenv/bin/fix_dxp_file.cmd | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/solenv/bin/fix_dxp_file.cmd b/solenv/bin/fix_dxp_file.cmd new file mode 100644 index 000000000000..66149c1207ea --- /dev/null +++ b/solenv/bin/fix_dxp_file.cmd @@ -0,0 +1,30 @@ +/* os2 build scripts
+
+this script is used to process dxp files produced from .map
+
+*/
+
+do while( lines())
+
+ l = linein()
+
+ l = strip(l)
+ l = strip(l,,X2C(9))
+ l = strip(l,,";")
+ if LEFT( l,4) \= 'Java' THEN l = '_'l
+
+ /* remove empty lines */
+ if l = '_' then l = ''
+
+ /* remove component_getDescriptionFunc, since it is already added by tg_def */
+ if l = '_component_getDescriptionFunc' then l = ''
+ if l = '_GetVersionInfo' then l = ''
+
+ /* remove GLOBAL symbols */
+/*
+ if WORDPOS( l, '_GLOBAL_') > 0 then l = ''
+*/
+
+ say l
+
+end
|