Mercurial > mplayer.hg
annotate libaf/Makefile @ 17464:6770c410f4f3
support libavcodec's new sc_factor parameter
Original idea from Michael; patch by me.
author | corey |
---|---|
date | Sun, 22 Jan 2006 21:02:14 +0000 |
parents | 7af5fe0860a1 |
children | ce1ba8fd57e7 |
rev | line source |
---|---|
14217
5b5ebf93ec16
Adds support for LADSPA (Linux Audio Developer's Simple Plugin API) plugins.
ivo
parents:
13996
diff
changeset
|
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 \ | |
17 af_lavcresample.c \ | |
18 af_pan.c \ | |
19 af_resample.c \ | |
20 af_sub.c \ | |
21 af_surround.c \ | |
22 af_sweep.c \ | |
23 af_tools.c \ | |
24 af_volnorm.c \ | |
25 af_volume.c \ | |
26 filter.c \ | |
27 format.c \ | |
28 window.c \ | |
29 $(OPTIONAL_SRCS) \ | |
7568 | 30 |
16168
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
31 LIBAV_INC = |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
32 ifeq ($(CONFIG_LIBAVUTIL),yes) |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
33 LIBAV_INC += -I../libavutil |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
34 endif |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
35 ifeq ($(CONFIG_LIBAVCODEC),yes) |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
36 LIBAV_INC += -I../libavcodec |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
37 endif |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
38 |
7568 | 39 OBJS=$(SRCS:.c=.o) |
40 | |
17381
7af5fe0860a1
This patch cleans up OPTFLAGS in Gui, removes hardcoded -Wall from
rathann
parents:
16982
diff
changeset
|
41 CFLAGS = $(OPTFLAGS) -I. -I.. $(LIBAV_INC) $(EXTRA_INC) -D_GNU_SOURCE |
9770 | 42 |
12706 | 43 ifeq ($(TARGET_OS),MINGW32) |
9770 | 44 CFLAGS += -D_IO_H_ |
45 endif | |
46 | |
7568 | 47 .SUFFIXES: .c .o |
48 | |
49 .c.o: | |
50 $(CC) -c $(CFLAGS) -o $@ $< | |
51 | |
52 $(LIBNAME): $(OBJS) Makefile | |
53 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 54 $(RANLIB) $(LIBNAME) |
7568 | 55 |
8167 | 56 $(OBJS):af.h control.h dsp.h filter.h window.h af_mp.h |
7568 | 57 |
58 all: $(LIBNAME) | |
59 | |
60 clean: | |
61 rm -f *.o *.a *~ | |
62 | |
63 distclean: | |
64 rm -f *.o *.a *~ .depend | |
65 | |
66 dep: depend | |
67 | |
68 depend: | |
69 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
70 | |
71 # | |
72 # include dependency files if they exist | |
73 # | |
74 ifneq ($(wildcard .depend),) | |
75 include .depend | |
76 endif |