annotate libaf/Makefile @ 16061:261022c048cd

add some closedir() to fix some opendir() leaks
author aurel
date Fri, 22 Jul 2005 22:52:13 +0000
parents d3d30585a9d2
children 99c188fbdba4
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
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
31 OBJS=$(SRCS:.c=.o)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
32
15596
667c78f0fc60 - correct the argument in configure check for lrintf() to avoid a warning
henry
parents: 14749
diff changeset
33 CFLAGS = $(OPTFLAGS) -I. -Wall $(EXTRA_INC) -D_GNU_SOURCE
9770
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
34
12706
51d61721906b mingw crosscompiling step 1
faust3
parents: 12632
diff changeset
35 ifeq ($(TARGET_OS),MINGW32)
9770
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
36 CFLAGS += -D_IO_H_
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
37 endif
dfb20e8273e5 workaround conflict with the MINGW32 open function
faust3
parents: 9329
diff changeset
38
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
39 .SUFFIXES: .c .o
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
40
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
41 .c.o:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
42 $(CC) -c $(CFLAGS) -o $@ $<
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
43
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
44 $(LIBNAME): $(OBJS) Makefile
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
45 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10892
diff changeset
46 $(RANLIB) $(LIBNAME)
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
47
8167
e8832e66babd New features:
anders
parents: 8073
diff changeset
48 $(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
49
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
50 all: $(LIBNAME)
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 clean:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
53 rm -f *.o *.a *~
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 distclean:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
56 rm -f *.o *.a *~ .depend
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 dep: depend
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 depend:
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
61 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
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 #
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
64 # include dependency files if they exist
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 ifneq ($(wildcard .depend),)
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
67 include .depend
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
68 endif