annotate libao2/Makefile @ 16193:9001f47f4493

Synced with 1.178
author jheryan
date Wed, 10 Aug 2005 04:44:12 +0000
parents d3d30585a9d2
children ce1ba8fd57e7
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) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
20 $(POLYP_INC) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
21 $(SDL_INC) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 14254
diff changeset
22 $(X11_INC) \
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
23
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
24 .SUFFIXES: .c .o
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
25
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
26 # .PHONY: all clean
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
27
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
28 .c.o:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
29 $(CC) -c $(CFLAGS) -o $@ $<
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
30
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 966
diff changeset
31 $(LIBNAME): $(OBJS)
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
32 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10159
diff changeset
33 $(RANLIB) $(LIBNAME)
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
34
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
35 all: $(LIBNAME)
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
36
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
37 clean:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
38 rm -f *.o *.a *~
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
39
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
40 distclean:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
41 rm -f Makefile.bak *.o *.a *~ .depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
42
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
43 dep: depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
44
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 966
diff changeset
45 depend:
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
46 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
47
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
48 #
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
49 # include dependency files if they exist
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
50 #
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
51 ifneq ($(wildcard .depend),)
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
52 include .depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
53 endif