annotate libaf/Makefile @ 18376:0ad54685963c

some more corrections
author gpoirier
date Mon, 01 May 2006 19:31:45 +0000
parents 0aa3fef68422
children 0ea3c732d72d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
2
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
3 LIBNAME = libaf.a
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
4
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
5 SRCS=af.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
6 af_center.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
7 af_channels.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
8 af_comp.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
9 af_delay.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
10 af_dummy.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
11 af_equalizer.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
12 af_export.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
13 af_extrastereo.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
14 af_format.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
15 af_gate.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
16 af_hrtf.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
17 af_pan.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
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
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
20 af_sub.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
21 af_surround.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
22 af_sweep.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
23 af_tools.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
24 af_volnorm.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
25 af_volume.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
26 filter.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
27 format.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
28 window.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
29 $(OPTIONAL_SRCS) \
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
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
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
43 OBJS=$(SRCS:.c=.o)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
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
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
46
12706
51d61721906b mingw crosscompiling step 1
faust3
parents: 12632
diff changeset
47 ifeq ($(TARGET_OS),MINGW32)
9770
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
48 CFLAGS += -D_IO_H_
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
49 endif
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
50
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
51 .SUFFIXES: .c .o
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
52
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
53 .c.o:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
54 $(CC) -c $(CFLAGS) -o $@ $<
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
55
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
56 $(LIBNAME): $(OBJS) Makefile
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
57 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10892
diff changeset
58 $(RANLIB) $(LIBNAME)
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
59
8167
e8832e66babd New features:
anders
parents: 8073
diff changeset
60 $(OBJS):af.h control.h dsp.h filter.h window.h af_mp.h
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
61
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
62 all: $(LIBNAME)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
63
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
64 clean:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
65 rm -f *.o *.a *~
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
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
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
69
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
70 dep: depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
71
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
72 depend:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
73 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
74
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
75 #
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
76 # include dependency files if they exist
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
77 #
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
78 ifneq ($(wildcard .depend),)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
79 include .depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
80 endif