mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 13:57:32 +02:00
support for MINGW tclspice added
This commit is contained in:
+6
-1
@@ -243,6 +243,10 @@ install: install-libLTLIBRARIES install-tcl-recursive install-tclspice install-d
|
||||
EXTRA_DIST += tclspice.c
|
||||
initdata_DATA += tclspinit
|
||||
|
||||
if TCLWIN
|
||||
LIBS += -lpsapi -ltcl84 -lBLT24.dll
|
||||
endif
|
||||
|
||||
libspice_la_SOURCES =
|
||||
libspice_la_LIBADD = ngspice.lo conf.lo \
|
||||
spice.lo \
|
||||
@@ -269,8 +273,9 @@ libspice_la_LIBADD = ngspice.lo conf.lo \
|
||||
tclspice.lo $(LIBS)
|
||||
libspice_la_CFLAGS = $(AM_CFLAGS)
|
||||
libspice_la_LDFLAGS = -shared -Wl,--version-script=tclspice.map
|
||||
if WINDOWS
|
||||
if TCLWIN
|
||||
libspice_la_LDFLAGS += -no-undefined
|
||||
libspice_la_LDFLAGS += --def spice.def @TCL_LIB_SPEC@
|
||||
endif
|
||||
|
||||
CLEANFILES = pkgIndex.tcl libspice.so
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
LIBRARY spice
|
||||
DESCRIPTION "tclspice"
|
||||
EXPORTS
|
||||
_Spice_Init
|
||||
|
||||
Reference in New Issue
Block a user