annotate libaf/Makefile @ 20247:60af7c3dbac7

escape - (bobdeint)
author kraymer
date Sun, 15 Oct 2006 18:41:44 +0000
parents 4f71ed7cb512
children 618d1857f4c4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19034
9b3a8b48e5b3 Use only one global config.mak file.
diego
parents: 18611
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 \
18470
0ea3c732d72d New karaoke af
reynaldo
parents: 18082
diff changeset
17 af_karaoke.c \
15772
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 \
18611
1c2f694d5232 Rename sinesupress to sinesuppress, including af_sinesupress.c file rename.
corey
parents: 18470
diff changeset
20 af_sinesuppress.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
21 af_sub.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
22 af_surround.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
23 af_sweep.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
24 af_tools.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
25 af_volnorm.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
26 af_volume.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
27 filter.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
28 format.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
29 window.c \
19034
9b3a8b48e5b3 Use only one global config.mak file.
diego
parents: 18611
diff changeset
30 $(AF_SRCS) \
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
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
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
44 OBJS=$(SRCS:.c=.o)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
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
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
47
12706
51d61721906b mingw crosscompiling step 1
faust3
parents: 12632
diff changeset
48 ifeq ($(TARGET_OS),MINGW32)
9770
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
49 CFLAGS += -D_IO_H_
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
50 endif
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
51
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
52 .SUFFIXES: .c .o
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
53
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
54 .c.o:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
55 $(CC) -c $(CFLAGS) -o $@ $<
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
56
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
57 $(LIBNAME): $(OBJS) Makefile
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
58 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10892
diff changeset
59 $(RANLIB) $(LIBNAME)
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
60
8167
e8832e66babd New features:
anders
parents: 8073
diff changeset
61 $(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
62
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
63 all: $(LIBNAME)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
64
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
65 clean:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
66 rm -f *.o *.a *~
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
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
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 dep: depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
72
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
73 depend:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
74 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
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 #
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
77 # include dependency files if they exist
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
78 #
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
79 ifneq ($(wildcard .depend),)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
80 include .depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
81 endif