Browse Source

Paths in spice init file are automatically generated at config time.

pre-master-46
pnenzi 23 years ago
parent
commit
0bfa659ae0
  1. 3
      ChangeLog
  2. 10
      configure.in
  3. 13
      src/spinit.in

3
ChangeLog

@ -1,5 +1,8 @@
2004-01-10 Paolo Nenzi <p.nenzi@ieee.org> 2004-01-10 Paolo Nenzi <p.nenzi@ieee.org>
* src/spinit, arc/spinit.in, configure.in: parametrized spinit paths
for codemodel devices.
* src/Makefile.am, src/ngspice.idx: removed ngspice.idx * src/Makefile.am, src/ngspice.idx: removed ngspice.idx
and make it auto-generated and installed (Stefan Jones). and make it auto-generated and installed (Stefan Jones).

10
configure.in

@ -280,7 +280,7 @@ AC_CACHE_CHECK([for va_copy], ac_cv_c_va_copy,
], ],
[ac_cv_c_va_copy="yes"], [ac_cv_c_va_copy="yes"],
[ac_cv_c_va_copy="no"]) [ac_cv_c_va_copy="no"])
)
)
if test "$ac_cv_c_va_copy" = "yes" if test "$ac_cv_c_va_copy" = "yes"
then then
AC_DEFINE(HAVE_VA_COPY, 1, [Define if we have va_copy]) AC_DEFINE(HAVE_VA_COPY, 1, [Define if we have va_copy])
@ -293,7 +293,7 @@ AC_CACHE_CHECK([for __va_copy], ac_cv_c___va_copy,
], ],
[ac_cv_c___va_copy="yes"], [ac_cv_c___va_copy="yes"],
[ac_cv_c___va_copy="no"]) [ac_cv_c___va_copy="no"])
)
)
if test "$ac_cv_c___va_copy" = "yes" if test "$ac_cv_c___va_copy" = "yes"
then then
AC_DEFINE(HAVE___VA_COPY, 1, [Define if we have __va_copy]) AC_DEFINE(HAVE___VA_COPY, 1, [Define if we have __va_copy])
@ -418,7 +418,7 @@ if test "$enable_xspice" = "yes"; then
else else
XSPCIEDIR="" XSPCIEDIR=""
XSPICELIB1="" XSPICELIB1=""
XSPICELIB2=""
XSPICELIB2=""
fi fi
AC_SUBST(XSPICEDIR) AC_SUBST(XSPICEDIR)
AC_SUBST(XSPICELIB1) AC_SUBST(XSPICELIB1)
@ -508,6 +508,7 @@ doc/Makefile \
man/Makefile \ man/Makefile \
man/man1/Makefile \ man/man1/Makefile \
src/Makefile \ src/Makefile \
src/spinit \
src/spicelib/Makefile \ src/spicelib/Makefile \
src/spicelib/analysis/Makefile \ src/spicelib/analysis/Makefile \
src/spicelib/devices/Makefile \ src/spicelib/devices/Makefile \
@ -532,7 +533,7 @@ src/spicelib/devices/ccvs/Makefile \
src/spicelib/devices/csw/Makefile \ src/spicelib/devices/csw/Makefile \
src/spicelib/devices/cpl/Makefile \ src/spicelib/devices/cpl/Makefile \
src/spicelib/devices/dio/Makefile \ src/spicelib/devices/dio/Makefile \
dnl src/spicelib/devices/ekv/Makefile \
dnl src/spicelib/devices/ekv/Makefile \
src/spicelib/devices/ind/Makefile \ src/spicelib/devices/ind/Makefile \
src/spicelib/devices/isrc/Makefile \ src/spicelib/devices/isrc/Makefile \
src/spicelib/devices/hfet1/Makefile \ src/spicelib/devices/hfet1/Makefile \
@ -554,6 +555,7 @@ src/spicelib/devices/sw/Makefile \
src/spicelib/devices/tra/Makefile \ src/spicelib/devices/tra/Makefile \
src/spicelib/devices/txl/Makefile \ src/spicelib/devices/txl/Makefile \
src/spicelib/devices/urc/Makefile \ src/spicelib/devices/urc/Makefile \
src/spicelib/devices/vbic/Makefile \
src/spicelib/devices/vccs/Makefile \ src/spicelib/devices/vccs/Makefile \
src/spicelib/devices/vcvs/Makefile \ src/spicelib/devices/vcvs/Makefile \
src/spicelib/devices/vsrc/Makefile \ src/spicelib/devices/vsrc/Makefile \

13
src/spinit.in

@ -0,0 +1,13 @@
* Standard spice and nutmeg init file
alias exit quit
alias acct rusage all
set x11lineararcs
* For SPICE2 POLYs, edit the below line to point to the location
* of your codemode.
* codemodel @prefix@/lib/spice/spice2poly.cm
* The other codemodels
* codemodel @prefix@/lib/spice/analog.cm
* codemodel @prefix@/lib/spice/digital.cm
* codemodel @prefix@/lib/spice/xtradev.cm
* codemodel @prefix@/lib/spice/xtraevt.cm
Loading…
Cancel
Save