1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-25 23:00:19 +01:00

Applying 2 of Benjamin's patches to add an autogen script and to

enable support for using the system portaudio library.  The latter
also corrects a long standing bug that prevented using config.status
to regenerate src/Makefile.

As a result of the above, I've taken Benjamin's *_LOCAL_CONFIGURE_ARGS
idea and propagated its usage to the other place where ac_configure_args
was being set directly.

Removed old stuff from lib-src/Makefile.in and made the library locations
for portaudio and portmixer like the rest (a symlink in lib-src).

Reworked portmixer's configure.ac to properly detect host apis.
This commit is contained in:
lllucius
2011-03-30 16:14:51 +00:00
parent 0c54afc769
commit 15eef6421e
14 changed files with 670 additions and 367 deletions

View File

@@ -6,12 +6,6 @@ portsmf-recursive:
libportSMF.a: portsmf-recursive
ln -sf portsmf/libportSMF.a libportSMF.a
# dlcompat
dl-recursive:
$(MAKE) -C dlcompat
libdl.a: dl-recursive
ln -sf dlcompat/libdl.a libdl.a
# expat
expat-recursive:
$(MAKE) -C expat
@@ -146,19 +140,14 @@ taglib.a: taglib-recursive
# PortAudio
portaudio-v19-recursive:
$(MAKE) -C portaudio-v19 lib/libportaudio.la
portaudio-v19/lib/libportaudio.a: portaudio-v19-recursive
ln -sf .libs/libportaudio.a $@
libportaudio.a: portaudio-v19-recursive
ln -sf portaudio-v19/lib/.libs/libportaudio.a libportaudio.a
# PortMixer
portmixer-recursive:
$(MAKE) -C portmixer
portmixer/libportmixer.a: portmixer-recursive
portaudio/pa_unix_oss/portaudio.a:
$(MAKE) -C portaudio/pa_unix_oss
portaudio/pa_mac_core/portaudio.a:
$(MAKE) -C portaudio/pa_mac_core
libportmixer.a: portmixer-recursive
ln -sf portmixer/libportmixer.a libportmixer.a
# RTAudio not supported 23/08/2007 R.A.
# librtaudio-recursive:
@@ -169,7 +158,6 @@ portaudio/pa_mac_core/portaudio.a:
# Utility rules
clean:
-$(MAKE) -C portsmf clean
-$(MAKE) -C dlcompat clean
-$(MAKE) -C expat clean
-$(MAKE) -C FileDialog clean
-$(MAKE) -C libid3tag clean
@@ -185,8 +173,6 @@ clean:
-$(MAKE) -C lib-widget-extra clean
-$(MAKE) -C libflac clean
-$(MAKE) -C portaudio-v19 clean
-$(MAKE) -C portaudio/pa_unix_oss clean
-$(MAKE) -C portaudio/pa_mac_core clean
-$(MAKE) -C portmixer clean
-$(MAKE) -C sbsms clean
-$(MAKE) -C soundtouch clean
@@ -195,7 +181,6 @@ clean:
distclean:
-$(MAKE) -C portsmf distclean
-$(MAKE) -C dlcompat distclean
-$(MAKE) -C expat distclean
-$(MAKE) -C FileDialog distclean
-$(MAKE) -C libid3tag distclean
@@ -211,8 +196,6 @@ distclean:
-$(MAKE) -C lib-widget-extra distclean
-$(MAKE) -C libflac distclean
-$(MAKE) -C portaudio-v19 distclean
-$(MAKE) -C portaudio/pa_unix_oss distclean
-$(MAKE) -C portaudio/pa_mac_core distclean
-$(MAKE) -C portmixer distclean
-$(MAKE) -C sbsms distclean
-$(MAKE) -C soundtouch distclean