summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2011-02-17 21:26:23 +0000
committerStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 01:38:27 +0200
commit24a98a1971301e582dc56ef2c6ac94c342b674dd (patch)
tree8b9aa705b0fd522cd0231f79f25a6cbcde8f06b2 /Makefile.in
parent3a4fb410cf0be7a7f4fc3777a15b104d8091f3b5 (diff)
Various changes in preparation for release 4.0.8
including fix of MinGW ASIO compile problem (iasiothiscallresolver), OS-X problem handling device names in some languages (CFString conversion), small change to OS-X MUTEX lock location to avoid lockups, and correction to documentation regarding 24-bit data (should be lower 3 bytes, not upper 3 bytes).
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in16
1 files changed, 12 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 5429b77..10b7ac3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -2,11 +2,13 @@
### RtAudio library Makefile
RM = /bin/rm
+LN = /bin/ln
OBJECTS = RtAudio.o @objects@
STATIC = librtaudio.a
-SHARED = librtaudio.so
+SHARED = @sharedlib@
+RELEASE = 4.0.7
LIBRARIES = $(STATIC) $(SHARED)
CC = @CXX@
@@ -24,7 +26,10 @@ tests:
$(LIBRARIES): $(OBJECTS)
$(AR) ruv $(STATIC) $(OBJECTS)
ranlib $(STATIC)
- $(CC) -shared $(OBJECTS) -o $(SHARED) @LIBS@
+ $(CC) -fPIC @libflags@ $(OBJECTS) @LIBS@
+ $(LN) -s @sharedname@ $(SHARED)
+
+# $(CC) -shared $(OBJECTS) -o $(SHARED) @LIBS@
%.o : %.cpp
$(CC) $(CFLAGS) $(DEFS) -c $(<) -o $@
@@ -33,12 +38,15 @@ $(LIBRARIES): $(OBJECTS)
$(CC) $(CFLAGS) $(DEFS) -c $(<) -o $@
clean :
- $(RM) -f $(LIBRARIES)
+ $(RM) -f $(LIBRARIES) @sharedname@ $(SHARED)*
$(RM) -f $(OBJECTS)
$(RM) -f *~
cd tests && $(MAKE) clean
-distclean: clean
+distclean:
+ $(RM) -f $(LIBRARIES) @sharedname@ $(SHARED)*
+ $(RM) -f $(OBJECTS)
+ $(RM) -f *~
$(RM) -rf config.log config.status autom4te.cache Makefile rtaudio-config
cd tests && $(MAKE) distclean