changeset 10159:3de6f1bcbc1a

do it the standard way (tm)
author alex
date Fri, 23 May 2003 12:37:58 +0000
parents 93e5428d0b3e
children ad75409ed15e
files configure libao2/Makefile
diffstat 2 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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
-