| 1 | /* */
|
|---|
| 2 | call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
|
|---|
| 3 | call SysLoadFuncs
|
|---|
| 4 |
|
|---|
| 5 | deffile=strip(ARG(1))
|
|---|
| 6 | if ARG(1)="" then deffile="tst.def"
|
|---|
| 7 |
|
|---|
| 8 | theVersion=VALUE("MMCLSVERSION", ,"OS2ENVIRONMENT")
|
|---|
| 9 | if theVersion="" THEN theVersion="0.0.0"
|
|---|
| 10 |
|
|---|
| 11 | /* File defining the DLL exports */
|
|---|
| 12 | exportsfile="EXPORTS.DEF"
|
|---|
| 13 |
|
|---|
| 14 | def="; CWMM.DEF: DEF-file for CWMM.dll"||'0d'x||'0a'x
|
|---|
| 15 | def=def||";"||'0d'x||'0a'x
|
|---|
| 16 | def=def||"; (C) Chris Wohlgemuth 2002-2005 Netlabs CWMM Team 2023-"||WORD(DATE(), 3) ||'0d'x||'0a'x
|
|---|
| 17 | def=def||";/*"||'0d'x||'0a'x
|
|---|
| 18 | def=def||"; * This program is free software; you can redistribute it and/or modify"||'0d'x||'0a'x
|
|---|
| 19 | def=def||"; * it under the terms of the GNU General Public License as published by"||'0d'x||'0a'x
|
|---|
| 20 | def=def||"; * the Free Software Foundation; either version 2, or (at your option)"||'0d'x||'0a'x
|
|---|
| 21 | def=def||"; * any later version."||'0d'x||'0a'x
|
|---|
| 22 | def=def||"; *"||'0d'x||'0a'x
|
|---|
| 23 | def=def||"; * This program is distributed in the hope that it will be useful,"||'0d'x||'0a'x
|
|---|
| 24 | def=def||"; * but WITHOUT ANY WARRANTY; without even the implied warranty of"||'0d'x||'0a'x
|
|---|
| 25 | def=def||"; * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the"||'0d'x||'0a'x
|
|---|
| 26 | def=def||"; * GNU General Public License for more details."||'0d'x||'0a'x
|
|---|
| 27 | def=def||"; *"||'0d'x||'0a'x
|
|---|
| 28 | def=def||"; * You should have received a copy of the GNU General Public License"||'0d'x||'0a'x
|
|---|
| 29 | def=def||"; * along with this program; see the file COPYING. If not, write to"||'0d'x||'0a'x
|
|---|
| 30 | def=def||"; * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA."||'0d'x||'0a'x
|
|---|
| 31 | def=def||"; */"||'0d'x||'0a'x
|
|---|
| 32 |
|
|---|
| 33 | def=def||'0d'x||'0a'x
|
|---|
| 34 |
|
|---|
| 35 | def=def||"LIBRARY CWMM INITINSTANCE TERMINSTANCE"||'0d'x||'0a'x
|
|---|
| 36 | def=def||"DESCRIPTION '$@# Netlabs CWMM Team"
|
|---|
| 37 | def=def||":"||theVersion||" #@##1## "||DATE("E")||" "||TIME("N")||" Zobopeep ::::"||WORD(TRANSLATE(theVersion," ", "."),3)||"::@@CWMM classes (C) C. Wohlgemuth 2001-2005 Netlabs CWMM Team 2023-"||WORD(DATE(),3)||"'"||'0d'x||'0a'x
|
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 | '@type NUL > 'deffile
|
|---|
| 42 | /* Write header */
|
|---|
| 43 | call lineout deffile, def
|
|---|
| 44 | /* Write the exports */
|
|---|
| 45 | DO WHILE LINES(exportsfile)
|
|---|
| 46 | call lineout deffile, LINEIN(exportsfile)
|
|---|
| 47 | END
|
|---|
| 48 | call stream exportsfile, "C", "close"
|
|---|
| 49 | call stream deffile, "C", "close"
|
|---|
| 50 |
|
|---|
| 51 | SAY "New CWMM.DEF created for V"||theVersion||"."
|
|---|
| 52 | exit
|
|---|
| 53 |
|
|---|