home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
DOOG
/
CBASE09.ZIP
/
LSEQ.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-08-30
|
2KB
|
68 lines
@echo off
rem lseq installation batch file------------------------------------------------
rem #ident "install.bat 1.1 - 89/07/03"
rem check if blkio installed----------------------------------------------------
if exist \tc\include\blkio.h goto blkio
echo The blkio library must be installed first.
goto end
:blkio
rem extract the reference manual------------------------------------------------
if not exist lseq.man goto man
echo lseq.man exists. ^c to exit, any other key to continue.
pause
:man
if not exist tmp goto tmp
echo tmp exists. ^c to exit, any other key to continue.
pause
:tmp
echo on
copy lseq.h/a+lsclose.c+lscreate.c+lscursor.c+lsdelcur.c+lsfirst.c+lsgetcur.c tmp
type tmp | manx -c > lseq.man
copy lsgetlck.c/a+lsgetr.c+lsgetrf.c+lsinscur.c+lsinsert.c+lslast.c tmp
type tmp | manx -c >> lseq.man
copy lslock.c/a+lsnext.c+lsopen.c+lsprev.c+lsputr.c+lsputrf.c tmp
type tmp | manx -c >> lseq.man
copy lsreccnt.c/a+lsrecsiz.c+lssearch.c+lssetbuf.c+lssetcur.c+lssetvbu.c tmp
type tmp | manx -c >> lseq.man
copy lssync.c/a tmp
type tmp | manx -c >> lseq.man
del tmp
@echo off
rem compile all lseq source files-----------------------------------------------
echo on
tcc -O -c -mh lsclose.c lscreate.c lscursor.c lsdelcur.c lsfirst.c lsgetcur.c
tcc -O -c -mh lsgetlck.c lsgetr.c lsgetrf.c lsinscur.c lsinsert.c lslast.c
tcc -O -c -mh lslock.c lsnext.c lsopen.c lsprev.c lsputr.c lsputrf.c
tcc -O -c -mh lsreccnt.c lsrecsiz.c lssearch.c lssetbuf.c lssetcur.c lssetvbu.c
tcc -O -c -mh lssync.c
tcc -O -c -mh dgops.c lsops.c rcops.c
@echo off
rem build the lseq library archive----------------------------------------------
echo on
tlib lseq @lseq.rsp
@echo off
rem install the lseq library----------------------------------------------------
if not exist \tc\lib\lseq.lib goto lib
echo \tc\lib\lseq.lib exists. ^c to exit, any other key to continue.
pause
:lib
echo on
copy lseq.lib \tc\lib\lseq.lib
@echo off
if not exist \tc\include\lseq.h goto h
echo \tc\include\lseq.h exists. ^c to exit, any other key to continue.
pause
:h
echo on
copy lseq.h \tc\include\lseq.h
@echo off
rem end of lseq batch file------------------------------------------------------
:end