# HG changeset patch # User alex # Date 1053693478 0 # Node ID 3de6f1bcbc1a4e9007e6f6bc457e18357b53ffbb # Parent 93e5428d0b3e28c9c662b5be273f173a97656c36 do it the standard way (tm) diff -r 93e5428d0b3e -r 3de6f1bcbc1a configure --- a/configure Fri May 23 12:17:36 2003 +0000 +++ b/configure Fri May 23 12:37:58 2003 +0000 @@ -2422,6 +2422,7 @@ _macosx=yes _macosx_frameworks="-framework Carbon -framework QuickTime -framework CoreAudio" _def_macosx='#define MACOSX 1' + _aosrc="$_aosrc ao_macosx.c" _aomodules="macosx $_aomodules" else _macosx=no diff -r 93e5428d0b3e -r 3de6f1bcbc1a libao2/Makefile --- a/libao2/Makefile Fri May 23 12:17:36 2003 +0000 +++ b/libao2/Makefile Fri May 23 12:37:58 2003 +0000 @@ -1,15 +1,9 @@ - include config.mak LIBNAME = libao2.a -# TODO: moveout ao_sdl.c so it's only used when SDL is detected SRCS=afmt.c audio_out.c ao_mpegpes.c ao_null.c ao_pcm.c ao_plugin.c pl_delay.c pl_format.c pl_surround.c remez.c pl_resample.c pl_volume.c pl_extrastereo.c pl_volnorm.c pl_eq.c $(OPTIONAL_SRCS) -ifeq ($(MACOSX),yes) -SRCS += ao_macosx.c -endif - OBJS=$(SRCS:.c=.o) CFLAGS = $(OPTFLAGS) -I. -I.. $(ARTS_INC) $(ESD_INC) $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DXR2_INC) $(DVB_INC) @@ -43,4 +37,3 @@ ifneq ($(wildcard .depend),) include .depend endif -