Mercurial > mplayer.hg
annotate libaf/Makefile @ 19995:9cd5e242121e
in case of errors after decoding quit the main decoding
loop before memmove() when sh_audio->in_buffer_len <= 0;
patch by Chandan Pitta chandan.pitta gmail com
author | nicodvb |
---|---|
date | Wed, 27 Sep 2006 21:45:15 +0000 |
parents | 4f71ed7cb512 |
children | 618d1857f4c4 |
rev | line source |
---|---|
19034 | 1 include ../config.mak |
7568 | 2 |
3 LIBNAME = libaf.a | |
4 | |
15772 | 5 SRCS=af.c \ |
6 af_center.c \ | |
7 af_channels.c \ | |
8 af_comp.c \ | |
9 af_delay.c \ | |
10 af_dummy.c \ | |
11 af_equalizer.c \ | |
12 af_export.c \ | |
13 af_extrastereo.c \ | |
14 af_format.c \ | |
15 af_gate.c \ | |
16 af_hrtf.c \ | |
18470 | 17 af_karaoke.c \ |
15772 | 18 af_pan.c \ |
19 af_resample.c \ | |
18611
1c2f694d5232
Rename sinesupress to sinesuppress, including af_sinesupress.c file rename.
corey
parents:
18470
diff
changeset
|
20 af_sinesuppress.c \ |
15772 | 21 af_sub.c \ |
22 af_surround.c \ | |
23 af_sweep.c \ | |
24 af_tools.c \ | |
25 af_volnorm.c \ | |
26 af_volume.c \ | |
27 filter.c \ | |
28 format.c \ | |
29 window.c \ | |
19034 | 30 $(AF_SRCS) \ |
7568 | 31 |
16168
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
32 LIBAV_INC = |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
33 ifeq ($(CONFIG_LIBAVUTIL),yes) |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
34 LIBAV_INC += -I../libavutil |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
35 endif |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
36 ifeq ($(CONFIG_LIBAVCODEC),yes) |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
37 LIBAV_INC += -I../libavcodec |
17522
2408715522a7
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
38 SRCS+=af_lavcresample.c |
2408715522a7
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
39 endif |
2408715522a7
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
40 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) |
2408715522a7
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
41 SRCS+=af_lavcresample.c |
16168
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
42 endif |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
43 |
7568 | 44 OBJS=$(SRCS:.c=.o) |
45 | |
19420
4f71ed7cb512
Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents:
19037
diff
changeset
|
46 CFLAGS = -I. -I.. $(LIBAV_INC) $(OPTFLAGS) -D_GNU_SOURCE |
9770 | 47 |
12706 | 48 ifeq ($(TARGET_OS),MINGW32) |
9770 | 49 CFLAGS += -D_IO_H_ |
50 endif | |
51 | |
7568 | 52 .SUFFIXES: .c .o |
53 | |
54 .c.o: | |
55 $(CC) -c $(CFLAGS) -o $@ $< | |
56 | |
57 $(LIBNAME): $(OBJS) Makefile | |
58 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 59 $(RANLIB) $(LIBNAME) |
7568 | 60 |
8167 | 61 $(OBJS):af.h control.h dsp.h filter.h window.h af_mp.h |
7568 | 62 |
63 all: $(LIBNAME) | |
64 | |
65 clean: | |
66 rm -f *.o *.a *~ | |
67 | |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17381
diff
changeset
|
68 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17381
diff
changeset
|
69 rm -f .depend |
7568 | 70 |
71 dep: depend | |
72 | |
73 depend: | |
74 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
75 | |
76 # | |
77 # include dependency files if they exist | |
78 # | |
79 ifneq ($(wildcard .depend),) | |
80 include .depend | |
81 endif |