annotate libao2/Makefile @ 18356:e66bfe3e4057

1.1279: Bump the date. 1.1278: Correct vglobal description, as pointed out by Loren. 1.1277: cosmetics: Remove trailing whitespace.
author kraymer
date Sun, 30 Apr 2006 13:30:16 +0000
parents e0ef5688cce7
children 9b3a8b48e5b3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
966
69b4f944ce08 Added support for sdl audio out (buggy pre-alpha).
atmosfear
parents: 954
diff changeset
1 include config.mak
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
2
1013
74d55f3c4680 libao->libao2 because of conflict with OMS's libao
arpi_esp
parents: 1010
diff changeset
3 LIBNAME = libao2.a
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
4
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
5 SRCS=audio_out.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
6 ao_mpegpes.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
7 ao_null.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
8 ao_pcm.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
9 $(OPTIONAL_SRCS) \
3631
5f5189ac6a41 Added plugin for fractional resampling (alpha code)
anders
parents: 3484
diff changeset
10
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
11 OBJS=$(SRCS:.c=.o)
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
12
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
13 CFLAGS = $(OPTFLAGS) -I. -I.. \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
14 $(ARTS_INC) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
15 $(DVB_INC) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
16 $(DXR2_INC) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
17 $(ESD_INC) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
18 $(EXTRA_INC) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
19 $(JACK_INC) \
17633
e0ef5688cce7 OpenAL audio support, actual output is mono-only (no positioning yet).
reimar
parents: 17488
diff changeset
20 $(OPENAL_INC) \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
21 $(POLYP_INC) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
22 $(SDL_INC) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
23 $(X11_INC) \
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
24
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
25 .SUFFIXES: .c .o
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
26
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
27 # .PHONY: all clean
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
28
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
29 .c.o:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
30 $(CC) -c $(CFLAGS) -o $@ $<
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
31
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 966
diff changeset
32 $(LIBNAME): $(OBJS)
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
33 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10159
diff changeset
34 $(RANLIB) $(LIBNAME)
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
35
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
36 all: $(LIBNAME)
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
37
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
38 clean:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
39 rm -f *.o *.a *~
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
40
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 15772
diff changeset
41 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 15772
diff changeset
42 rm -f .depend
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
43
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
44 dep: depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
45
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 966
diff changeset
46 depend:
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
47 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
48
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
49 #
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
50 # include dependency files if they exist
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
51 #
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
52 ifneq ($(wildcard .depend),)
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
53 include .depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
54 endif