update on --adms
This commit is contained in:
parent
50ad9c548e
commit
a7864c8f61
|
|
@ -1,3 +1,10 @@
|
||||||
|
2010-08-15 Holger Vogt
|
||||||
|
* configure.in: add a small section starting with *VLAMKF, containing
|
||||||
|
the adms makefiles to be made
|
||||||
|
* autogen.sh: if --adms is selected, read the section from configure.in
|
||||||
|
and store it in AC_CONFIG_FILES of temporary configure.ac
|
||||||
|
Tested with MINGW, CYGWIN, SUSE Linux, may need more tests on other OSs!
|
||||||
|
|
||||||
2010-08-15 Robert Larice
|
2010-08-15 Robert Larice
|
||||||
* src/misc/string.c ,
|
* src/misc/string.c ,
|
||||||
* src/xspice/cmpp/mod_yacc.y :
|
* src/xspice/cmpp/mod_yacc.y :
|
||||||
|
|
|
||||||
21
autogen.sh
21
autogen.sh
|
|
@ -138,14 +138,21 @@ if test "$ADMS" -eq 1; then
|
||||||
|
|
||||||
# automake needs these entries in configure.in for adms enabled
|
# automake needs these entries in configure.in for adms enabled
|
||||||
|
|
||||||
sed 's/tests\/vbic\/Makefile/tests\/vbic\/Makefile\
|
# sed 's/tests\/vbic\/Makefile/tests\/vbic\/Makefile\
|
||||||
src\/spicelib\/devices\/adms\/ekv\/Makefile\
|
# src\/spicelib\/devices\/adms\/ekv\/Makefile\
|
||||||
src\/spicelib\/devices\/adms\/hicum0\/Makefile\
|
# src\/spicelib\/devices\/adms\/hicum0\/Makefile\
|
||||||
src\/spicelib\/devices\/adms\/hicum2\/Makefile\
|
# src\/spicelib\/devices\/adms\/hicum2\/Makefile\
|
||||||
src\/spicelib\/devices\/adms\/mextram\/Makefile\
|
# src\/spicelib\/devices\/adms\/mextram\/Makefile\
|
||||||
src\/spicelib\/devices\/adms\/psp102\/Makefile/g' configure.temp >configure.ac
|
# src\/spicelib\/devices\/adms\/psp102\/Makefile/g' configure.temp >configure.ac
|
||||||
|
|
||||||
# cp -p configure.ac configure.test
|
z=""
|
||||||
|
# Find all lines with "#VLAMKF" and put the second token of each line into shell variable z
|
||||||
|
z=`cat configure.temp | awk -v z=${z} '$1 ~ /#VLAMKF/{ z=$2; print " "z"\\\" }' `
|
||||||
|
|
||||||
|
# Find "tests/vbic/Makefile" and replace by tests/vbic/Makefile plus contents of variable z
|
||||||
|
sed -e "
|
||||||
|
s,tests\\/vbic\\/Makefile,tests\\/vbic\\/Makefile\\
|
||||||
|
$z ," configure.temp >configure.ac
|
||||||
|
|
||||||
currentdir=`pwd`
|
currentdir=`pwd`
|
||||||
|
|
||||||
|
|
|
||||||
13
configure.in
13
configure.in
|
|
@ -933,11 +933,12 @@ if test "$enable_adms" = "yes"; then
|
||||||
adms/mextram \
|
adms/mextram \
|
||||||
adms/psp102 "
|
adms/psp102 "
|
||||||
|
|
||||||
# VLAMKF=" src/spicelib/devices/adms/ekv/Makefile \
|
dnl The makefiles for adms (to be added to AC_CONFIG_FILES by ./autogen.sh --adms)
|
||||||
# src/spicelib/devices/adms/hicum0/Makefile \
|
#VLAMKF src/spicelib/devices/adms/ekv/Makefile
|
||||||
# src/spicelib/devices/adms/hicum2/Makefile \
|
#VLAMKF src/spicelib/devices/adms/hicum0/Makefile
|
||||||
# src/spicelib/devices/adms/mextram/Makefile \
|
#VLAMKF src/spicelib/devices/adms/hicum2/Makefile
|
||||||
# src/spicelib/devices/adms/psp102/Makefile "
|
#VLAMKF src/spicelib/devices/adms/mextram/Makefile
|
||||||
|
#VLAMKF src/spicelib/devices/adms/psp102/Makefile
|
||||||
|
|
||||||
NOTVLADEVDIR=""
|
NOTVLADEVDIR=""
|
||||||
|
|
||||||
|
|
@ -949,7 +950,6 @@ if test "$enable_adms" = "yes"; then
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
# VLAMKF=""
|
|
||||||
VLADEVDIR=""
|
VLADEVDIR=""
|
||||||
NOTVLADEVDIR="adms"
|
NOTVLADEVDIR="adms"
|
||||||
|
|
||||||
|
|
@ -957,7 +957,6 @@ fi
|
||||||
|
|
||||||
AC_SUBST(ADMSXML)
|
AC_SUBST(ADMSXML)
|
||||||
AC_SUBST(VLADEVDIR)
|
AC_SUBST(VLADEVDIR)
|
||||||
#AC_SUBST(VLAMKF)
|
|
||||||
AC_SUBST(VLADEV)
|
AC_SUBST(VLADEV)
|
||||||
AC_SUBST(NOTVLADEVDIR)
|
AC_SUBST(NOTVLADEVDIR)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue