| 1 | /* */
|
|---|
| 2 | call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
|
|---|
| 3 | call SysLoadFuncs
|
|---|
| 4 |
|
|---|
| 5 | deffile=ARG(1)
|
|---|
| 6 | if ARG(1)="" then deffile="tst.def"
|
|---|
| 7 |
|
|---|
| 8 | theVersion=VALUE("DESKTOPVERSION", ,"OS2ENVIRONMENT")
|
|---|
| 9 | if theVersion="" THEN theVersion="0.0.0"
|
|---|
| 10 |
|
|---|
| 11 | /* File defining the DLL exports */
|
|---|
| 12 | exportsfile="EXPORTS.DEF"
|
|---|
| 13 |
|
|---|
| 14 | def="; VOYWP.DEF: DEF-file for voywp.dll"||'0d'x||'0a'x
|
|---|
| 15 | def=def||";"||'0d'x||'0a'x
|
|---|
| 16 | def=def||"; (C) Chris Wohlgemuth 2003-"||WORD(DATE(), 3) ||'0d'x||'0a'x
|
|---|
| 17 | def=def||";/*"||'0d'x||'0a'x
|
|---|
| 18 | def=def||"; */"||'0d'x||'0a'x
|
|---|
| 19 | def=def||";/*"||'0d'x||'0a'x
|
|---|
| 20 | def=def||"; * http://www.os2world.com/cdwriting"||'0d'x||'0a'x
|
|---|
| 21 | def=def||"; * http://www.geocities.com/SiliconValley/Sector/5785/"||'0d'x||'0a'x
|
|---|
| 22 | def=def||"; */"||'0d'x||'0a'x
|
|---|
| 23 |
|
|---|
| 24 | def=def||'0d'x||'0a'x
|
|---|
| 25 |
|
|---|
| 26 | def=def||"LIBRARY VOYWP INITGLOBAL"||'0d'x||'0a'x
|
|---|
| 27 | def=def||"DESCRIPTION '$@#(C) C. Wohlgemuth 2004-"
|
|---|
| 28 | def=def||WORD(DATE(),3)||":"||LEFT(theVersion,3)||" #@##1## "||DATE("E")||" "||TIME("N")||" My ;-) ::::"||WORD(TRANSLATE(theVersion," ", "."),3)||"::@@Voyager desktop classes V"||theVersion||"'"||'0d'x||'0a'x
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 | '@type NUL > 'deffile
|
|---|
| 33 | /* Write header */
|
|---|
| 34 | call lineout deffile, def
|
|---|
| 35 | /* Write the exports */
|
|---|
| 36 | DO WHILE LINES(exportsfile)
|
|---|
| 37 | call lineout deffile, LINEIN(exportsfile)
|
|---|
| 38 | END
|
|---|
| 39 | call stream exportsfile, "C", "close"
|
|---|
| 40 | call stream deffile, "C", "close"
|
|---|
| 41 |
|
|---|
| 42 | SAY " New VOYWP.DEF created for V"||theVersion||"."
|
|---|
| 43 | exit
|
|---|
| 44 |
|
|---|