From 302d035d795c110715315a930ed47757cc9d519a Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 23 Apr 2009 15:33:19 +0000 Subject: [PATCH] Updated Makefile.in and configure to use installed portaudio library. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@1147 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- Makefile.in | 8 ++------ configure | 2 +- map65.py | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Makefile.in b/Makefile.in index 00b70fd46..dc0e9aa02 100644 --- a/Makefile.in +++ b/Makefile.in @@ -37,7 +37,7 @@ RM ?= @RM@ F2PY = @F2PY@ ### -all: portaudio-v19/lib/.libs/libportaudio.a Audio.so plrs plrr +all: Audio.so plrs plrr OBJS2C = init_rs.o encode_rs.o decode_rs.o plrr_subs.o loc.o deep65.o @@ -84,10 +84,6 @@ AUDIOSRCS = a2d.f90 jtaudio.c start_portaudio.c ### -portaudio-v19/lib/.libs/libportaudio.a: - (cd portaudio-v19;./configure) - (cd portaudio-v19;${MAKE}) - deep65.o: deep65.F $(FC) -c -O0 -Wall -fPIC deep65.F @@ -118,7 +114,7 @@ plrs: plrs.F90 sec_midn.F90 plrs_subs.c cutil.c .PHONY : clean clean: ${RM} -f *.o *.pyc *.so *~ map65 map65.spec -# (cd portaudio-v19;${MAKE} clean) + distclean: clean ${RM} -f config.log config.status Makefile (cd portaudio-v19;${MAKE} distclean) diff --git a/configure b/configure index b0021b104..d110cfb05 100755 --- a/configure +++ b/configure @@ -2502,7 +2502,7 @@ CFLAGS="$OLD_CFLAGS" CPPFLAGS="-Iportaudio-v19/include -I/usr/local/include -I/usr/include/alsa -I/usr/local/include/alsa ${CPPFLAGS}" LDFLAGS="-L/usr/local/lib ${LDFLAGS}" -LIBS=" -lpthread ${LIBS}" +LIBS=" -lpthread -lportaudio ${LIBS}" echo "$as_me:$LINENO: checking uname -s for Cygwin, Solaris or HPUX" >&5 echo $ECHO_N "checking uname -s for Cygwin, Solaris or HPUX... $ECHO_C" >&6 diff --git a/map65.py b/map65.py index 31c39a419..a5c500ca1 100644 --- a/map65.py +++ b/map65.py @@ -1,4 +1,4 @@ -#--------------------------------------------------------------------- MAP65 +#---------------------------------------------------------------------- MAP65 # $Date$ $Revision$ # from Tkinter import *