rem CONFIGURE/BUILD/INSTALL script for djgpp (DOS protected mode) rem simply type "build" and go away for an hour or so. rem Generate the makefiles and configuration files echo off echo Creating main Makefile ... echo #######################################################################> conf\mkheader echo ####### Makefile generated by build script ############################>> conf\mkheader echo VERSION = 2.4>> conf\mkheader echo #######################################################################>> conf\mkheader echo MAKE = make>> conf\mkheader cd conf\util gcc -o datestr datestr.c coff2exe datestr rm datestr mv datestr.exe ..\..\src\bin cd ..\.. src\bin\datestr>> conf\mkheader cat conf\dosconf\mkheader.1 >> conf\mkheader cp conf\mkheader src\bin\Makefile cat conf\common >> src\bin\Makefile cat conf\dosconf\maketail.1 >> src\bin\Makefile echo done echo Creating config.h cp conf/dosconf/conf_dos.h src/include/config.h echo done cd src\bin echo Changing directory to src\bin echo Creating nuconfig.c ... make preamble > nuconfig.c cat nconfig.c >> nuconfig.c echo done echo Creating spconfig.c ... make preamble > spconfig.c make devs >> spconfig.c cat sconfig.c >> spconfig.c echo done echo Adding dependencies to makefile... make depend >> Makefile echo done echo Creating makefiles in the subdirectories... make make echo ...done rem Now compile everything. We can't use the makefile directly, rem as recursion is not possible with djgpp/go32 1.12 or earlier. cd ..\lib\dev\bjt make cd ..\bsim1 make cd ..\bsim2 make cd ..\cap make cd ..\dio make cd ..\ind make cd ..\jfet make cd ..\jj make cd ..\ltra make cd ..\mes make cd ..\mos make cd ..\res make cd ..\src make cd ..\sw make cd ..\tra make cd ..\urc make cd ..\disto make cd .. make cd ..\spfte make cd ..\fte make cd ..\cp make cd ..\analysis make cd ..\inp make cd ..\ckt make cd ..\ni make cd ..\sparse make cd ..\hlp make cd ..\plot make cd ..\sced make cd ..\misc make cd ..\dosmfb make cd ..\..\bin make all rem Now create a new bin and copy the binaries. make install cp datestr.exe ..\..\bin rm jspice3 nutmeg help multidec proc2mod rm *.exe cd ../.. echo Build is complete. Now you must rename this directory Jspice3, echo then be sure to add \jspice3\bin to your search path. To save echo disk space, the 'src' and 'conf' subdirectories and build files echo can be removed. :done