Changeset 505 for trunk

Timestamp:
Feb 3, 2010, 3:18:16 AM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

emxexpw.cmd: Added ${bldlevel} macro that expands to an extended BLDLEVEL string composed of the version, description and vendor strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mkspecs/os2-g++/emxexpw.cmd

    r381 r505  
    3737G.!DefaultTemplate =,
    3838    "LIBRARY ${name} INITINSTANCE TERMINSTANCE"G.!eol||,
    39     "DESCRIPTION '@#${vendor}:${version}#@ ${desc}'"G.!eol||,
     39    "DESCRIPTION '}'"G.!eol||,
    4040    "DATA MULTIPLE NONSHARED"G.!eol||,
    4141    "EXPORTS"
     
    5757Opt.!DefFile         = ''
    5858Opt.!LibName         = ''
    59 Opt.!LibVersion      = ''
     59Opt.!LibVersion      = ''
    6060Opt.!LibDesc         = ''
    61 Opt.!LibVendor       = ''
     61Opt.!LibVendor       = 'unknown'
     62Opt.!LibBldLevel     = ''
    6263Opt.!DefTemplate     = ''
    6364Opt.!DefMap          = ''
     
    289290    str = Replace(str, '${desc}', Opt.!LibDesc)
    290291    str = Replace(str, '${vendor}', Opt.!LibVendor)
     292
    291293
    292294    return str
     
    599601    parse arg options
    600602
     603
     604
    601605    call TokenizeString options, 'G.!opts'
    602606
     
    658662                    Opt.!Quiet = 1
    659663                end
     664
     665
     666
    660667                otherwise
    661668                    call Error "E_InvalidOption", o
     
    675682    drop G.!opts.0
    676683
     684
     685
     686
     687
     688
     689
     690
     691
     692
     693
     694
     695
     696
     697
     698
     699
     700
     701
     702
     703
     704
     705
     706
     707
     708
     709
     710
     711
     712
     713
    677714    return
    678715
     
    698735    say '   -def <file>             : Output DEF file [required]'
    699736    say '   -name <string>          : Library name [default: DEF file name w/o ext]'
    700     say '   -version <string>       : Library version [default: none]'
     737    say '   -version <string>       : Library version [default: ]'
    701738    say '   -desc <string>          : Library description [default: none]'
    702     say '   -vendor <string>        : Library vendor [default: none]'
     739    say '   -vendor <string>        : Library vendor [default: ]'
    703740    say '   -template <file>        : DEF file template [default: none]'
    704741    say '   -map <file>             : Input/output map file [default: none]'
     
    731768    say '-  ${vendor} is replaced with the library vendor string;'
    732769    say '-  ${exports} is replaced with the list of exported entries.'
     770
     771
     772
     773
     774
     775
     776
     777
     778
    733779
    734780    call Done 0
Note: See TracChangeset for help on using the changeset viewer.