Mingw porting.
This commit is contained in:
parent
5bcb23d795
commit
9bb78c2d28
|
|
@ -544,13 +544,19 @@ if test "$enable_xspice" = "yes"; then
|
|||
AC_PROG_YACC
|
||||
AM_PROG_LEX
|
||||
XSPICEDIR="xspice"
|
||||
case $host_os in
|
||||
*mingw* | *cygwin* )
|
||||
DLLIBS="";;
|
||||
* )
|
||||
DLLIBS="-ldl";;
|
||||
esac
|
||||
XSPICELIB1="$XSPICEDIR/cm/libcmxsp.a \
|
||||
$XSPICEDIR/mif/libmifxsp.a"
|
||||
XSPICELIB2="$XSPICEDIR/evt/libevtxsp.a \
|
||||
$XSPICEDIR/enh/libenhxsp.a \
|
||||
$XSPICEDIR/ipc/libipcxsp.a \
|
||||
$XSPICEDIR/idn/libidnxsp.a \
|
||||
-ldl"
|
||||
$DLLIBS"
|
||||
XSPICEINIT=""
|
||||
XSPICETESTS=""
|
||||
|
||||
|
|
|
|||
|
|
@ -15,4 +15,3 @@ square
|
|||
summer
|
||||
s_xfer
|
||||
triangle
|
||||
|
||||
|
|
|
|||
|
|
@ -24,4 +24,3 @@ d_tff
|
|||
d_tristate
|
||||
d_xnor
|
||||
d_xor
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,11 @@ CC = @CC@
|
|||
INCLUDES = -I$(TOPDIR)$(top_srcdir)/src/include -I$(TOPDIR)$(top_builddir)
|
||||
|
||||
# CFLAGS to use here
|
||||
ifeq "$(strip $(uname))" "MINGW32_NT-5.0"
|
||||
CFLAGS = @CFLAGS@ -DCM_WINDOWS
|
||||
else
|
||||
CFLAGS = @CFLAGS@ -fPIC -DCM_LINUX
|
||||
endif
|
||||
|
||||
# Path to the cmpp utility
|
||||
CMPP = $(TOPDIR)$(top_builddir)/src/xspice/cmpp/cmpp
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
icm_spice2poly
|
||||
|
||||
|
|
|
|||
|
|
@ -7,4 +7,3 @@ lcouple
|
|||
lmeter
|
||||
potentiometer
|
||||
zener
|
||||
|
||||
|
|
|
|||
|
|
@ -2,5 +2,3 @@ d_to_real
|
|||
real_delay
|
||||
real_gain
|
||||
real_to_v
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,2 @@
|
|||
int
|
||||
real
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue