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
|
||||
AC_MSG_RESULT(CIDER features enabled)
|
||||
AC_DEFINE(CIDER)
|
||||
|
||||
CIDERDIR="ciderlib"
|
||||
|
||||
CIDERSIM=" $CIDERDIR/twod/libcidertwod.a \
|
||||
$CIDERDIR/oned/libcideroned.a \
|
||||
$CIDERDIR/input/libciderinput.a \
|
||||
$CIDERDIR/support/libcidersuprt.a \ "
|
||||
|
||||
|
||||
CIDERMATH="misc"
|
||||
|
||||
CIDERMATHDIR="maths/misc/libmathmisc.a"
|
||||
|
||||
NUMDEV=" spicelib/devices/nbjt/libnbjt.a \
|
||||
spicelib/devices/nbjt2/libnbjt2.a \
|
||||
spicelib/devices/numd/libnumd.a \
|
||||
|
|
@ -425,6 +431,8 @@ CIDERSCRIPTS="devload devaxis ciderinit"
|
|||
else
|
||||
CIDERLIB=""
|
||||
CIDERSIM=""
|
||||
CIDERMATH=""
|
||||
CIDERMATHDIR=""
|
||||
NUMDEV=""
|
||||
NUMDEVDIR=""
|
||||
CIDERSCRIPTS=""
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ ngspice_LDADD = \
|
|||
spicelib/parser/libinp.a \
|
||||
maths/deriv/libderiv.a \
|
||||
maths/cmaths/libcmaths.a \
|
||||
maths/misc/libmathsmisc.a \
|
||||
@CIDERMATHDIR@
|
||||
maths/poly/libpoly.a \
|
||||
maths/ni/libni.a \
|
||||
maths/sparse/libsparse.a \
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Process this file with automake
|
||||
|
||||
SUBDIRS = cmaths ni sparse poly deriv misc
|
||||
SUBDIRS = cmaths ni sparse poly deriv @CIDERMATH@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
|
|
|||
Loading…
Reference in New Issue