diff --git a/src/spicelib/devices/adms/admst/makefile.adms3 b/src/spicelib/devices/adms/admst/makefile.adms3 new file mode 100644 index 000000000..471376c6b --- /dev/null +++ b/src/spicelib/devices/adms/admst/makefile.adms3 @@ -0,0 +1,52 @@ +# -*- makefile -*- + +ADMS=/where/is/admsXml + + +%.c %.hxx \ + %acld.c %ask.c %itf.h %del.c %dest.c \ + %init.c %load.c %mask.c %mdel.c %mpar.c %par.c \ + %pzld.c %setup.c %temp.c %trunc.c \ +: $(srcdir)/%.va $(ADMSXMLINTERFACE)/prengspice.xml $(ADMSXMLINTERFACE)/ngspice.xml + $(ADMS) -I$(srcdir) -f $< -e $(ADMSXMLINTERFACE)/prengspice.xml + $(ADMS) -I$(srcdir) -f mna.va -e $(ADMSXMLINTERFACE)/ngspice.xml + + +lib%.so : %.c \ + %acld.c %ask.c %itf.h %del.c %dest.c \ + %init.c %load.c %mask.c %mdel.c %mpar.c %par.c \ + %pzld.c %setup.c %temp.c %trunc.c + gcc -g -Wall -I$(top_builddir)/src/include -I$(top_srcdir)/src/include \ + -shared -o $@ $^ + + +BUILT_SOURCES = \ + $(device).c \ + $(device).hxx \ + $(device)acld.c \ + $(device)ask.c \ + $(device)itf.h \ + $(device)del.c \ + $(device)dest.c \ + $(device)init.c \ + $(device)load.c \ + $(device)mask.c \ + $(device)mdel.c \ + $(device)mpar.c \ + $(device)par.c \ + $(device)pzld.c \ + $(device)setup.c \ + $(device)temp.c \ + $(device)trunc.c + + +CLEANFILES = \ + $(device).so \ + $(BUILT_SOURCES) \ + .$(device).va.adms \ + .interface.xml \ + mna.va \ + .mna.va.adms \ + .adms.implicit.xml \ + constants.h \ + discipline.h diff --git a/src/spicelib/devices/adms/ekv/adms3va/makefile b/src/spicelib/devices/adms/ekv/adms3va/makefile new file mode 100644 index 000000000..93eb37ef6 --- /dev/null +++ b/src/spicelib/devices/adms/ekv/adms3va/makefile @@ -0,0 +1,17 @@ +# -*- makefile -*- + +device=ekv + +top_srcdir=/where/is/ngspice +srcdir=$(top_srcdir)/src/spicelib/devices/adms/$(device)/adms3va + +top_builddir=/where/to/build + +ADMSXMLINTERFACE=$(top_srcdir)/src/spicelib/devices/adms/admst +include $(ADMSXMLINTERFACE)/makefile.adms3 + + +all: lib$(device).so + +clean: + rm -f $(CLEANFILES) diff --git a/src/spicelib/devices/adms/hicum0/adms3va/makefile b/src/spicelib/devices/adms/hicum0/adms3va/makefile new file mode 100644 index 000000000..5c58b22b8 --- /dev/null +++ b/src/spicelib/devices/adms/hicum0/adms3va/makefile @@ -0,0 +1,17 @@ +# -*- makefile -*- + +device=hicum0 + +top_srcdir=/where/is/ngspice +srcdir=$(top_srcdir)/src/spicelib/devices/adms/$(device)/adms3va + +top_builddir=/where/to/build + +ADMSXMLINTERFACE=$(top_srcdir)/src/spicelib/devices/adms/admst +include $(ADMSXMLINTERFACE)/makefile.adms3 + + +all: lib$(device).so + +clean: + rm -f $(CLEANFILES)