Browse Source

*** empty log message ***

pre-master-46
saintel 18 years ago
parent
commit
b50d0c8788
  1. 7
      ChangeLog
  2. 1
      configure.in
  3. 1
      src/Makefile.am
  4. 4
      src/frontend/cpitf.c
  5. 24
      src/tclspinit.in

7
ChangeLog

@ -1,3 +1,10 @@
2008-11-23
* configure.in: modified for tclspinit.in
* src/tclspinit.in: spinit file for tclspice (at least until installation of
codemodels is solved)
* src/Makefile.am: modified for tclspinit installation
* src/frontend/cpitf.c: modified for use of tclspinit in tclspice
2008-11-04 Holger Vogt
* /doc/version.texi committed again
* /visualc/include/config.h: version no. 18

1
configure.in

@ -927,6 +927,7 @@ AC_CONFIG_FILES([Makefile
man/man1/Makefile
src/Makefile
src/spinit
src/tclspinit
src/spicelib/Makefile
src/spicelib/analysis/Makefile
src/spicelib/devices/Makefile

1
src/Makefile.am

@ -241,6 +241,7 @@ if TCL_MODULE
lib_LTLIBRARIES = libspice.la
install: install-libLTLIBRARIES install-tcl-recursive install-tclspice install-data-am
EXTRA_DIST += tclspice.c
initdata_DATA += tclspinit
libspice_la_SOURCES =
libspice_la_LIBADD = ngspice.lo conf.lo \

4
src/frontend/cpitf.c

@ -219,7 +219,11 @@ ft_cpinit(void)
*r = *s;
tfree(copys); /* sjb - it's safe to free this here */
(void) strcpy(r, DIR_PATHSEP);
#ifdef TCL_MODULE
(void) strcat(r, "tclspinit");
#else
(void) strcat(r, "spinit");
#endif
if ((fp = fopen(buf, "r"))) {
cp_interactive = FALSE;
inp_spsource(fp, TRUE, buf);

24
src/tclspinit.in

@ -0,0 +1,24 @@
* Standard spice and nutmeg init file
alias exit quit
alias acct rusage all
set x11lineararcs
*unset brief
strcmp __flag $program "ngspice"
if $__flag = 0
*set numparams
* For SPICE2 POLYs, edit the below line to point to the location
* of your codemode.
@XSPICEINIT@ codemodel @libdir@/spice/spice2poly.cm
* The other codemodels
@XSPICEINIT@ codemodel @libdir@/spice/analog.cm
@XSPICEINIT@ codemodel @libdir@/spice/digital.cm
@XSPICEINIT@ codemodel @libdir@/spice/xtradev.cm
@XSPICEINIT@ codemodel @libdir@/spice/xtraevt.cm
end
unset __flag
Loading…
Cancel
Save