 cd \tbird\mt2_68k\release
 
rem @echo Create Release Disks (rel332.bat) >> \tbird\mt2_68k\bldtime.log
rem c:\dos\asctime >> c:\tbird\mt2_68k\bldtime.log

rem  *** create temporary working directory ***
mkdir cfg
mkdir dll1
mkdir dll2
mkdir dll3
mkdir dll4
mkdir samp68k
mkdir teknotes

rem *** create directories for release diskettes ***
mkdir disk1
mkdir disk2
del disk1\*.dll

rem ** copy files to subdirectory for compression ***
copy \tbird\mt2_68k\addr\addr.dll dll1
copy \tbird\mt2_68k\baselib\baselib.dll dll1
copy \tbird\mt2_68k\bkptexec\bkptexec.dll dll1
copy \tbird\mt2_68k\bkroot\bkroot.dll dll1
copy \tbird\mt2_68k\cliulib\cliulib.dll dll1
copy \tbird\mt2_68k\cpu\cpu.dll dll1
copy dll1 ..\pwrviews
d:\tools\bc\bin\tdstrip dll1\*.dll
touch dll1\*.*

copy \tbird\mt2_68k\dad32\dasm32.dll dll2
copy \tbird\mt2_68k\enlib\enlib.dll dll2
copy \tbird\mt2_68k\errtext\errtext.dll dll2
copy \tbird\mt2_68k\trace\event.dll dll2
copy \tbird\mt2_68k\trace\evttmplt.dll dll2
copy \tbird\mt2_68k\l695\ld695.dll dll2
copy \tbird\mt2_68k\malloc\malloc.dll dll2
copy dll2 ..\pwrviews
d:\tools\bc\bin\tdstrip dll2\*.dll
touch dll2\*.*

copy \tbird\mt2_68k\map\map.dll dll3
copy \tbird\mt2_68k\mem\mem.dll dll3
copy \tbird\mt2_68k\peri\peri.dll dll3
copy \tbird\mt2_68k\proc\proc.dll dll3
copy \tbird\mt2_68k\sds\sdserver.dll dll3
copy \tbird\mt2_68k\sds\sds2abi.dll dll3
copy \tbird\mt2_68k\sds\wspar.dll dll3
copy \tbird\mt2_68k\abi68k\abi68k.dll dll3
copy \tbird\mt2_68k\loader\srec\srec.dll dll3
copy \tbird\mt2_68k\stkservr\stkservr.dll dll3
copy dll3 ..\pwrviews
d:\tools\bc\bin\tdstrip dll3\*.dll
touch dll3\*.*


copy \tbird\mt2_68k\peri\muscroll.dll dll4
copy \tbird\mt2_68k\symbol\symbl.dll dll4
copy \tbird\mt2_68k\trace\trace.dll dll4
copy \tbird\mt2_68k\trace\trig.dll dll4
copy \tbird\mt2_68k\varsrv\varservr.dll dll4
copy \tbird\mt2_68k\sds\wscom.dll dll4
copy \tbird\mt2_68k\sds\pvtask.dll dll4
copy \tbird\mt2_68k\mpsetup\mpsetup.exe dll4
copy \tbird\mt2_68k\mpsetup\mpsetup.hlp dll4
copy dll4 ..\pwrviews
d:\tools\bc\bin\tdstrip dll4\*.dll

copy \tbird\mt2_68k\actor\bc30rtl.dll dll4
copy \tbird\mt2_68k\actor\tclass31.dll dll4
copy \tbird\mt2_68k\actor\tklib.dll dll4
touch dll4\*.*

copy \tbird\mt2_68k\samples\samp68k\demo.abs samp68k
copy \tbird\mt2_68k\samples\samp68k\demo.map samp68k
copy \tbird\mt2_68k\samples\samp68k\dm_main.c samp68k
copy \tbird\mt2_68k\samples\samp68k\dm_func.c samp68k
copy \tbird\mt2_68k\samples\samp68k\vector.c samp68k
copy \tbird\mt2_68k\samples\samp68k\cppdemo.abs samp68k
copy \tbird\mt2_68k\samples\samp68k\sample.cc samp68k
copy \tbird\mt2_68k\samples\samp68k\mkdemo.bat samp68k
copy \tbird\mt2_68k\samples\samp68k\mcc.bat samp68k
copy \tbird\mt2_68k\samples\samp68k\mccno.bat samp68k
copy \tbird\mt2_68k\samples\samp68k\demo.cmd samp68k
copy \tbird\mt2_68k\samples\samp68k\ccc.bat samp68k
copy \tbird\mt2_68k\samples\samp68k\mkcpp.bat samp68k
copy \tbird\mt2_68k\samples\samp68k\demo.inc samp68k
copy \tbird\mt2_68k\samples\samp68k\samples.txt samp68k
touch samp68k\*.*

