Mingw porting.

This commit is contained in:
pnenzi 2005-08-22 21:00:02 +00:00
parent 5bcb23d795
commit 9bb78c2d28
8 changed files with 11 additions and 8 deletions

View File

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

View File

@ -15,4 +15,3 @@ square
summer
s_xfer
triangle

View File

@ -24,4 +24,3 @@ d_tff
d_tristate
d_xnor
d_xor

View File

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

View File

@ -1,2 +1 @@
icm_spice2poly

View File

@ -7,4 +7,3 @@ lcouple
lmeter
potentiometer
zener

View File

@ -2,5 +2,3 @@ d_to_real
real_delay
real_gain
real_to_v

View File

@ -1,3 +1,2 @@
int
real