Mercurial > mplayer.hg
annotate libaf/Makefile @ 18292:d65179145070
synced with 1.247
author | gabrov |
---|---|
date | Wed, 26 Apr 2006 04:26:26 +0000 |
parents | 0aa3fef68422 |
children | 0ea3c732d72d |
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_pan.c \ | |
18 af_resample.c \ | |
18082
0aa3fef68422
very simple filter which can remove a sine at a specified frequency, usefull to get rid of the 50/60hz noise on ultra crappy equipment
michael
parents:
17522
diff
changeset
|
19 af_sinesupress.c \ |
15772 | 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 |
17522
2408715522a7
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
37 SRCS+=af_lavcresample.c |
2408715522a7
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
38 endif |
2408715522a7
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
39 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) |
2408715522a7
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
40 SRCS+=af_lavcresample.c |
16168
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
41 endif |
99c188fbdba4
libavutil compile fix (working also with old libavcodec)
reimar
parents:
15772
diff
changeset
|
42 |
7568 | 43 OBJS=$(SRCS:.c=.o) |
44 | |
17381
7af5fe0860a1
This patch cleans up OPTFLAGS in Gui, removes hardcoded -Wall from
rathann
parents:
16982
diff
changeset
|
45 CFLAGS = $(OPTFLAGS) -I. -I.. $(LIBAV_INC) $(EXTRA_INC) -D_GNU_SOURCE |
9770 | 46 |
12706 | 47 ifeq ($(TARGET_OS),MINGW32) |
9770 | 48 CFLAGS += -D_IO_H_ |
49 endif | |
50 | |
7568 | 51 .SUFFIXES: .c .o |
52 | |
53 .c.o: | |
54 $(CC) -c $(CFLAGS) -o $@ $< | |
55 | |
56 $(LIBNAME): $(OBJS) Makefile | |
57 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 58 $(RANLIB) $(LIBNAME) |
7568 | 59 |
8167 | 60 $(OBJS):af.h control.h dsp.h filter.h window.h af_mp.h |
7568 | 61 |
62 all: $(LIBNAME) | |
63 | |
64 clean: | |
65 rm -f *.o *.a *~ | |
66 | |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17381
diff
changeset
|
67 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17381
diff
changeset
|
68 rm -f .depend |
7568 | 69 |
70 dep: depend | |
71 | |
72 depend: | |
73 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
74 | |
75 # | |
76 # include dependency files if they exist | |
77 # | |
78 ifneq ($(wildcard .depend),) | |
79 include .depend | |
80 endif |