annotate libaf/Makefile @ 16930:41aeb5e0cb4b

Fix bugs/crash introduced by translation patch
author reimar
date Sun, 06 Nov 2005 15:25:08 +0000
parents 99c188fbdba4
children a9da2db9eb16
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_lavcresample.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
18 af_pan.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
19 af_resample.c \
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
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
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
39 OBJS=$(SRCS:.c=.o)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
40
16168
99c188fbdba4 libavutil compile fix (working also with old libavcodec)
reimar
parents: 15772
diff changeset
41 CFLAGS = $(OPTFLAGS) -I. -Wall $(LIBAV_INC) $(EXTRA_INC) -D_GNU_SOURCE
9770
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
42
12706
51d61721906b mingw crosscompiling step 1
faust3
parents: 12632
diff changeset
43 ifeq ($(TARGET_OS),MINGW32)
9770
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
44 CFLAGS += -D_IO_H_
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
45 endif
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
46
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
47 .SUFFIXES: .c .o
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
48
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
49 .c.o:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
50 $(CC) -c $(CFLAGS) -o $@ $<
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
51
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
52 $(LIBNAME): $(OBJS) Makefile
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
53 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10892
diff changeset
54 $(RANLIB) $(LIBNAME)
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
55
8167
e8832e66babd New features:
anders
parents: 8073
diff changeset
56 $(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
57
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
58 all: $(LIBNAME)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
59
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
60 clean:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
61 rm -f *.o *.a *~
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
62
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
63 distclean:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
64 rm -f *.o *.a *~ .depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
65
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
66 dep: depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
67
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
68 depend:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
69 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
70
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 # include dependency files if they exist
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
73 #
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
74 ifneq ($(wildcard .depend),)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
75 include .depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
76 endif