diff --git a/src/spicelib/parser/Makefile.am b/src/spicelib/parser/Makefile.am index 5ef6e38ca..e52524aae 100644 --- a/src/spicelib/parser/Makefile.am +++ b/src/spicelib/parser/Makefile.am @@ -21,7 +21,6 @@ libinp_la_SOURCES = \ inp2k.c \ inp2l.c \ inp2m.c \ - inp2n.c \ inp2o.c \ inp2p.c \ inp2q.c \ @@ -71,6 +70,11 @@ libinp_la_SOURCES = \ sperror.c \ inpxx.h + +if OSDI_WANTED +libinp_la_SOURCES += inp2n.c +endif + AM_CPPFLAGS = @AM_CPPFLAGS@ -I$(top_srcdir)/src/include -I$(top_srcdir)/src/frontend AM_CFLAGS = $(STATIC) AM_YFLAGS = -d diff --git a/src/spicelib/parser/inpxx.h b/src/spicelib/parser/inpxx.h index 81e9355db..818def297 100644 --- a/src/spicelib/parser/inpxx.h +++ b/src/spicelib/parser/inpxx.h @@ -20,7 +20,9 @@ void INP2J(CKTcircuit *ckt, INPtables *tab, struct card *current); void INP2K(CKTcircuit *ckt, INPtables *tab, struct card *current); void INP2L(CKTcircuit *ckt, INPtables *tab, struct card *current); void INP2M(CKTcircuit *ckt, INPtables *tab, struct card *current); +#ifdef OSDI void INP2N(CKTcircuit *ckt, INPtables *tab, struct card *current); +#endif void INP2O(CKTcircuit *ckt, INPtables *tab, struct card *current); void INP2P(CKTcircuit *ckt, INPtables *tab, struct card *current); void INP2Q(CKTcircuit *ckt, INPtables *tab, struct card *current, CKTnode *gnode);