CIDER mathematical support routines (maths/misc) are now compiled only
when CIDER is defined.
This commit is contained in:
parent
88b8906c9a
commit
ccee90013b
10
configure.in
10
configure.in
|
|
@ -403,12 +403,18 @@ dnl Add CIDER enhacements to ngspice.
|
||||||
if test "$enable_cider" = "yes"; then
|
if test "$enable_cider" = "yes"; then
|
||||||
AC_MSG_RESULT(CIDER features enabled)
|
AC_MSG_RESULT(CIDER features enabled)
|
||||||
AC_DEFINE(CIDER)
|
AC_DEFINE(CIDER)
|
||||||
|
|
||||||
CIDERDIR="ciderlib"
|
CIDERDIR="ciderlib"
|
||||||
|
|
||||||
CIDERSIM=" $CIDERDIR/twod/libcidertwod.a \
|
CIDERSIM=" $CIDERDIR/twod/libcidertwod.a \
|
||||||
$CIDERDIR/oned/libcideroned.a \
|
$CIDERDIR/oned/libcideroned.a \
|
||||||
$CIDERDIR/input/libciderinput.a \
|
$CIDERDIR/input/libciderinput.a \
|
||||||
$CIDERDIR/support/libcidersuprt.a \ "
|
$CIDERDIR/support/libcidersuprt.a \ "
|
||||||
|
|
||||||
|
CIDERMATH="misc"
|
||||||
|
|
||||||
|
CIDERMATHDIR="maths/misc/libmathmisc.a"
|
||||||
|
|
||||||
NUMDEV=" spicelib/devices/nbjt/libnbjt.a \
|
NUMDEV=" spicelib/devices/nbjt/libnbjt.a \
|
||||||
spicelib/devices/nbjt2/libnbjt2.a \
|
spicelib/devices/nbjt2/libnbjt2.a \
|
||||||
spicelib/devices/numd/libnumd.a \
|
spicelib/devices/numd/libnumd.a \
|
||||||
|
|
@ -425,6 +431,8 @@ CIDERSCRIPTS="devload devaxis ciderinit"
|
||||||
else
|
else
|
||||||
CIDERLIB=""
|
CIDERLIB=""
|
||||||
CIDERSIM=""
|
CIDERSIM=""
|
||||||
|
CIDERMATH=""
|
||||||
|
CIDERMATHDIR=""
|
||||||
NUMDEV=""
|
NUMDEV=""
|
||||||
NUMDEVDIR=""
|
NUMDEVDIR=""
|
||||||
CIDERSCRIPTS=""
|
CIDERSCRIPTS=""
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ ngspice_LDADD = \
|
||||||
spicelib/parser/libinp.a \
|
spicelib/parser/libinp.a \
|
||||||
maths/deriv/libderiv.a \
|
maths/deriv/libderiv.a \
|
||||||
maths/cmaths/libcmaths.a \
|
maths/cmaths/libcmaths.a \
|
||||||
maths/misc/libmathsmisc.a \
|
@CIDERMATHDIR@
|
||||||
maths/poly/libpoly.a \
|
maths/poly/libpoly.a \
|
||||||
maths/ni/libni.a \
|
maths/ni/libni.a \
|
||||||
maths/sparse/libsparse.a \
|
maths/sparse/libsparse.a \
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Process this file with automake
|
# Process this file with automake
|
||||||
|
|
||||||
SUBDIRS = cmaths ni sparse poly deriv misc
|
SUBDIRS = cmaths ni sparse poly deriv @CIDERMATH@
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue