annotate libao2/Makefile @ 19261:46512ecfc11e

LRMI has been removed some time ago.
author diego
date Sun, 30 Jul 2006 21:35:15 +0000
parents 1ea5c31932fd
children 4f71ed7cb512
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19034
9b3a8b48e5b3 Use only one global config.mak file.
diego
parents: 17633
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 \
19034
9b3a8b48e5b3 Use only one global config.mak file.
diego
parents: 17633
diff changeset
9 $(AO_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
19190
1ea5c31932fd Unify include paths in the build system, part I.
diego
parents: 19037
diff changeset
13 CFLAGS = $(OPTFLAGS) -I. -I..
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
14
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
15 .SUFFIXES: .c .o
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
16
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
17 # .PHONY: all clean
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
18
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
19 .c.o:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
20 $(CC) -c $(CFLAGS) -o $@ $<
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
21
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 966
diff changeset
22 $(LIBNAME): $(OBJS)
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
23 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10159
diff changeset
24 $(RANLIB) $(LIBNAME)
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
25
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
26 all: $(LIBNAME)
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
27
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
28 clean:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
29 rm -f *.o *.a *~
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
30
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 15772
diff changeset
31 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 15772
diff changeset
32 rm -f .depend
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
33
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
34 dep: depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
35
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 966
diff changeset
36 depend:
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
37 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
38
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
39 #
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
40 # include dependency files if they exist
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
41 #
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
42 ifneq ($(wildcard .depend),)
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
43 include .depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
44 endif