copy \tbird\mt2_68k\teknotes\teknote.1 teknotes
copy \tbird\mt2_68k\teknotes\teknote.2 teknotes
copy \tbird\mt2_68k\teknotes\teknote.3 teknotes
copy \tbird\mt2_68k\teknotes\teknote.sum teknotes
touch teknotes\*.*

rem ** start copy of all the files to final release disk1 ***
rem copy \tbird\mt2_68k\readme.txt disk1
rem copy \tbird\mt2_68k\install3\disk1\install.ex$ \tbird\mt2_68k\actor\disk1
copy \tbird\mt2_68k\install3\disk1\*.* \tbird\mt2_68k\actor\disk1
rem copy \tbird\mt2_68k\include.me disk1

\tbird\mt2_68k\install3\icomp \tbird\mt2_68k\actor\micepack.exe disk1\micepack.ex$
\tbird\mt2_68k\install3\icomp \tbird\mt2_68k\pwrviews\mp68k.ima disk1\mp68k.im$
\tbird\mt2_68k\install3\icomp \tbird\mt2_68k\help\pwrviews.hlp disk1\pwrviews.hl$

copy \tbird\mt2_68k\cpu\cpu68302.cfg cfg
copy \tbird\mt2_68k\l695\ldr68302.cfg cfg
copy \tbird\mt2_68k\cpu\cpu68306.cfg cfg
copy \tbird\mt2_68k\l695\ldr68306.cfg cfg
copy \tbird\mt2_68k\cpu\cpu68307.cfg cfg
copy \tbird\mt2_68k\l695\ldr68307.cfg cfg
copy \tbird\mt2_68k\cpu\cpu68328.cfg cfg
copy \tbird\mt2_68k\l695\ldr68328.cfg cfg
copy \tbird\mt2_68k\trace\ev302.cfg cfg
copy \tbird\mt2_68k\trace\ev306.cfg cfg
copy \tbird\mt2_68k\trace\ev307.cfg cfg
copy \tbird\mt2_68k\trace\ev328.cfg cfg
copy \tbird\mt2_68k\peri\*328.pcf cfg
copy \tbird\mt2_68k\peri\peri328.cfg cfg
copy \tbird\mt2_68k\peri\*307.pcf cfg
copy \tbird\mt2_68k\peri\peri307.cfg cfg
copy \tbird\mt2_68k\peri\*302.pcf cfg
copy \tbird\mt2_68k\peri\peri302.cfg cfg
copy \tbird\mt2_68k\peri\*306.pcf cfg
copy \tbird\mt2_68k\peri\peri306.cfg cfg
touch cfg\*.*
\tbird\mt2_68k\install3\icomp cfg\*.* disk1\cfg.li$

rem *** disk 2 contains remaining dlls, samples, .ini and flash ***
\tbird\mt2_68k\install3\icomp dll1\*.* disk2\dll1.li$
\tbird\mt2_68k\install3\icomp dll2\*.* disk2\dll2.li$
\tbird\mt2_68k\install3\icomp dll3\*.* disk2\dll3.li$
\tbird\mt2_68k\install3\icomp dll4\*.* disk2\dll4.li$
\tbird\mt2_68k\install3\icomp ..\mpfw_306\bin\main302.bin disk2\main302.bi$
\tbird\mt2_68k\install3\icomp ..\mpfw_306\bin\main306.bin disk2\main306.bi$
\tbird\mt2_68k\install3\icomp ..\mpfw_306\bin\main307.bin disk2\main307.bi$
\tbird\mt2_68k\install3\icomp ..\mpfw_306\bin\main328.bin disk2\main328.bi$
\tbird\mt2_68k\install3\icomp samp68k\*.* disk2\samp68k.li$
\tbird\mt2_68k\install3\icomp teknotes\*.* disk2\teknotes.li$
copy micepack.ini disk2

rem ** remove all the temporary working directory
rm -rf cfg dll1 dll2 dll3 dll4 samp68k teknotes

copy \tbird\mt2_68k\install3\disk1\*.* \tbird\mt2_68k\actor\disk1
copy \tbird\mt2_68k\install3\setup.ins \tbird\mt2_68k\actor\disk1
touch disk1\*.*
touch disk2\*.*

rem *** end ***

rem c:\dos\asctime >> c:\tbird\mt2_68k\bldtime.log
rem @echo ---------- >> \tbird\mt2_68k\bldtime.log
