annotate libaf/Makefile @ 18007:d2c04fecc5f1

A question needs a question mark, but in this case I think at least two are required. Fixes part 2 of Otvos Attila's "printf2mp_msg" changes.
author corey
date Fri, 31 Mar 2006 06:01:56 +0000
parents 2408715522a7
children 0aa3fef68422
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 \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
19 af_sub.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
20 af_surround.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
21 af_sweep.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
22 af_tools.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
23 af_volnorm.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
24 af_volume.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
25 filter.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
26 format.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
27 window.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15596
diff changeset
28 $(OPTIONAL_SRCS) \
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
29
16168
99c188fbdba4 libavutil compile fix (working also with old libavcodec)
reimar
parents: 15772
diff changeset
30 LIBAV_INC =
99c188fbdba4 libavutil compile fix (working also with old libavcodec)
reimar
parents: 15772
diff changeset
31 ifeq ($(CONFIG_LIBAVUTIL),yes)
99c188fbdba4 libavutil compile fix (working also with old libavcodec)
reimar
parents: 15772
diff changeset
32 LIBAV_INC += -I../libavutil
99c188fbdba4 libavutil compile fix (working also with old libavcodec)
reimar
parents: 15772
diff changeset
33 endif
99c188fbdba4 libavutil compile fix (working also with old libavcodec)
reimar
parents: 15772
diff changeset
34 ifeq ($(CONFIG_LIBAVCODEC),yes)
99c188fbdba4 libavutil compile fix (working also with old libavcodec)
reimar
parents: 15772
diff changeset
35 LIBAV_INC += -I../libavcodec
17522
2408715522a7 Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
36 SRCS+=af_lavcresample.c
2408715522a7 Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
37 endif
2408715522a7 Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
38 ifeq ($(CONFIG_LIBAVCODEC_SO),yes)
2408715522a7 Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
39 SRCS+=af_lavcresample.c
16168
99c188fbdba4 libavutil compile fix (working also with old libavcodec)
reimar
parents: 15772
diff changeset
40 endif
99c188fbdba4 libavutil compile fix (working also with old libavcodec)
reimar
parents: 15772
diff changeset
41
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
42 OBJS=$(SRCS:.c=.o)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
43
17381
7af5fe0860a1 This patch cleans up OPTFLAGS in Gui, removes hardcoded -Wall from
rathann
parents: 16982
diff changeset
44 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
45
12706
51d61721906b mingw crosscompiling step 1
faust3
parents: 12632
diff changeset
46 ifeq ($(TARGET_OS),MINGW32)
9770
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
47 CFLAGS += -D_IO_H_
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
48 endif
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
49
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
50 .SUFFIXES: .c .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 .c.o:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
53 $(CC) -c $(CFLAGS) -o $@ $<
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
54
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
55 $(LIBNAME): $(OBJS) Makefile
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
56 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10892
diff changeset
57 $(RANLIB) $(LIBNAME)
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
58
8167
e8832e66babd New features:
anders
parents: 8073
diff changeset
59 $(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
60
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
61 all: $(LIBNAME)
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 clean:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
64 rm -f *.o *.a *~
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
65
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17381
diff changeset
66 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17381
diff changeset
67 rm -f .depend
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
68
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
69 dep: 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 depend:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
72 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
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 #
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
75 # include dependency files if they exist
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 ifneq ($(wildcard .depend),)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
78 include .depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
79 endif