Added entries for numparam library.
This commit is contained in:
parent
09e31fceab
commit
79fb9463b4
|
|
@ -47,9 +47,12 @@
|
||||||
/* Define if we have GNU readline */
|
/* Define if we have GNU readline */
|
||||||
#undef HAVE_GNUREADLINE
|
#undef HAVE_GNUREADLINE
|
||||||
|
|
||||||
/* We do not want spurios debug info into non-developer code */
|
/* Define if you want to debug frontend */
|
||||||
#undef FTEDEBUG
|
#undef FTEDEBUG
|
||||||
|
|
||||||
|
/* Define if you want to debug ngspice shell */
|
||||||
|
#undef CPDEBUG
|
||||||
|
|
||||||
/* Define if you want to debug pole-zero analysis */
|
/* Define if you want to debug pole-zero analysis */
|
||||||
#undef PZDEBUG
|
#undef PZDEBUG
|
||||||
|
|
||||||
|
|
@ -74,6 +77,9 @@
|
||||||
/* Spice cluster support */
|
/* Spice cluster support */
|
||||||
#undef CLUSTER
|
#undef CLUSTER
|
||||||
|
|
||||||
|
/* Spice .param support */
|
||||||
|
#undef NUMPARAMS
|
||||||
|
|
||||||
/* Generate MS WINDOWS executable */
|
/* Generate MS WINDOWS executable */
|
||||||
#undef HAS_WINDOWS
|
#undef HAS_WINDOWS
|
||||||
|
|
||||||
|
|
|
||||||
34
configure.in
34
configure.in
|
|
@ -11,9 +11,6 @@ AM_CONFIG_HEADER(config.h)
|
||||||
dnl Initialize automake stuff
|
dnl Initialize automake stuff
|
||||||
AM_INIT_AUTOMAKE(ng-spice-rework,15pre1)
|
AM_INIT_AUTOMAKE(ng-spice-rework,15pre1)
|
||||||
|
|
||||||
dnl --enable-ftedebug : enable frontend debug macros
|
|
||||||
AC_ARG_ENABLE(ftedebug,
|
|
||||||
[ --enable-ftedebug Enable ngspice frontend debug])
|
|
||||||
|
|
||||||
dnl --enable-ansi : try to force --ansi option to the compiler
|
dnl --enable-ansi : try to force --ansi option to the compiler
|
||||||
AC_ARG_ENABLE(ansi,
|
AC_ARG_ENABLE(ansi,
|
||||||
|
|
@ -63,6 +60,14 @@ dnl --enable-sense2 : define WANT_SENSE2 for the code
|
||||||
AC_ARG_ENABLE(sense2,
|
AC_ARG_ENABLE(sense2,
|
||||||
[ --enable-sense2 Use spice2 sensitivity analysis])
|
[ --enable-sense2 Use spice2 sensitivity analysis])
|
||||||
|
|
||||||
|
dnl --enable-ftedebug : enable frontend debug macros
|
||||||
|
AC_ARG_ENABLE(ftedebug,
|
||||||
|
[ --enable-ftedebug Enable ngspice frontend debug])
|
||||||
|
|
||||||
|
dnl --enable-cpdebug : enable frontend debug macros
|
||||||
|
AC_ARG_ENABLE(cpdebug,
|
||||||
|
[ --enable-cpdebug Enable ngspice shell debug])
|
||||||
|
|
||||||
dnl --enable-sensdebug : define SENSDEBUG for the code
|
dnl --enable-sensdebug : define SENSDEBUG for the code
|
||||||
AC_ARG_ENABLE(sensedebug,
|
AC_ARG_ENABLE(sensedebug,
|
||||||
[ --enable-sensdebug Debug sensitivity code])
|
[ --enable-sensdebug Debug sensitivity code])
|
||||||
|
|
@ -103,10 +108,14 @@ dnl --enable-cider: define CIDER in the code. This is for CIDER support
|
||||||
AC_ARG_ENABLE(cider,
|
AC_ARG_ENABLE(cider,
|
||||||
[ --enable-cider Enable CIDER enchancements, experimental *not in standard distribution*])
|
[ --enable-cider Enable CIDER enchancements, experimental *not in standard distribution*])
|
||||||
|
|
||||||
dnl --enable-cluster: define CLUSTER in the code. This is for tcl support
|
dnl --enable-cluster: define CLUSTER in the code. This is for cluster support
|
||||||
AC_ARG_ENABLE(cluster,
|
AC_ARG_ENABLE(cluster,
|
||||||
[ --enable-cluster Enable cluster support, experimental *not in standard distribution*])
|
[ --enable-cluster Enable cluster support, experimental *not in standard distribution*])
|
||||||
|
|
||||||
|
dnl --enable-numparams: define NUMPARAMS in the code. This is for .param support
|
||||||
|
AC_ARG_ENABLE(numparam,
|
||||||
|
[ --enable-numparam Enable numparams library support, experimental *not in standard distribution*])
|
||||||
|
|
||||||
dnl Enable maintainer commands only if requested
|
dnl Enable maintainer commands only if requested
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
|
|
||||||
|
|
@ -358,6 +367,10 @@ if test "$enable_experimental" = "yes"; then
|
||||||
AC_MSG_RESULT(EXPERIMENTAL_CODE enabled)
|
AC_MSG_RESULT(EXPERIMENTAL_CODE enabled)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "$enable_cpdebug" = "yes"; then
|
||||||
|
AC_DEFINE(CPDEBUG)
|
||||||
|
AC_MSG_RESULT(WARNING: Shell debug is enabled)
|
||||||
|
fi
|
||||||
if test "$enable_ftedebug" = "yes"; then
|
if test "$enable_ftedebug" = "yes"; then
|
||||||
AC_DEFINE(FTEDEBUG)
|
AC_DEFINE(FTEDEBUG)
|
||||||
AC_MSG_RESULT(WARNING: Frontend debug is enabled)
|
AC_MSG_RESULT(WARNING: Frontend debug is enabled)
|
||||||
|
|
@ -469,6 +482,18 @@ if test "$enable_expdevices" = "yes"; then
|
||||||
AC_MSG_RESULT(WARNING: Experimental devices enabled)
|
AC_MSG_RESULT(WARNING: Experimental devices enabled)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "$enable_numparam" = "yes"; then
|
||||||
|
AC_MSG_RESULT(Numparam library is enabled)
|
||||||
|
AC_DEFINE(NUMPARAMS)
|
||||||
|
NUMPARAMDIR="numparam"
|
||||||
|
NUMPARAMLIB="frontend/numparam/libnumparam.a"
|
||||||
|
else
|
||||||
|
NUMPARAMDIR=""
|
||||||
|
NUMPARAMLIB=""
|
||||||
|
fi
|
||||||
|
AC_SUBST(NUMPARAMDIR)
|
||||||
|
AC_SUBST(NUMPARAMLIB)
|
||||||
|
|
||||||
dnl --with-readline : the user wants to use readline library
|
dnl --with-readline : the user wants to use readline library
|
||||||
AC_ARG_WITH(readline,
|
AC_ARG_WITH(readline,
|
||||||
[ --with-readline Use the readline library. WARNING: breaks GPL license],
|
[ --with-readline Use the readline library. WARNING: breaks GPL license],
|
||||||
|
|
@ -544,6 +569,7 @@ src/ciderlib/support/Makefile \
|
||||||
src/ciderlib/oned/Makefile \
|
src/ciderlib/oned/Makefile \
|
||||||
src/ciderlib/twod/Makefile \
|
src/ciderlib/twod/Makefile \
|
||||||
src/frontend/Makefile \
|
src/frontend/Makefile \
|
||||||
|
src/frontend/numparam/Makefile \
|
||||||
src/frontend/help/Makefile \
|
src/frontend/help/Makefile \
|
||||||
src/frontend/parser/Makefile \
|
src/frontend/parser/Makefile \
|
||||||
src/frontend/plotting/Makefile \
|
src/frontend/plotting/Makefile \
|
||||||
|
|
|
||||||
|
|
@ -87,6 +87,7 @@ ngspice_LDADD = \
|
||||||
spicelib/devices/libdev.a \
|
spicelib/devices/libdev.a \
|
||||||
@XSPICELIB2@ \
|
@XSPICELIB2@ \
|
||||||
frontend/parser/libparser.a \
|
frontend/parser/libparser.a \
|
||||||
|
@NUMPARAMLIB@ \
|
||||||
frontend/help/libhlp.a \
|
frontend/help/libhlp.a \
|
||||||
spicelib/parser/libinp.a \
|
spicelib/parser/libinp.a \
|
||||||
@CIDERSIM@ \
|
@CIDERSIM@ \
|
||||||
|
|
@ -119,6 +120,7 @@ ngnutmeg_LDADD = \
|
||||||
frontend/wdisp/libwindisp.a \
|
frontend/wdisp/libwindisp.a \
|
||||||
frontend/plotting/libplotting.a \
|
frontend/plotting/libplotting.a \
|
||||||
frontend/parser/libparser.a \
|
frontend/parser/libparser.a \
|
||||||
|
@NUMPARAMLIB@ \
|
||||||
frontend/help/libhlp.a \
|
frontend/help/libhlp.a \
|
||||||
maths/cmaths/libcmaths.a \
|
maths/cmaths/libcmaths.a \
|
||||||
maths/poly/libpoly.a \
|
maths/poly/libpoly.a \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
## Process this file with automake to produce Makefile.in
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
SUBDIRS = plotting help parser wdisp
|
SUBDIRS = plotting help parser wdisp @NUMPARAMDIR@
|
||||||
|
|
||||||
noinst_LIBRARIES = libfte.a
|
noinst_LIBRARIES = libfte.a
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue