Browse Source

support for MINGW tclspice added

pre-master-46
h_vogt 17 years ago
parent
commit
3d931d2ffb
  1. 7
      src/Makefile.am
  2. 5
      src/spice.def

7
src/Makefile.am

@ -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

5
src/spice.def

@ -0,0 +1,5 @@
LIBRARY spice
DESCRIPTION "tclspice"
EXPORTS
_Spice_Init
Loading…
Cancel
Save