131 changed files with 1933 additions and 448 deletions
-
10Makefile.am
-
109configure.in
-
7src/Makefile.am
-
2src/ciderlib/oned/Makefile.am
-
1src/ciderlib/support/Makefile.am
-
2src/ciderlib/twod/Makefile.am
-
1src/frontend/Makefile.am
-
2src/frontend/numparam/Makefile.am
-
1src/include/Makefile.am
-
2src/maths/Makefile.am
-
2src/maths/misc/Makefile.am
-
53src/spicelib/devices/Makefile.am
-
4src/spicelib/devices/cpl/Makefile.am
-
10src/spicelib/devices/hisim/Makefile.am
-
2src/spicelib/devices/nbjt2/Makefile.am
-
2src/spicelib/devices/numd2/Makefile.am
-
4src/spicelib/devices/txl/Makefile.am
-
8src/xspice/Makefile.am
-
421src/xspice/cmpp/Makefile
-
21src/xspice/cmpp/Makefile.am
-
428src/xspice/cmpp/Makefile.in
-
2src/xspice/cmpp/ifs_lex.l
-
239src/xspice/cmpp/ifs_yacc.h
-
43src/xspice/cmpp/ifs_yacc.y
-
2src/xspice/cmpp/mod_lex.l
-
175src/xspice/cmpp/mod_yacc.h
-
43src/xspice/cmpp/mod_yacc.y
-
1src/xspice/icm/Makefile
-
55tests/Makefile.am
-
5tests/bsim3/Berkeley/3v0/Makefile.am
-
14tests/bsim3/Berkeley/3v0/ac_sim/Makefile.am
-
29tests/bsim3/Berkeley/3v0/dc_sim/Makefile.am
-
12tests/bsim3/Berkeley/3v0/tran_sim/Makefile.am
-
5tests/bsim3/Berkeley/3v1/Makefile.am
-
12tests/bsim3/Berkeley/3v1/ac_sim/Makefile.am
-
29tests/bsim3/Berkeley/3v1/dc_sim/Makefile.am
-
1tests/bsim3/Berkeley/3v1/dc_sim/test10.out
-
13tests/bsim3/Berkeley/3v1/tran_sim/Makefile.am
-
5tests/bsim3/Berkeley/3v2/Makefile.am
-
13tests/bsim3/Berkeley/3v2/ac_sim/Makefile.am
-
29tests/bsim3/Berkeley/3v2/dc_sim/Makefile.am
-
13tests/bsim3/Berkeley/3v2/tran_sim/Makefile.am
-
5tests/bsim3/Berkeley/Makefile.am
-
5tests/bsim3/Makefile.am
-
5tests/cider/Makefile.am
-
13tests/cider/bicmos/Makefile.am
-
1tests/cider/bicmos/bicmpd.out
-
20tests/cider/bjt/Makefile.am
-
1tests/cider/bjt/astable.out
-
1tests/cider/bjt/colposc.out
-
1tests/cider/bjt/ecp.out
-
1tests/cider/bjt/invchain.out
-
1tests/cider/bjt/meclgate.out
-
1tests/cider/bjt/pz.out
-
1tests/cider/bjt/rtlinv.out
-
1tests/cider/bjt/vco.out
-
14tests/cider/diode/Makefile.am
-
1tests/cider/diode/diode.out
-
1tests/cider/diode/diotran.out
-
1tests/cider/diode/pindiode.out
-
12tests/cider/jfet/Makefile.am
-
1tests/cider/jfet/jfet.out
-
17tests/cider/mos/Makefile.am
-
1tests/cider/mos/bootinv.out
-
1tests/cider/mos/charge.out
-
1tests/cider/mos/cmosinv.out
-
1tests/cider/mos/nmosinv.out
-
1tests/cider/mos/pass.out
-
1tests/cider/mos/ringosc.out
-
21tests/cider/parallel/Makefile.am
-
13tests/cider/resistor/Makefile.am
-
1tests/cider/resistor/gaasres.out
-
1tests/cider/resistor/sires.out
-
24tests/cider/serial/Makefile.am
-
1tests/cider/serial/astable.out
-
1tests/cider/serial/charge.out
-
1tests/cider/serial/colposc.out
-
1tests/cider/serial/dbridge.out
-
1tests/cider/serial/invchain.out
-
1tests/cider/serial/meclgate.out
-
1tests/cider/serial/nmosinv.out
-
1tests/cider/serial/pass.out
-
1tests/cider/serial/pullup.out
-
1tests/cider/serial/recovery.out
-
1tests/cider/serial/rtlinv.out
-
1tests/cider/serial/vco.out
-
20tests/general/Makefile.am
-
1tests/general/diffpair.out
-
1tests/general/fourbitadder.out
-
1tests/general/mosamp.out
-
1tests/general/mosmem.out
-
1tests/general/rc.out
-
1tests/general/rca3040.out
-
1tests/general/rtlinv.out
-
1tests/general/schmitt.out
-
14tests/hfet/Makefile.am
-
1tests/hfet/id_vgs.out
-
1tests/hfet/inverter.out
-
12tests/hisim/Makefile.am
-
1tests/hisim/test1.out
@ -1,4 +1,6 @@ |
|||||
## Process this file with automake
|
## Process this file with automake
|
||||
|
|
||||
SUBDIRS = cmaths ni sparse poly deriv @CIDERMATH@ |
SUBDIRS = cmaths ni sparse poly deriv @CIDERMATH@ |
||||
|
DIST_SUBDIRS = cmaths ni sparse poly deriv misc |
||||
|
|
||||
MAINTAINERCLEANFILES = Makefile.in |
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -1,36 +1,411 @@ |
|||||
|
# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
|
||||
|
|
||||
cmpp_OBJS=main.o pp_ifs.o pp_lst.o pp_mod.o read_ifs.o util.o writ_ifs.o \
|
|
||||
ifs_yacc.o ifs_lex.o mod_yacc.o mod_lex.o |
|
||||
|
# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
|
||||
|
# This Makefile.in is free software; the Free Software Foundation
|
||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||
|
# with or without modifications, as long as this notice is preserved.
|
||||
|
|
||||
cmpp_GEN=ifs_yacc.c ifs_tok.h \
|
|
||||
ifs_lex.c ifs_lex.h \
|
|
||||
mod_lex.c mod_lex.h \
|
|
||||
mod_yacc.c mod_tok.h |
|
||||
|
# This program is distributed in the hope that it will be useful,
|
||||
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
|
# PARTICULAR PURPOSE.
|
||||
|
|
||||
YACC=bison -d --yacc |
|
||||
#YACC=yacc -d
|
|
||||
|
|
||||
CC=gcc -O2 -g |
|
||||
|
SHELL = /bin/sh |
||||
|
|
||||
LEX=flex -t |
|
||||
|
srcdir = . |
||||
|
top_srcdir = ../../.. |
||||
|
|
||||
all: cmpp |
|
||||
|
prefix = /usr/local |
||||
|
exec_prefix = ${prefix} |
||||
|
|
||||
cmpp: $(cmpp_OBJS) |
|
||||
$(CC) -o cmpp $(cmpp_OBJS) |
|
||||
|
bindir = ${exec_prefix}/bin |
||||
|
sbindir = ${exec_prefix}/sbin |
||||
|
libexecdir = ${exec_prefix}/libexec |
||||
|
datadir = ${prefix}/share |
||||
|
sysconfdir = ${prefix}/etc |
||||
|
sharedstatedir = ${prefix}/com |
||||
|
localstatedir = ${prefix}/var |
||||
|
libdir = ${exec_prefix}/lib |
||||
|
infodir = ${prefix}/info |
||||
|
mandir = ${prefix}/man |
||||
|
includedir = ${prefix}/include |
||||
|
oldincludedir = /usr/include |
||||
|
|
||||
|
DESTDIR = |
||||
|
|
||||
|
pkgdatadir = $(datadir)/ng-spice-rework |
||||
|
pkglibdir = $(libdir)/ng-spice-rework |
||||
|
pkgincludedir = $(includedir)/ng-spice-rework |
||||
|
|
||||
|
top_builddir = ../../.. |
||||
|
|
||||
|
ACLOCAL = aclocal-1.4 |
||||
|
AUTOCONF = autoconf |
||||
|
AUTOMAKE = automake-1.4 |
||||
|
AUTOHEADER = autoheader |
||||
|
|
||||
|
INSTALL = /usr/bin/install -c |
||||
|
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) |
||||
|
INSTALL_DATA = ${INSTALL} -m 644 |
||||
|
INSTALL_SCRIPT = ${INSTALL} |
||||
|
transform = s,x,x, |
||||
|
|
||||
|
NORMAL_INSTALL = : |
||||
|
PRE_INSTALL = : |
||||
|
POST_INSTALL = : |
||||
|
NORMAL_UNINSTALL = : |
||||
|
PRE_UNINSTALL = : |
||||
|
POST_UNINSTALL = : |
||||
|
host_alias = |
||||
|
host_triplet = i686-pc-linux-gnu |
||||
|
AR = ar |
||||
|
AS = @AS@ |
||||
|
CC = gcc |
||||
|
CIDERDIR = |
||||
|
CIDERMATH = |
||||
|
CIDERMATHDIR = |
||||
|
CIDERSCRIPTS = |
||||
|
CIDERSIM = |
||||
|
CIDERTESTS = |
||||
|
CXX = g++ |
||||
|
CXXCPP = g++ -E |
||||
|
DLLTOOL = @DLLTOOL@ |
||||
|
ECHO = echo |
||||
|
EGREP = grep -E |
||||
|
EKVDIR = |
||||
|
EKVLIB = |
||||
|
EXEEXT = |
||||
|
F77 = g77 |
||||
|
GCJ = @GCJ@ |
||||
|
GCJFLAGS = @GCJFLAGS@ |
||||
|
HAVE_LIB = @HAVE_LIB@ |
||||
|
LIB = @LIB@ |
||||
|
LIBTOOL = $(SHELL) $(top_builddir)/libtool |
||||
|
LN_S = ln -s |
||||
|
LTLIB = @LTLIB@ |
||||
|
MAINT = # |
||||
|
MAKEINFO = makeinfo |
||||
|
NUMDEV = |
||||
|
NUMDEVDIR = |
||||
|
NUMPARAMDIR = |
||||
|
NUMPARAMLIB = |
||||
|
OBJDUMP = @OBJDUMP@ |
||||
|
OBJEXT = o |
||||
|
PACKAGE = ng-spice-rework |
||||
|
RANLIB = ranlib |
||||
|
RC = @RC@ |
||||
|
STRIP = strip |
||||
|
VERSION = 15 |
||||
|
WINMAIN = |
||||
|
XGRAPHDIR = |
||||
|
XSPICEDIR = |
||||
|
XSPICELIB1 = |
||||
|
XSPICELIB2 = |
||||
|
YACC = |
||||
|
|
||||
|
BUILT_SOURCES = ifs_lex.c ifs_yacc.c ifs_yacc.h mod_lex.c mod_yacc.c mod_yacc.h |
||||
|
|
||||
|
EXTRA_DIST = ifs_lex.l ifs_yacc.h mod_yacc.h |
||||
|
|
||||
|
AM_YFLAGS = -d |
||||
|
|
||||
|
LEX = -t |
||||
|
|
||||
|
bin_PROGRAMS = cmpp |
||||
|
|
||||
|
cmpp_SOURCES = cmpp.h main.c pp_ifs.c pp_lst.c pp_mod.c read_ifs.c util.c writ_ifs.c ifs_yacc_y.h ifs_yacc.y ifs_lex.c mod_yacc_y.h mod_yacc.y mod_lex.c |
||||
|
|
||||
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
||||
|
CONFIG_HEADER = ../../../config.h |
||||
|
CONFIG_CLEAN_FILES = |
||||
|
bin_PROGRAMS = cmpp$(EXEEXT) |
||||
|
PROGRAMS = $(bin_PROGRAMS) |
||||
|
|
||||
|
|
||||
|
DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I../../.. |
||||
|
CPPFLAGS = |
||||
|
LDFLAGS = |
||||
|
LIBS = -lm -lncurses |
||||
|
X_CFLAGS = -I/usr/X11R6/include |
||||
|
X_LIBS = -L/usr/X11R6/lib -lX11 -lXt -lXext -lXmu -lXaw |
||||
|
X_EXTRA_LIBS = |
||||
|
X_PRE_LIBS = -lSM -lICE |
||||
|
cmpp_OBJECTS = main.$(OBJEXT) pp_ifs.$(OBJEXT) pp_lst.$(OBJEXT) \
|
||||
|
pp_mod.$(OBJEXT) read_ifs.$(OBJEXT) util.$(OBJEXT) writ_ifs.$(OBJEXT) \ |
||||
|
ifs_yacc.$(OBJEXT) ifs_lex.$(OBJEXT) mod_yacc.$(OBJEXT) \ |
||||
|
mod_lex.$(OBJEXT) |
||||
|
cmpp_LDADD = $(LDADD) |
||||
|
cmpp_DEPENDENCIES = |
||||
|
cmpp_LDFLAGS = |
||||
|
YLWRAP = $(srcdir)/ylwrap |
||||
|
CFLAGS = -g -O2 -Wall |
||||
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
||||
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
||||
|
CCLD = $(CC) |
||||
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ |
||||
|
DIST_COMMON = Makefile.am Makefile.in ifs_yacc.c mod_yacc.c ylwrap |
||||
|
|
||||
|
|
||||
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
||||
|
|
||||
|
TAR = tar |
||||
|
GZIP_ENV = --best |
||||
|
DEP_FILES = .deps/ifs_lex.P .deps/ifs_yacc.P .deps/main.P \
|
||||
|
.deps/mod_lex.P .deps/mod_yacc.P .deps/pp_ifs.P .deps/pp_lst.P \ |
||||
|
.deps/pp_mod.P .deps/read_ifs.P .deps/util.P .deps/writ_ifs.P |
||||
|
SOURCES = $(cmpp_SOURCES) |
||||
|
OBJECTS = $(cmpp_OBJECTS) |
||||
|
|
||||
|
all: all-redirect |
||||
|
.SUFFIXES: |
||||
|
.SUFFIXES: .S .c .lo .o .obj .s .y |
||||
|
$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu src/xspice/cmpp/Makefile |
||||
|
|
||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) |
||||
|
cd $(top_builddir) \
|
||||
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
||||
|
|
||||
|
|
||||
|
mostlyclean-binPROGRAMS: |
||||
|
|
||||
|
clean-binPROGRAMS: |
||||
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
||||
|
|
||||
|
distclean-binPROGRAMS: |
||||
|
|
||||
|
maintainer-clean-binPROGRAMS: |
||||
|
|
||||
|
install-binPROGRAMS: $(bin_PROGRAMS) |
||||
|
@$(NORMAL_INSTALL) |
||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir) |
||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
|
if test -f $$p; then \
|
||||
|
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
|
||||
|
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
||||
|
else :; fi; \
|
||||
|
done |
||||
|
|
||||
|
uninstall-binPROGRAMS: |
||||
|
@$(NORMAL_UNINSTALL) |
||||
|
list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
|
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
||||
|
done |
||||
|
|
||||
|
# FIXME: We should only use cygpath when building on Windows,
|
||||
|
# and only if it is available.
|
||||
|
.c.obj: |
||||
|
$(COMPILE) -c `cygpath -w $<` |
||||
|
|
||||
|
.s.o: |
||||
|
$(COMPILE) -c $< |
||||
|
|
||||
|
.S.o: |
||||
|
$(COMPILE) -c $< |
||||
|
|
||||
|
mostlyclean-compile: |
||||
|
-rm -f *.o core *.core |
||||
|
-rm -f *.$(OBJEXT) |
||||
|
|
||||
|
clean-compile: |
||||
|
|
||||
|
distclean-compile: |
||||
|
-rm -f *.tab.c |
||||
|
|
||||
|
maintainer-clean-compile: |
||||
|
|
||||
|
.s.lo: |
||||
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $< |
||||
|
|
||||
|
.S.lo: |
||||
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $< |
||||
|
|
||||
|
mostlyclean-libtool: |
||||
|
-rm -f *.lo |
||||
|
|
||||
|
clean-libtool: |
||||
|
-rm -rf .libs _libs |
||||
|
|
||||
|
distclean-libtool: |
||||
|
|
||||
|
maintainer-clean-libtool: |
||||
|
|
||||
|
cmpp$(EXEEXT): $(cmpp_OBJECTS) $(cmpp_DEPENDENCIES) |
||||
|
@rm -f cmpp$(EXEEXT) |
||||
|
$(LINK) $(cmpp_LDFLAGS) $(cmpp_OBJECTS) $(cmpp_LDADD) $(LIBS) |
||||
|
.y.c: |
||||
|
$(SHELL) $(YLWRAP) "$(YACC)" $< y.tab.c $*.c y.tab.h $*.h -- $(AM_YFLAGS) $(YFLAGS) |
||||
|
ifs_yacc.h: ifs_yacc.c |
||||
|
mod_yacc.h: mod_yacc.c |
||||
|
|
||||
|
|
||||
|
tags: TAGS |
||||
|
|
||||
|
ID: $(HEADERS) $(SOURCES) $(LISP) |
||||
|
list='$(SOURCES) $(HEADERS)'; \
|
||||
|
unique=`for i in $$list; do echo $$i; done | \
|
||||
|
awk ' { files[$$0] = 1; } \
|
||||
|
END { for (i in files) print i; }'`; \
|
||||
|
here=`pwd` && cd $(srcdir) \
|
||||
|
&& mkid -f$$here/ID $$unique $(LISP) |
||||
|
|
||||
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) |
||||
|
tags=; \
|
||||
|
here=`pwd`; \
|
||||
|
list='$(SOURCES) $(HEADERS)'; \
|
||||
|
unique=`for i in $$list; do echo $$i; done | \
|
||||
|
awk ' { files[$$0] = 1; } \
|
||||
|
END { for (i in files) print i; }'`; \
|
||||
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
||||
|
|| (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) |
||||
|
|
||||
|
mostlyclean-tags: |
||||
|
|
||||
|
clean-tags: |
||||
|
|
||||
|
distclean-tags: |
||||
|
-rm -f TAGS ID |
||||
|
|
||||
|
maintainer-clean-tags: |
||||
|
|
||||
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) |
||||
|
|
||||
|
subdir = src/xspice/cmpp |
||||
|
|
||||
|
distdir: $(DISTFILES) |
||||
|
here=`cd $(top_builddir) && pwd`; \
|
||||
|
top_distdir=`cd $(top_distdir) && pwd`; \
|
||||
|
distdir=`cd $(distdir) && pwd`; \
|
||||
|
cd $(top_srcdir) \
|
||||
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/xspice/cmpp/Makefile |
||||
|
@for file in $(DISTFILES); do \
|
||||
|
d=$(srcdir); \
|
||||
|
if test -d $$d/$$file; then \
|
||||
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
|
else \
|
||||
|
test -f $(distdir)/$$file \
|
||||
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||
|
fi; \
|
||||
|
done |
||||
|
|
||||
|
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) |
||||
|
|
||||
|
-include $(DEP_FILES) |
||||
|
|
||||
|
mostlyclean-depend: |
||||
|
|
||||
|
clean-depend: |
||||
|
|
||||
|
distclean-depend: |
||||
|
-rm -rf .deps |
||||
|
|
||||
|
maintainer-clean-depend: |
||||
|
|
||||
|
%.o: %.c |
||||
|
@echo '$(COMPILE) -c $<'; \
|
||||
|
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
||||
|
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
||||
|
tr ' ' '\012' < .deps/$(*F).pp \
|
||||
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
||||
|
>> .deps/$(*F).P; \
|
||||
|
rm .deps/$(*F).pp |
||||
|
|
||||
|
%.lo: %.c |
||||
|
@echo '$(LTCOMPILE) -c $<'; \
|
||||
|
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
||||
|
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
||||
|
< .deps/$(*F).pp > .deps/$(*F).P; \
|
||||
|
tr ' ' '\012' < .deps/$(*F).pp \
|
||||
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
||||
|
>> .deps/$(*F).P; \
|
||||
|
rm -f .deps/$(*F).pp |
||||
|
info-am: |
||||
|
info: info-am |
||||
|
dvi-am: |
||||
|
dvi: dvi-am |
||||
|
check-am: all-am |
||||
|
check: check-am |
||||
|
installcheck-am: |
||||
|
installcheck: installcheck-am |
||||
|
install-exec-am: install-binPROGRAMS |
||||
|
install-exec: install-exec-am |
||||
|
|
||||
|
install-data-am: |
||||
|
install-data: install-data-am |
||||
|
|
||||
|
install-am: all-am |
||||
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
||||
|
install: install-am |
||||
|
uninstall-am: uninstall-binPROGRAMS |
||||
|
uninstall: uninstall-am |
||||
|
all-am: Makefile $(PROGRAMS) |
||||
|
all-redirect: all-am |
||||
|
install-strip: |
||||
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install |
||||
|
installdirs: |
||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir) |
||||
|
|
||||
|
|
||||
|
mostlyclean-generic: |
||||
|
|
||||
|
clean-generic: |
||||
|
|
||||
|
distclean-generic: |
||||
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) |
||||
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]* |
||||
|
|
||||
|
maintainer-clean-generic: |
||||
|
-test -z "ifs_yacchifs_yacccmod_yacchmod_yaccc$(BUILT_SOURCES)" || rm -f ifs_yacch ifs_yaccc mod_yacch mod_yaccc $(BUILT_SOURCES) |
||||
|
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ |
||||
|
mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
|
||||
|
mostlyclean-generic |
||||
|
|
||||
|
mostlyclean: mostlyclean-am |
||||
|
|
||||
|
clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \ |
||||
|
clean-depend clean-generic mostlyclean-am |
||||
|
|
||||
|
clean: clean-am |
||||
|
|
||||
|
distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \ |
||||
|
distclean-tags distclean-depend distclean-generic \
|
||||
|
clean-am |
||||
|
-rm -f libtool |
||||
|
|
||||
|
distclean: distclean-am |
||||
|
|
||||
|
maintainer-clean-am: maintainer-clean-binPROGRAMS \ |
||||
|
maintainer-clean-compile maintainer-clean-libtool \
|
||||
|
maintainer-clean-tags maintainer-clean-depend \
|
||||
|
maintainer-clean-generic distclean-am |
||||
|
@echo "This command is intended for maintainers to use;" |
||||
|
@echo "it deletes files that may require special tools to rebuild." |
||||
|
|
||||
|
maintainer-clean: maintainer-clean-am |
||||
|
|
||||
|
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ |
||||
|
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ |
||||
|
mostlyclean-compile distclean-compile clean-compile \ |
||||
|
maintainer-clean-compile mostlyclean-libtool distclean-libtool \ |
||||
|
clean-libtool maintainer-clean-libtool tags mostlyclean-tags \ |
||||
|
distclean-tags clean-tags maintainer-clean-tags distdir \ |
||||
|
mostlyclean-depend distclean-depend clean-depend \ |
||||
|
maintainer-clean-depend info-am info dvi-am dvi check check-am \ |
||||
|
installcheck-am installcheck install-exec-am install-exec \ |
||||
|
install-data-am install-data install-am install uninstall-am uninstall \ |
||||
|
all-redirect all-am all installdirs mostlyclean-generic \ |
||||
|
distclean-generic clean-generic maintainer-clean-generic clean \ |
||||
|
mostlyclean distclean maintainer-clean |
||||
|
|
||||
%.c : %.y |
|
||||
$(YACC) -p $(*:yacc=)yy $< |
|
||||
mv -f y.tab.c $*.c |
|
||||
mv -f y.tab.h $(*:yacc=)tok.h |
|
||||
|
|
||||
%.c : %.l |
%.c : %.l |
||||
$(LEX) -P$(*:lex=)yy $< > $@ |
|
||||
|
$(LEX) -P$(*:lex=)yy $< > $@ |
||||
|
|
||||
ifs_lex.c : ifs_lex.l |
ifs_lex.c : ifs_lex.l |
||||
$(LEX) -i -P$(*:lex=)yy $< > $@ |
|
||||
|
|
||||
install: |
|
||||
|
$(LEX) -i -P$(*:lex=)yy $< > $@ |
||||
|
|
||||
clean: |
|
||||
rm -f $(cmpp_OBJS) $(cmpp_GEN) cmpp |
|
||||
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
|
.NOEXPORT: |
||||
@ -0,0 +1,21 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
BUILT_SOURCES = ifs_lex.c ifs_yacc.c ifs_yacc.h mod_lex.c mod_yacc.c mod_yacc.h |
||||
|
|
||||
|
EXTRA_DIST= ifs_lex.l ifs_yacc.h mod_yacc.h |
||||
|
|
||||
|
AM_YFLAGS = -d |
||||
|
|
||||
|
LEX = @LEX@ -t |
||||
|
|
||||
|
bin_PROGRAMS = cmpp |
||||
|
|
||||
|
cmpp_SOURCES = cmpp.h main.c pp_ifs.c pp_lst.c pp_mod.c read_ifs.c util.c \
|
||||
|
writ_ifs.c ifs_yacc_y.h ifs_yacc.y ifs_lex.c mod_yacc_y.h mod_yacc.y\
|
||||
|
mod_lex.c |
||||
|
|
||||
|
%.c : %.l |
||||
|
$(LEX) -P$(*:lex=)yy $< > $@ |
||||
|
|
||||
|
ifs_lex.c : ifs_lex.l |
||||
|
$(LEX) -i -P$(*:lex=)yy $< > $@ |
||||
@ -1,51 +1,411 @@ |
|||||
|
# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
|
||||
|
|
||||
cmpp_OBJS = main.o pp_ifs.o pp_lst.o pp_mod.o \
|
|
||||
read_ifs.o util.o writ_ifs.o \
|
|
||||
ifs_yacc.o ifs_lex.o mod_yacc.o mod_lex.o |
|
||||
|
# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
|
||||
|
# This Makefile.in is free software; the Free Software Foundation
|
||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||
|
# with or without modifications, as long as this notice is preserved.
|
||||
|
|
||||
cmpp_GEN = ifs_yacc.c ifs_tok.h \
|
|
||||
ifs_lex.c ifs_lex.h \
|
|
||||
mod_lex.c mod_lex.h \
|
|
||||
mod_yacc.c mod_tok.h |
|
||||
|
# This program is distributed in the hope that it will be useful,
|
||||
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
|
# PARTICULAR PURPOSE.
|
||||
|
|
||||
YACC = @YACC@ -d |
|
||||
|
|
||||
CC = @CC@ @CFLAGS@ |
|
||||
|
SHELL = @SHELL@ |
||||
|
|
||||
|
srcdir = @srcdir@ |
||||
|
top_srcdir = @top_srcdir@ |
||||
|
VPATH = @srcdir@ |
||||
|
prefix = @prefix@ |
||||
|
exec_prefix = @exec_prefix@ |
||||
|
|
||||
|
bindir = @bindir@ |
||||
|
sbindir = @sbindir@ |
||||
|
libexecdir = @libexecdir@ |
||||
|
datadir = @datadir@ |
||||
|
sysconfdir = @sysconfdir@ |
||||
|
sharedstatedir = @sharedstatedir@ |
||||
|
localstatedir = @localstatedir@ |
||||
|
libdir = @libdir@ |
||||
|
infodir = @infodir@ |
||||
|
mandir = @mandir@ |
||||
|
includedir = @includedir@ |
||||
|
oldincludedir = /usr/include |
||||
|
|
||||
|
DESTDIR = |
||||
|
|
||||
|
pkgdatadir = $(datadir)/@PACKAGE@ |
||||
|
pkglibdir = $(libdir)/@PACKAGE@ |
||||
|
pkgincludedir = $(includedir)/@PACKAGE@ |
||||
|
|
||||
|
top_builddir = ../../.. |
||||
|
|
||||
|
ACLOCAL = @ACLOCAL@ |
||||
|
AUTOCONF = @AUTOCONF@ |
||||
|
AUTOMAKE = @AUTOMAKE@ |
||||
|
AUTOHEADER = @AUTOHEADER@ |
||||
|
|
||||
|
INSTALL = @INSTALL@ |
||||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) |
||||
|
INSTALL_DATA = @INSTALL_DATA@ |
||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
||||
|
transform = @program_transform_name@ |
||||
|
|
||||
|
NORMAL_INSTALL = : |
||||
|
PRE_INSTALL = : |
||||
|
POST_INSTALL = : |
||||
|
NORMAL_UNINSTALL = : |
||||
|
PRE_UNINSTALL = : |
||||
|
POST_UNINSTALL = : |
||||
|
host_alias = @host_alias@ |
||||
|
host_triplet = @host@ |
||||
|
AR = @AR@ |
||||
|
AS = @AS@ |
||||
|
CC = @CC@ |
||||
|
CIDERDIR = @CIDERDIR@ |
||||
|
CIDERMATH = @CIDERMATH@ |
||||
|
CIDERMATHDIR = @CIDERMATHDIR@ |
||||
|
CIDERSCRIPTS = @CIDERSCRIPTS@ |
||||
|
CIDERSIM = @CIDERSIM@ |
||||
|
CIDERTESTS = @CIDERTESTS@ |
||||
|
CXX = @CXX@ |
||||
|
CXXCPP = @CXXCPP@ |
||||
|
DLLTOOL = @DLLTOOL@ |
||||
|
ECHO = @ECHO@ |
||||
|
EGREP = @EGREP@ |
||||
|
EKVDIR = @EKVDIR@ |
||||
|
EKVLIB = @EKVLIB@ |
||||
|
EXEEXT = @EXEEXT@ |
||||
|
F77 = @F77@ |
||||
|
GCJ = @GCJ@ |
||||
|
GCJFLAGS = @GCJFLAGS@ |
||||
|
HAVE_LIB = @HAVE_LIB@ |
||||
|
LIB = @LIB@ |
||||
|
LIBTOOL = @LIBTOOL@ |
||||
|
LN_S = @LN_S@ |
||||
|
LTLIB = @LTLIB@ |
||||
|
MAINT = @MAINT@ |
||||
|
MAKEINFO = @MAKEINFO@ |
||||
|
NUMDEV = @NUMDEV@ |
||||
|
NUMDEVDIR = @NUMDEVDIR@ |
||||
|
NUMPARAMDIR = @NUMPARAMDIR@ |
||||
|
NUMPARAMLIB = @NUMPARAMLIB@ |
||||
|
OBJDUMP = @OBJDUMP@ |
||||
|
OBJEXT = @OBJEXT@ |
||||
|
PACKAGE = @PACKAGE@ |
||||
|
RANLIB = @RANLIB@ |
||||
|
RC = @RC@ |
||||
|
STRIP = @STRIP@ |
||||
|
VERSION = @VERSION@ |
||||
|
WINMAIN = @WINMAIN@ |
||||
|
XGRAPHDIR = @XGRAPHDIR@ |
||||
|
XSPICEDIR = @XSPICEDIR@ |
||||
|
XSPICELIB1 = @XSPICELIB1@ |
||||
|
XSPICELIB2 = @XSPICELIB2@ |
||||
|
YACC = @YACC@ |
||||
|
|
||||
|
BUILT_SOURCES = ifs_lex.c ifs_yacc.c ifs_yacc.h mod_lex.c mod_yacc.c mod_yacc.h |
||||
|
|
||||
|
EXTRA_DIST = ifs_lex.l ifs_yacc.h mod_yacc.h |
||||
|
|
||||
|
AM_YFLAGS = -d |
||||
|
|
||||
LEX = @LEX@ -t |
LEX = @LEX@ -t |
||||
|
|
||||
all: cmpp |
|
||||
|
bin_PROGRAMS = cmpp |
||||
|
|
||||
cmpp: $(cmpp_OBJS) |
|
||||
$(CC) -o cmpp $(cmpp_OBJS) |
|
||||
|
cmpp_SOURCES = cmpp.h main.c pp_ifs.c pp_lst.c pp_mod.c read_ifs.c util.c writ_ifs.c ifs_yacc_y.h ifs_yacc.y ifs_lex.c mod_yacc_y.h mod_yacc.y mod_lex.c |
||||
|
|
||||
%.c : %.y |
|
||||
$(YACC) -p $(*:yacc=)yy $< |
|
||||
mv -f y.tab.c $*.c |
|
||||
mv -f y.tab.h $(*:yacc=)tok.h |
|
||||
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
||||
|
CONFIG_HEADER = ../../../config.h |
||||
|
CONFIG_CLEAN_FILES = |
||||
|
bin_PROGRAMS = cmpp$(EXEEXT) |
||||
|
PROGRAMS = $(bin_PROGRAMS) |
||||
|
|
||||
%.c : %.l |
|
||||
$(LEX) -P$(*:lex=)yy $< > $@ |
|
||||
|
|
||||
ifs_lex.c : ifs_lex.l |
|
||||
$(LEX) -i -P$(*:lex=)yy $< > $@ |
|
||||
|
DEFS = @DEFS@ -I. -I$(srcdir) -I../../.. |
||||
|
CPPFLAGS = @CPPFLAGS@ |
||||
|
LDFLAGS = @LDFLAGS@ |
||||
|
LIBS = @LIBS@ |
||||
|
X_CFLAGS = @X_CFLAGS@ |
||||
|
X_LIBS = @X_LIBS@ |
||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@ |
||||
|
X_PRE_LIBS = @X_PRE_LIBS@ |
||||
|
cmpp_OBJECTS = main.$(OBJEXT) pp_ifs.$(OBJEXT) pp_lst.$(OBJEXT) \
|
||||
|
pp_mod.$(OBJEXT) read_ifs.$(OBJEXT) util.$(OBJEXT) writ_ifs.$(OBJEXT) \ |
||||
|
ifs_yacc.$(OBJEXT) ifs_lex.$(OBJEXT) mod_yacc.$(OBJEXT) \ |
||||
|
mod_lex.$(OBJEXT) |
||||
|
cmpp_LDADD = $(LDADD) |
||||
|
cmpp_DEPENDENCIES = |
||||
|
cmpp_LDFLAGS = |
||||
|
YLWRAP = $(srcdir)/ylwrap |
||||
|
CFLAGS = @CFLAGS@ |
||||
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
||||
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
||||
|
CCLD = $(CC) |
||||
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ |
||||
|
DIST_COMMON = Makefile.am Makefile.in ifs_yacc.c mod_yacc.c ylwrap |
||||
|
|
||||
|
|
||||
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
||||
|
|
||||
|
TAR = tar |
||||
|
GZIP_ENV = --best |
||||
|
DEP_FILES = .deps/ifs_lex.P .deps/ifs_yacc.P .deps/main.P \
|
||||
|
.deps/mod_lex.P .deps/mod_yacc.P .deps/pp_ifs.P .deps/pp_lst.P \ |
||||
|
.deps/pp_mod.P .deps/read_ifs.P .deps/util.P .deps/writ_ifs.P |
||||
|
SOURCES = $(cmpp_SOURCES) |
||||
|
OBJECTS = $(cmpp_OBJECTS) |
||||
|
|
||||
|
all: all-redirect |
||||
|
.SUFFIXES: |
||||
|
.SUFFIXES: .S .c .lo .o .obj .s .y |
||||
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
||||
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu src/xspice/cmpp/Makefile |
||||
|
|
||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) |
||||
|
cd $(top_builddir) \
|
||||
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
||||
|
|
||||
|
|
||||
|
mostlyclean-binPROGRAMS: |
||||
|
|
||||
|
clean-binPROGRAMS: |
||||
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
||||
|
|
||||
|
distclean-binPROGRAMS: |
||||
|
|
||||
|
maintainer-clean-binPROGRAMS: |
||||
|
|
||||
|
install-binPROGRAMS: $(bin_PROGRAMS) |
||||
|
@$(NORMAL_INSTALL) |
||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir) |
||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
|
if test -f $$p; then \
|
||||
|
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
|
||||
|
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
||||
|
else :; fi; \
|
||||
|
done |
||||
|
|
||||
|
uninstall-binPROGRAMS: |
||||
|
@$(NORMAL_UNINSTALL) |
||||
|
list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
|
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
||||
|
done |
||||
|
|
||||
|
# FIXME: We should only use cygpath when building on Windows,
|
||||
|
# and only if it is available.
|
||||
|
.c.obj: |
||||
|
$(COMPILE) -c `cygpath -w $<` |
||||
|
|
||||
|
.s.o: |
||||
|
$(COMPILE) -c $< |
||||
|
|
||||
|
.S.o: |
||||
|
$(COMPILE) -c $< |
||||
|
|
||||
|
mostlyclean-compile: |
||||
|
-rm -f *.o core *.core |
||||
|
-rm -f *.$(OBJEXT) |
||||
|
|
||||
|
clean-compile: |
||||
|
|
||||
|
distclean-compile: |
||||
|
-rm -f *.tab.c |
||||
|
|
||||
|
maintainer-clean-compile: |
||||
|
|
||||
|
.s.lo: |
||||
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $< |
||||
|
|
||||
|
.S.lo: |
||||
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $< |
||||
|
|
||||
|
mostlyclean-libtool: |
||||
|
-rm -f *.lo |
||||
|
|
||||
|
clean-libtool: |
||||
|
-rm -rf .libs _libs |
||||
|
|
||||
|
distclean-libtool: |
||||
|
|
||||
install: |
|
||||
|
maintainer-clean-libtool: |
||||
|
|
||||
clean: |
|
||||
rm -f $(cmpp_OBJS) $(cmpp_GEN) cmpp |
|
||||
|
cmpp$(EXEEXT): $(cmpp_OBJECTS) $(cmpp_DEPENDENCIES) |
||||
|
@rm -f cmpp$(EXEEXT) |
||||
|
$(LINK) $(cmpp_LDFLAGS) $(cmpp_OBJECTS) $(cmpp_LDADD) $(LIBS) |
||||
|
.y.c: |
||||
|
$(SHELL) $(YLWRAP) "$(YACC)" $< y.tab.c $*.c y.tab.h $*.h -- $(AM_YFLAGS) $(YFLAGS) |
||||
|
ifs_yacc.h: ifs_yacc.c |
||||
|
mod_yacc.h: mod_yacc.c |
||||
|
|
||||
# Hack by SDB to enable "make mrproper" from top level.
|
|
||||
# Since there is no Makefile.am for this directory, we need to
|
|
||||
# incorporate this stuff by hand.
|
|
||||
MAINTAINERCLEANFILES = Makefile |
|
||||
|
|
||||
maintainer-clean: maintainer-clean-generic |
|
||||
rm -f `find . -type f -name "*~" -print` |
|
||||
rm -f `find . -type f -name "*.orig" -print` |
|
||||
rm -f `find . -type f -name "*.rej" -print` |
|
||||
rm -fR `find . -type d -name ".deps" -print` |
|
||||
|
tags: TAGS |
||||
|
|
||||
maintainer-clean-generic: clean |
|
||||
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) |
|
||||
|
ID: $(HEADERS) $(SOURCES) $(LISP) |
||||
|
list='$(SOURCES) $(HEADERS)'; \
|
||||
|
unique=`for i in $$list; do echo $$i; done | \
|
||||
|
awk ' { files[$$0] = 1; } \
|
||||
|
END { for (i in files) print i; }'`; \
|
||||
|
here=`pwd` && cd $(srcdir) \
|
||||
|
&& mkid -f$$here/ID $$unique $(LISP) |
||||
|
|
||||
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) |
||||
|
tags=; \
|
||||
|
here=`pwd`; \
|
||||
|
list='$(SOURCES) $(HEADERS)'; \
|
||||
|
unique=`for i in $$list; do echo $$i; done | \
|
||||
|
awk ' { files[$$0] = 1; } \
|
||||
|
END { for (i in files) print i; }'`; \
|
||||
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
||||
|
|| (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) |
||||
|
|
||||
|
mostlyclean-tags: |
||||
|
|
||||
|
clean-tags: |
||||
|
|
||||
|
distclean-tags: |
||||
|
-rm -f TAGS ID |
||||
|
|
||||
|
maintainer-clean-tags: |
||||
|
|
||||
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) |
||||
|
|
||||
|
subdir = src/xspice/cmpp |
||||
|
|
||||
|
distdir: $(DISTFILES) |
||||
|
here=`cd $(top_builddir) && pwd`; \
|
||||
|
top_distdir=`cd $(top_distdir) && pwd`; \
|
||||
|
distdir=`cd $(distdir) && pwd`; \
|
||||
|
cd $(top_srcdir) \
|
||||
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/xspice/cmpp/Makefile |
||||
|
@for file in $(DISTFILES); do \
|
||||
|
d=$(srcdir); \
|
||||
|
if test -d $$d/$$file; then \
|
||||
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
|
else \
|
||||
|
test -f $(distdir)/$$file \
|
||||
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||
|
fi; \
|
||||
|
done |
||||
|
|
||||
|
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) |
||||
|
|
||||
|
-include $(DEP_FILES) |
||||
|
|
||||
|
mostlyclean-depend: |
||||
|
|
||||
|
clean-depend: |
||||
|
|
||||
|
distclean-depend: |
||||
|
-rm -rf .deps |
||||
|
|
||||
|
maintainer-clean-depend: |
||||
|
|
||||
|
%.o: %.c |
||||
|
@echo '$(COMPILE) -c $<'; \
|
||||
|
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
||||
|
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
||||
|
tr ' ' '\012' < .deps/$(*F).pp \
|
||||
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
||||
|
>> .deps/$(*F).P; \
|
||||
|
rm .deps/$(*F).pp |
||||
|
|
||||
|
%.lo: %.c |
||||
|
@echo '$(LTCOMPILE) -c $<'; \
|
||||
|
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
||||
|
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
||||
|
< .deps/$(*F).pp > .deps/$(*F).P; \
|
||||
|
tr ' ' '\012' < .deps/$(*F).pp \
|
||||
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
||||
|
>> .deps/$(*F).P; \
|
||||
|
rm -f .deps/$(*F).pp |
||||
|
info-am: |
||||
|
info: info-am |
||||
|
dvi-am: |
||||
|
dvi: dvi-am |
||||
|
check-am: all-am |
||||
|
check: check-am |
||||
|
installcheck-am: |
||||
|
installcheck: installcheck-am |
||||
|
install-exec-am: install-binPROGRAMS |
||||
|
install-exec: install-exec-am |
||||
|
|
||||
|
install-data-am: |
||||
|
install-data: install-data-am |
||||
|
|
||||
|
install-am: all-am |
||||
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
||||
|
install: install-am |
||||
|
uninstall-am: uninstall-binPROGRAMS |
||||
|
uninstall: uninstall-am |
||||
|
all-am: Makefile $(PROGRAMS) |
||||
|
all-redirect: all-am |
||||
|
install-strip: |
||||
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install |
||||
|
installdirs: |
||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir) |
||||
|
|
||||
|
|
||||
|
mostlyclean-generic: |
||||
|
|
||||
|
clean-generic: |
||||
|
|
||||
|
distclean-generic: |
||||
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) |
||||
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]* |
||||
|
|
||||
|
maintainer-clean-generic: |
||||
|
-test -z "ifs_yacchifs_yacccmod_yacchmod_yaccc$(BUILT_SOURCES)" || rm -f ifs_yacch ifs_yaccc mod_yacch mod_yaccc $(BUILT_SOURCES) |
||||
|
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ |
||||
|
mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
|
||||
|
mostlyclean-generic |
||||
|
|
||||
|
mostlyclean: mostlyclean-am |
||||
|
|
||||
|
clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \ |
||||
|
clean-depend clean-generic mostlyclean-am |
||||
|
|
||||
|
clean: clean-am |
||||
|
|
||||
|
distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \ |
||||
|
distclean-tags distclean-depend distclean-generic \
|
||||
|
clean-am |
||||
|
-rm -f libtool |
||||
|
|
||||
|
distclean: distclean-am |
||||
|
|
||||
|
maintainer-clean-am: maintainer-clean-binPROGRAMS \ |
||||
|
maintainer-clean-compile maintainer-clean-libtool \
|
||||
|
maintainer-clean-tags maintainer-clean-depend \
|
||||
|
maintainer-clean-generic distclean-am |
||||
|
@echo "This command is intended for maintainers to use;" |
||||
|
@echo "it deletes files that may require special tools to rebuild." |
||||
|
|
||||
|
maintainer-clean: maintainer-clean-am |
||||
|
|
||||
|
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ |
||||
|
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ |
||||
|
mostlyclean-compile distclean-compile clean-compile \ |
||||
|
maintainer-clean-compile mostlyclean-libtool distclean-libtool \ |
||||
|
clean-libtool maintainer-clean-libtool tags mostlyclean-tags \ |
||||
|
distclean-tags clean-tags maintainer-clean-tags distdir \ |
||||
|
mostlyclean-depend distclean-depend clean-depend \ |
||||
|
maintainer-clean-depend info-am info dvi-am dvi check check-am \ |
||||
|
installcheck-am installcheck install-exec-am install-exec \ |
||||
|
install-data-am install-data install-am install uninstall-am uninstall \ |
||||
|
all-redirect all-am all installdirs mostlyclean-generic \ |
||||
|
distclean-generic clean-generic maintainer-clean-generic clean \ |
||||
|
mostlyclean distclean maintainer-clean |
||||
|
|
||||
|
|
||||
|
%.c : %.l |
||||
|
$(LEX) -P$(*:lex=)yy $< > $@ |
||||
|
|
||||
|
ifs_lex.c : ifs_lex.l |
||||
|
$(LEX) -i -P$(*:lex=)yy $< > $@ |
||||
|
|
||||
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
|
.NOEXPORT: |
||||
@ -1,81 +1,164 @@ |
|||||
/* $Id$ */ |
|
||||
|
/* A Bison parser, made by GNU Bison 1.875a. */ |
||||
|
|
||||
|
/* Skeleton parser for Yacc-like parsing with Bison, |
||||
|
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. |
||||
|
|
||||
|
This program is free software; you can redistribute it and/or modify |
||||
|
it under the terms of the GNU General Public License as published by |
||||
|
the Free Software Foundation; either version 2, or (at your option) |
||||
|
any later version. |
||||
|
|
||||
|
This program is distributed in the hope that it will be useful, |
||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
GNU General Public License for more details. |
||||
|
|
||||
|
You should have received a copy of the GNU General Public License |
||||
|
along with this program; if not, write to the Free Software |
||||
|
Foundation, Inc., 59 Temple Place - Suite 330, |
||||
|
Boston, MA 02111-1307, USA. */ |
||||
|
|
||||
|
/* As a special exception, when this file is copied by Bison into a |
||||
|
Bison output file, you may use that output file without restriction. |
||||
|
This special exception was added by the Free Software Foundation |
||||
|
in version 1.24 of Bison. */ |
||||
|
|
||||
|
/* Tokens. */ |
||||
|
#ifndef YYTOKENTYPE |
||||
|
# define YYTOKENTYPE |
||||
|
/* Put the tokens into the symbol table, so that GDB and other debuggers |
||||
|
know about them. */ |
||||
|
enum yytokentype { |
||||
|
TOK_ALLOWED_TYPES = 258, |
||||
|
TOK_ARRAY = 259, |
||||
|
TOK_ARRAY_BOUNDS = 260, |
||||
|
TOK_BOOL_NO = 261, |
||||
|
TOK_BOOL_YES = 262, |
||||
|
TOK_COMMA = 263, |
||||
|
TOK_PORT_NAME = 264, |
||||
|
TOK_PORT_TABLE = 265, |
||||
|
TOK_CTYPE_D = 266, |
||||
|
TOK_CTYPE_G = 267, |
||||
|
TOK_CTYPE_GD = 268, |
||||
|
TOK_CTYPE_H = 269, |
||||
|
TOK_CTYPE_HD = 270, |
||||
|
TOK_CTYPE_I = 271, |
||||
|
TOK_CTYPE_ID = 272, |
||||
|
TOK_CTYPE_V = 273, |
||||
|
TOK_CTYPE_VD = 274, |
||||
|
TOK_CTYPE_VNAM = 275, |
||||
|
TOK_C_FUNCTION_NAME = 276, |
||||
|
TOK_DASH = 277, |
||||
|
TOK_DATA_TYPE = 278, |
||||
|
TOK_DEFAULT_TYPE = 279, |
||||
|
TOK_DEFAULT_VALUE = 280, |
||||
|
TOK_DESCRIPTION = 281, |
||||
|
TOK_DIRECTION = 282, |
||||
|
TOK_DIR_IN = 283, |
||||
|
TOK_DIR_INOUT = 284, |
||||
|
TOK_DIR_OUT = 285, |
||||
|
TOK_DTYPE_BOOLEAN = 286, |
||||
|
TOK_DTYPE_COMPLEX = 287, |
||||
|
TOK_DTYPE_INT = 288, |
||||
|
TOK_DTYPE_POINTER = 289, |
||||
|
TOK_DTYPE_REAL = 290, |
||||
|
TOK_DTYPE_STRING = 291, |
||||
|
TOK_IDENTIFIER = 292, |
||||
|
TOK_STATIC_VAR_NAME = 293, |
||||
|
TOK_STATIC_VAR_TABLE = 294, |
||||
|
TOK_INT_LITERAL = 295, |
||||
|
TOK_LANGLE = 296, |
||||
|
TOK_LBRACKET = 297, |
||||
|
TOK_LIMITS = 298, |
||||
|
TOK_NAME_TABLE = 299, |
||||
|
TOK_NULL_ALLOWED = 300, |
||||
|
TOK_PARAMETER_NAME = 301, |
||||
|
TOK_PARAMETER_TABLE = 302, |
||||
|
TOK_RANGLE = 303, |
||||
|
TOK_RBRACKET = 304, |
||||
|
TOK_REAL_LITERAL = 305, |
||||
|
TOK_SPICE_MODEL_NAME = 306, |
||||
|
TOK_STRING_LITERAL = 307 |
||||
|
}; |
||||
|
#endif |
||||
|
#define TOK_ALLOWED_TYPES 258 |
||||
|
#define TOK_ARRAY 259 |
||||
|
#define TOK_ARRAY_BOUNDS 260 |
||||
|
#define TOK_BOOL_NO 261 |
||||
|
#define TOK_BOOL_YES 262 |
||||
|
#define TOK_COMMA 263 |
||||
|
#define TOK_PORT_NAME 264 |
||||
|
#define TOK_PORT_TABLE 265 |
||||
|
#define TOK_CTYPE_D 266 |
||||
|
#define TOK_CTYPE_G 267 |
||||
|
#define TOK_CTYPE_GD 268 |
||||
|
#define TOK_CTYPE_H 269 |
||||
|
#define TOK_CTYPE_HD 270 |
||||
|
#define TOK_CTYPE_I 271 |
||||
|
#define TOK_CTYPE_ID 272 |
||||
|
#define TOK_CTYPE_V 273 |
||||
|
#define TOK_CTYPE_VD 274 |
||||
|
#define TOK_CTYPE_VNAM 275 |
||||
|
#define TOK_C_FUNCTION_NAME 276 |
||||
|
#define TOK_DASH 277 |
||||
|
#define TOK_DATA_TYPE 278 |
||||
|
#define TOK_DEFAULT_TYPE 279 |
||||
|
#define TOK_DEFAULT_VALUE 280 |
||||
|
#define TOK_DESCRIPTION 281 |
||||
|
#define TOK_DIRECTION 282 |
||||
|
#define TOK_DIR_IN 283 |
||||
|
#define TOK_DIR_INOUT 284 |
||||
|
#define TOK_DIR_OUT 285 |
||||
|
#define TOK_DTYPE_BOOLEAN 286 |
||||
|
#define TOK_DTYPE_COMPLEX 287 |
||||
|
#define TOK_DTYPE_INT 288 |
||||
|
#define TOK_DTYPE_POINTER 289 |
||||
|
#define TOK_DTYPE_REAL 290 |
||||
|
#define TOK_DTYPE_STRING 291 |
||||
|
#define TOK_IDENTIFIER 292 |
||||
|
#define TOK_STATIC_VAR_NAME 293 |
||||
|
#define TOK_STATIC_VAR_TABLE 294 |
||||
|
#define TOK_INT_LITERAL 295 |
||||
|
#define TOK_LANGLE 296 |
||||
|
#define TOK_LBRACKET 297 |
||||
|
#define TOK_LIMITS 298 |
||||
|
#define TOK_NAME_TABLE 299 |
||||
|
#define TOK_NULL_ALLOWED 300 |
||||
|
#define TOK_PARAMETER_NAME 301 |
||||
|
#define TOK_PARAMETER_TABLE 302 |
||||
|
#define TOK_RANGLE 303 |
||||
|
#define TOK_RBRACKET 304 |
||||
|
#define TOK_REAL_LITERAL 305 |
||||
|
#define TOK_SPICE_MODEL_NAME 306 |
||||
|
#define TOK_STRING_LITERAL 307 |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) |
||||
|
#line 487 "ifs_yacc.y" |
||||
|
typedef union YYSTYPE { |
||||
|
Ctype_List_t *ctype_list; |
||||
|
Dir_t dir; |
||||
|
Boolean_t bool; |
||||
|
Range_t range; |
||||
|
Data_Type_t dtype; |
||||
|
My_Port_Type_t ctype; |
||||
|
My_Value_t value; |
||||
|
char *str; |
||||
|
Bound_t bound; |
||||
|
int ival; |
||||
|
double rval; |
||||
|
Complex_t cval; |
||||
|
} YYSTYPE; |
||||
|
/* Line 1240 of yacc.c. */ |
||||
|
#line 156 "y.tab.h" |
||||
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
||||
|
# define YYSTYPE_IS_DECLARED 1 |
||||
|
# define YYSTYPE_IS_TRIVIAL 1 |
||||
|
#endif |
||||
|
|
||||
|
extern YYSTYPE yylval; |
||||
|
|
||||
/*============================================================================ |
|
||||
FILE ifs_yacc.h |
|
||||
|
|
||||
MEMBER OF process cmpp |
|
||||
|
|
||||
Copyright 1991 |
|
||||
Georgia Tech Research Corporation |
|
||||
Atlanta, Georgia 30332 |
|
||||
All Rights Reserved |
|
||||
|
|
||||
PROJECT A-8503 |
|
||||
|
|
||||
AUTHORS |
|
||||
|
|
||||
9/12/91 Steve Tynor |
|
||||
|
|
||||
MODIFICATIONS |
|
||||
|
|
||||
<date> <person name> <nature of modifications> |
|
||||
|
|
||||
SUMMARY |
|
||||
|
|
||||
Typedefs needed by the YYSTYPE union (%union operator) in the yacc |
|
||||
file. These are only used in the yacc file, but must be defined here since |
|
||||
the generated token.h file includes a definition of the union YYSTYPE. |
|
||||
|
|
||||
INTERFACES |
|
||||
|
|
||||
None. |
|
||||
|
|
||||
REFERENCED FILES |
|
||||
|
|
||||
None. |
|
||||
|
|
||||
NON-STANDARD FEATURES |
|
||||
|
|
||||
None. |
|
||||
|
|
||||
============================================================================*/ |
|
||||
|
|
||||
#include "cmpp.h" |
|
||||
|
|
||||
typedef struct { |
|
||||
Boolean_t has_value; |
|
||||
Data_Type_t kind; |
|
||||
union { |
|
||||
Boolean_t bvalue; |
|
||||
int ivalue; |
|
||||
double rvalue; |
|
||||
Complex_t cvalue; |
|
||||
char *svalue; |
|
||||
} u; |
|
||||
} My_Value_t; |
|
||||
|
|
||||
typedef struct { |
|
||||
Boolean_t has_bound; |
|
||||
My_Value_t bound; |
|
||||
} Bound_t; |
|
||||
|
|
||||
typedef struct { |
|
||||
Boolean_t is_named; |
|
||||
union { |
|
||||
char *name; |
|
||||
struct { |
|
||||
Bound_t upper; |
|
||||
Bound_t lower; |
|
||||
} bounds; |
|
||||
} u; |
|
||||
} Range_t; |
|
||||
|
|
||||
typedef struct { |
|
||||
Port_Type_t kind; |
|
||||
char *id; /* undefined unless kind == USER_DEFINED */ |
|
||||
} My_Port_Type_t; |
|
||||
|
|
||||
typedef struct ctype_list_s { |
|
||||
My_Port_Type_t ctype; |
|
||||
struct ctype_list_s *next; |
|
||||
} Ctype_List_t; |
|
||||
@ -1,49 +1,132 @@ |
|||||
/* $Id$ */ |
|
||||
|
/* A Bison parser, made by GNU Bison 1.875a. */ |
||||
|
|
||||
|
/* Skeleton parser for Yacc-like parsing with Bison, |
||||
|
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. |
||||
|
|
||||
|
This program is free software; you can redistribute it and/or modify |
||||
|
it under the terms of the GNU General Public License as published by |
||||
|
the Free Software Foundation; either version 2, or (at your option) |
||||
|
any later version. |
||||
|
|
||||
|
This program is distributed in the hope that it will be useful, |
||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
GNU General Public License for more details. |
||||
|
|
||||
|
You should have received a copy of the GNU General Public License |
||||
|
along with this program; if not, write to the Free Software |
||||
|
Foundation, Inc., 59 Temple Place - Suite 330, |
||||
|
Boston, MA 02111-1307, USA. */ |
||||
|
|
||||
|
/* As a special exception, when this file is copied by Bison into a |
||||
|
Bison output file, you may use that output file without restriction. |
||||
|
This special exception was added by the Free Software Foundation |
||||
|
in version 1.24 of Bison. */ |
||||
|
|
||||
|
/* Tokens. */ |
||||
|
#ifndef YYTOKENTYPE |
||||
|
# define YYTOKENTYPE |
||||
|
/* Put the tokens into the symbol table, so that GDB and other debuggers |
||||
|
know about them. */ |
||||
|
enum yytokentype { |
||||
|
TOK_ARGS = 258, |
||||
|
TOK_INIT = 259, |
||||
|
TOK_ANALYSIS = 260, |
||||
|
TOK_NEW_TIMEPOINT = 261, |
||||
|
TOK_TIME = 262, |
||||
|
TOK_RAD_FREQ = 263, |
||||
|
TOK_TEMPERATURE = 264, |
||||
|
TOK_T = 265, |
||||
|
TOK_PARAM = 266, |
||||
|
TOK_PARAM_SIZE = 267, |
||||
|
TOK_PARAM_NULL = 268, |
||||
|
TOK_PORT_SIZE = 269, |
||||
|
TOK_PORT_NULL = 270, |
||||
|
TOK_PARTIAL = 271, |
||||
|
TOK_AC_GAIN = 272, |
||||
|
TOK_CHANGED = 273, |
||||
|
TOK_OUTPUT_DELAY = 274, |
||||
|
TOK_STATIC_VAR = 275, |
||||
|
TOK_STATIC_VAR_SIZE = 276, |
||||
|
TOK_INPUT = 277, |
||||
|
TOK_INPUT_STRENGTH = 278, |
||||
|
TOK_INPUT_STATE = 279, |
||||
|
TOK_INPUT_TYPE = 280, |
||||
|
TOK_OUTPUT = 281, |
||||
|
TOK_OUTPUT_CHANGED = 282, |
||||
|
TOK_OUTPUT_STRENGTH = 283, |
||||
|
TOK_OUTPUT_STATE = 284, |
||||
|
TOK_OUTPUT_TYPE = 285, |
||||
|
TOK_COMMA = 286, |
||||
|
TOK_LPAREN = 287, |
||||
|
TOK_RPAREN = 288, |
||||
|
TOK_LBRACKET = 289, |
||||
|
TOK_RBRACKET = 290, |
||||
|
TOK_MISC_C = 291, |
||||
|
TOK_IDENTIFIER = 292, |
||||
|
TOK_LOAD = 293, |
||||
|
TOK_TOTAL_LOAD = 294, |
||||
|
TOK_MESSAGE = 295, |
||||
|
TOK_CALL_TYPE = 296 |
||||
|
}; |
||||
|
#endif |
||||
|
#define TOK_ARGS 258 |
||||
|
#define TOK_INIT 259 |
||||
|
#define TOK_ANALYSIS 260 |
||||
|
#define TOK_NEW_TIMEPOINT 261 |
||||
|
#define TOK_TIME 262 |
||||
|
#define TOK_RAD_FREQ 263 |
||||
|
#define TOK_TEMPERATURE 264 |
||||
|
#define TOK_T 265 |
||||
|
#define TOK_PARAM 266 |
||||
|
#define TOK_PARAM_SIZE 267 |
||||
|
#define TOK_PARAM_NULL 268 |
||||
|
#define TOK_PORT_SIZE 269 |
||||
|
#define TOK_PORT_NULL 270 |
||||
|
#define TOK_PARTIAL 271 |
||||
|
#define TOK_AC_GAIN 272 |
||||
|
#define TOK_CHANGED 273 |
||||
|
#define TOK_OUTPUT_DELAY 274 |
||||
|
#define TOK_STATIC_VAR 275 |
||||
|
#define TOK_STATIC_VAR_SIZE 276 |
||||
|
#define TOK_INPUT 277 |
||||
|
#define TOK_INPUT_STRENGTH 278 |
||||
|
#define TOK_INPUT_STATE 279 |
||||
|
#define TOK_INPUT_TYPE 280 |
||||
|
#define TOK_OUTPUT 281 |
||||
|
#define TOK_OUTPUT_CHANGED 282 |
||||
|
#define TOK_OUTPUT_STRENGTH 283 |
||||
|
#define TOK_OUTPUT_STATE 284 |
||||
|
#define TOK_OUTPUT_TYPE 285 |
||||
|
#define TOK_COMMA 286 |
||||
|
#define TOK_LPAREN 287 |
||||
|
#define TOK_RPAREN 288 |
||||
|
#define TOK_LBRACKET 289 |
||||
|
#define TOK_RBRACKET 290 |
||||
|
#define TOK_MISC_C 291 |
||||
|
#define TOK_IDENTIFIER 292 |
||||
|
#define TOK_LOAD 293 |
||||
|
#define TOK_TOTAL_LOAD 294 |
||||
|
#define TOK_MESSAGE 295 |
||||
|
#define TOK_CALL_TYPE 296 |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) |
||||
|
#line 324 "mod_yacc.y" |
||||
|
typedef union YYSTYPE { |
||||
|
char *str; |
||||
|
Sub_Id_t sub_id; |
||||
|
} YYSTYPE; |
||||
|
/* Line 1240 of yacc.c. */ |
||||
|
#line 124 "y.tab.h" |
||||
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
||||
|
# define YYSTYPE_IS_DECLARED 1 |
||||
|
# define YYSTYPE_IS_TRIVIAL 1 |
||||
|
#endif |
||||
|
|
||||
|
extern YYSTYPE yylval; |
||||
|
|
||||
/*============================================================================ |
|
||||
FILE mod_yacc.h |
|
||||
|
|
||||
MEMBER OF process cmpp |
|
||||
|
|
||||
Copyright 1991 |
|
||||
Georgia Tech Research Corporation |
|
||||
Atlanta, Georgia 30332 |
|
||||
All Rights Reserved |
|
||||
|
|
||||
PROJECT A-8503 |
|
||||
|
|
||||
AUTHORS |
|
||||
|
|
||||
9/12/91 Steve Tynor |
|
||||
|
|
||||
MODIFICATIONS |
|
||||
|
|
||||
<date> <person name> <nature of modifications> |
|
||||
|
|
||||
SUMMARY |
|
||||
|
|
||||
Typedefs needed by the YYSTYPE union (%union operator) in the yacc |
|
||||
file. These are only used in the yacc file, but must be defined here since |
|
||||
the generated token.h file includes a definition of the union YYSTYPE. |
|
||||
|
|
||||
INTERFACES |
|
||||
|
|
||||
None. |
|
||||
|
|
||||
REFERENCED FILES |
|
||||
|
|
||||
None. |
|
||||
|
|
||||
NON-STANDARD FEATURES |
|
||||
|
|
||||
None. |
|
||||
|
|
||||
============================================================================*/ |
|
||||
|
|
||||
#include "cmpp.h" |
|
||||
|
|
||||
typedef struct { |
|
||||
char *id; |
|
||||
Boolean_t has_subscript; |
|
||||
char *subscript; |
|
||||
} Sub_Id_t; |
|
||||
@ -0,0 +1,5 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
SUBDIRS = ac_sim dc_sim tran_sim |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1,14 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
TESTS = \
|
||||
|
gain-stage.sp \
|
||||
|
op-amp.sp |
||||
|
|
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.sp=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1,29 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
TESTS = \
|
||||
|
test1.v3 \
|
||||
|
test2.v3 \
|
||||
|
test3.v3 \
|
||||
|
test4.v3 \
|
||||
|
test5.v3 \
|
||||
|
test6.v3 \
|
||||
|
test7.v3 \
|
||||
|
test8.v3 \
|
||||
|
test9.v3 \
|
||||
|
test10.v3 \
|
||||
|
test11.v3 \
|
||||
|
test12.v3 \
|
||||
|
test13.v3 \
|
||||
|
test14.v3 |
||||
|
|
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
model.card \
|
||||
|
modelcard.nmos \
|
||||
|
modelcard.pmos \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.v3=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1,12 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
TESTS = comparator.sp |
||||
|
|
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.sp=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1,5 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
SUBDIRS = ac_sim dc_sim tran_sim |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1,12 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
TESTS = gain-stage.sp |
||||
|
|
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.sp=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1,29 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
TESTS = \
|
||||
|
test1.v31 \
|
||||
|
test2.v31 \
|
||||
|
test3.v31 \
|
||||
|
test4.v31 \
|
||||
|
test5.v31 \
|
||||
|
test6.v31 \
|
||||
|
test7.v31 \
|
||||
|
test8.v31 \
|
||||
|
test9.v31 \
|
||||
|
test10.v31 \
|
||||
|
test11.v31 \
|
||||
|
test12.v31 \
|
||||
|
test13.v31 \
|
||||
|
test14.v31 |
||||
|
|
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
model.card \
|
||||
|
modelcard.nmos \
|
||||
|
modelcard.pmos \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.v31=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1 @@ |
|||||
|
to do |
||||
@ -0,0 +1,13 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
TESTS = comparator.sp \
|
||||
|
one-shot.sp |
||||
|
|
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.sp=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1,5 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
SUBDIRS = ac_sim dc_sim tran_sim |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1,13 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
TESTS = gain-stage.sp \
|
||||
|
op-amp.sp |
||||
|
|
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.sp=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1,29 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
TESTS = \
|
||||
|
test1.v3 \
|
||||
|
test2.v3 \
|
||||
|
test3.v3 \
|
||||
|
test4.v3 \
|
||||
|
test5.v3 \
|
||||
|
test6.v3 \
|
||||
|
test7.v3 \
|
||||
|
test8.v3 \
|
||||
|
test9.v3 \
|
||||
|
test10.v3 \
|
||||
|
test11.v3 \
|
||||
|
test12.v3 \
|
||||
|
test13.v3 \
|
||||
|
test14.v3 |
||||
|
|
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
model.card \
|
||||
|
modelcard.nmos \
|
||||
|
modelcard.pmos \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.v3=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1,13 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
TESTS = comparator.sp \
|
||||
|
one-shot.sp |
||||
|
|
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.sp=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1,5 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
SUBDIRS = 3v0 3v1 3v2 |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1,5 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
SUBDIRS = Berkeley |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1,5 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
SUBDIRS = bicmos bjt diode jfet mos parallel resistor serial |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1,13 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
|
||||
|
TESTS = bicmpd.cir |
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
bicmos.lib \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.cir=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1,20 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
|
||||
|
TESTS = astable.cir \
|
||||
|
colposc.cir \
|
||||
|
ecp.cir \
|
||||
|
invchain.cir \
|
||||
|
meclgate.cir \
|
||||
|
pz.cir \
|
||||
|
rtlinv.cir \
|
||||
|
vco.cir |
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
pebjt.lib \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.cir=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1,14 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
|
||||
|
TESTS = diode.cir \
|
||||
|
diotran.cir \
|
||||
|
pindiode.cir |
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.cir=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1,12 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
|
||||
|
TESTS = jfet.cir |
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.cir=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1,17 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
|
||||
|
TESTS = bootinv.cir \
|
||||
|
charge.cir \
|
||||
|
cmosinv.cir \
|
||||
|
nmosinv.cir \
|
||||
|
pass.cir \
|
||||
|
ringosc.cir |
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.cir=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1,21 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
BICMOS.LIB \
|
||||
|
bicmpd.cir \
|
||||
|
bicmpu.cir \
|
||||
|
clkfeed.cir \
|
||||
|
cmosamp.cir \
|
||||
|
eclinv.cir \
|
||||
|
ecpal.cir \
|
||||
|
foobar \
|
||||
|
gmamp.cir \
|
||||
|
latch.cir \
|
||||
|
ppef.1d.cir \
|
||||
|
ppef.2d.cir \
|
||||
|
readme \
|
||||
|
ringosc.1u.cir \
|
||||
|
ringosc.2u.cir |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1,13 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
|
||||
|
TESTS = gaasres.cir \
|
||||
|
sires.cir |
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.cir=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1,24 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
|
||||
|
TESTS = astable.cir \
|
||||
|
charge.cir \
|
||||
|
colposc.cir \
|
||||
|
dbridge.cir \
|
||||
|
invchain.cir \
|
||||
|
meclgate.cir \
|
||||
|
nmosinv.cir \
|
||||
|
pass.cir \
|
||||
|
pullup.cir \
|
||||
|
recovery.cir \
|
||||
|
rtlinv.cir \
|
||||
|
vco.cir |
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
readme \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.cir=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
TO be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1,20 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
|
||||
|
TESTS = \
|
||||
|
diffpair.cir \
|
||||
|
fourbitadder.cir \
|
||||
|
mosamp.cir \
|
||||
|
mosmem.cir \
|
||||
|
rc.cir \
|
||||
|
rca3040.cir \
|
||||
|
rtlinv.cir \
|
||||
|
schmitt.cir |
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.cir=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1,14 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
|
||||
|
TESTS = \
|
||||
|
id_vgs.cir \
|
||||
|
inverter.cir |
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.cir=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
@ -0,0 +1,12 @@ |
|||||
|
## Process this file with automake to produce Makefile.in
|
||||
|
|
||||
|
|
||||
|
TESTS = test1.cir |
||||
|
|
||||
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/check.sh $(top_builddir)/src/ngspice |
||||
|
|
||||
|
EXTRA_DIST = \
|
||||
|
$(TESTS) \
|
||||
|
$(TESTS:.cir=.out) |
||||
|
|
||||
|
MAINTAINERCLEANFILES = Makefile.in |
||||
@ -0,0 +1 @@ |
|||||
|
To be done |
||||
Some files were not shown because too many files changed in this diff
Write
Preview
Loading…
Cancel
Save
Reference in new issue