annotate libao2/Makefile @ 6188:39a9515c633a

warning fixes, patch by Ulrich Hecht <uli@suse.de>
author arpi
date Sat, 25 May 2002 13:22:28 +0000
parents 10a30eebafaf
children 0398cb49fe5e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
1
966
69b4f944ce08 Added support for sdl audio out (buggy pre-alpha).
atmosfear
parents: 954
diff changeset
2 include config.mak
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
3
1013
74d55f3c4680 libao->libao2 because of conflict with OMS's libao
arpi_esp
parents: 1010
diff changeset
4 LIBNAME = libao2.a
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
5
966
69b4f944ce08 Added support for sdl audio out (buggy pre-alpha).
atmosfear
parents: 954
diff changeset
6 # TODO: moveout ao_sdl.c so it's only used when SDL is detected
4941
9a468a190c4c volume normalizer plugin support
pl
parents: 4927
diff changeset
7 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 $(OPTIONAL_SRCS)
3631
5f5189ac6a41 Added plugin for fractional resampling (alpha code)
anders
parents: 3484
diff changeset
8
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
9 OBJS=$(SRCS:.c=.o)
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
10
6074
10a30eebafaf Applied patch from Tobias Diedrich <ranma@gmx.at>, added volume setting
albeu
parents: 5487
diff changeset
11 CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DXR2_INC) $(DVB_INC)
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
12
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
13 .SUFFIXES: .c .o
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
14
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
15 # .PHONY: all clean
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
16
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
17 .c.o:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
18 $(CC) -c $(CFLAGS) -o $@ $<
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
19
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 966
diff changeset
20 $(LIBNAME): $(OBJS)
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
21 $(AR) r $(LIBNAME) $(OBJS)
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
22
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
23 all: $(LIBNAME)
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
24
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
25 clean:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
26 rm -f *.o *.a *~
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
27
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
28 distclean:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
29 rm -f Makefile.bak *.o *.a *~ .depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
30
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
31 dep: depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
32
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 966
diff changeset
33 depend:
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
34 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
35
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
36 #
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
37 # include dependency files if they exist
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
38 #
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
39 ifneq ($(wildcard .depend),)
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
40 include .depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
41 endif
3095
981a9e5118ce interface to libao2 changed ao_plugin added
anders
parents: 2977
diff changeset
42