source: trunk/mediafolder/create_mfldr_def.CMD@ 150

Last change on this file since 150 was 148, checked in by gyoung, 19 months ago

Automate building of all def files. Some minor code and makefile cleanup

File size: 3.6 KB
Line 
1/* */
2call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
3call SysLoadFuncs
4
5deffile=strip(ARG(1))
6if ARG(1)="" then deffile="tst.def"
7
8theVersion=VALUE("MMCLSVERSION", ,"OS2ENVIRONMENT")
9if theVersion="" THEN theVersion=0.0.0
10
11def="; mediafolder.def: DEF-file for mediafld.dll"||'0d'x||'0a'x
12def=def||";"||'0d'x||'0a'x
13def=def||"; (C) Chris Wohlgemuth 2002-205 Netlabs CWMM Team 2023-"||WORD(DATE(), 3) ||'0d'x||'0a'x
14def=def||";/*"||'0d'x||'0a'x
15def=def||"; * This program is free software; you can redistribute it and/or modify"||'0d'x||'0a'x
16def=def||"; * it under the terms of the GNU General Public License as published by"||'0d'x||'0a'x
17def=def||"; * the Free Software Foundation; either version 2, or (at your option)"||'0d'x||'0a'x
18def=def||"; * any later version."||'0d'x||'0a'x
19def=def||"; *"||'0d'x||'0a'x
20def=def||"; * This program is distributed in the hope that it will be useful,"||'0d'x||'0a'x
21def=def||"; * but WITHOUT ANY WARRANTY; without even the implied warranty of"||'0d'x||'0a'x
22def=def||"; * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the"||'0d'x||'0a'x
23def=def||"; * GNU General Public License for more details."||'0d'x||'0a'x
24def=def||"; *"||'0d'x||'0a'x
25def=def||"; * You should have received a copy of the GNU General Public License"||'0d'x||'0a'x
26def=def||"; * along with this program; see the file COPYING. If not, write to"||'0d'x||'0a'x
27def=def||"; * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA."||'0d'x||'0a'x
28def=def||"; */"||'0d'x||'0a'x
29def=def||";/*"||'0d'x||'0a'x
30
31def=def||'0d'x||'0a'x
32
33def=def||"LIBRARY MEDIAFLD INITINSTANCE TERMINSTANCE"||'0d'x||'0a'x
34def=def||"DESCRIPTION '$@#(C) C. Wohlgemuth "
35def=def||WORD(DATE(),3)||":"||LEFT(theVersion,3)||" #@##1## "||DATE("E")||" "||TIME("N")||" My ;-) ::::"||WORD(TRANSLATE(theVersion," ", "."),3)||"::@@Media-Folder V"||theVersion||"'"||'0d'x||'0a'x
36def=def||"DATA MULTIPLE NONSHARED"||'0d'x||'0a'x
37def=def||"EXPORTS "||'0d'x||'0a'x
38def=def||" CWMediaFolderClassData"||'0d'x||'0a'x
39def=def||" CWMediaFolderCClassData"||'0d'x||'0a'x
40def=def||" CWMediaFolderNewClass"||'0d'x||'0a'x
41def=def||""||'0d'x||'0a'x
42def=def||" M_CWMediaFolderClassData"||'0d'x||'0a'x
43def=def||" M_CWMediaFolderCClassData"||'0d'x||'0a'x
44def=def||" M_CWMediaFolderNewClass"||'0d'x||'0a'x
45def=def||""||'0d'x||'0a'x
46def=def||" CWAudioShadowClassData"||'0d'x||'0a'x
47def=def||" CWAudioShadowCClassData"||'0d'x||'0a'x
48def=def||" CWAudioShadowNewClass"||'0d'x||'0a'x
49def=def||""||'0d'x||'0a'x
50def=def||" M_CWAudioShadowClassData"||'0d'x||'0a'x
51def=def||" M_CWAudioShadowCClassData"||'0d'x||'0a'x
52def=def||" M_CWAudioShadowNewClass"||'0d'x||'0a'x
53def=def||""||'0d'x||'0a'x
54def=def||" CWCDFolderClassData"||'0d'x||'0a'x
55def=def||" CWCDFolderCClassData"||'0d'x||'0a'x
56def=def||" CWCDFolderNewClass"||'0d'x||'0a'x
57def=def||""||'0d'x||'0a'x
58def=def||" M_CWCDFolderClassData"||'0d'x||'0a'x
59def=def||" M_CWCDFolderCClassData"||'0d'x||'0a'x
60def=def||" M_CWCDFolderNewClass"||'0d'x||'0a'x
61def=def||""||'0d'x||'0a'x
62def=def||" CWM3UFolderClassData"||'0d'x||'0a'x
63def=def||" CWM3UFolderCClassData"||'0d'x||'0a'x
64def=def||" CWM3UFolderNewClass"||'0d'x||'0a'x
65def=def||""||'0d'x||'0a'x
66def=def||" M_CWM3UFolderClassData"||'0d'x||'0a'x
67def=def||" M_CWM3UFolderCClassData"||'0d'x||'0a'x
68def=def||" M_CWM3UFolderNewClass"||'0d'x||'0a'x
69
70'@type NUL > 'deffile
71call lineout deffile,def
72call stream deffile, "C", "close"
73exit
74
Note: See TracBrowser for help on using the repository browser.