annotate libfaad2/Makefile @ 18472:57cac8462fa8

prevent memleak
author nicodvb
date Sat, 13 May 2006 09:08:28 +0000
parents 59b6fa5b4201
children 812f9cd94b28
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
2 LIBNAME = libfaad2.a
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
3
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
4 include ../config.mak
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
5
15927
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
6 SRCS = bits.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
7 cfft.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
8 common.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
9 decoder.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
10 drc.c \
18141
59b6fa5b4201 Update to faad2 cvs 20040915+MPlayer fixes
rtognimp
parents: 17488
diff changeset
11 drm_dec.c \
15927
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
12 error.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
13 filtbank.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
14 hcr.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
15 huffman.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
16 ic_predict.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
17 is.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
18 lt_predict.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
19 mdct.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
20 mp4.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
21 ms.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
22 output.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
23 pns.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
24 ps_dec.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
25 ps_syntax.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
26 pulse.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
27 rvlc.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
28 sbr_dct.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
29 sbr_dec.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
30 sbr_e_nf.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
31 sbr_fbt.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
32 sbr_hfadj.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
33 sbr_hfgen.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
34 sbr_huff.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
35 sbr_qmf.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
36 sbr_syntax.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
37 sbr_tf_grid.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
38 specrec.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
39 ssr.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
40 ssr_fb.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
41 ssr_ipqf.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
42 syntax.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
43 tns.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
44
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
45 OBJS = $(SRCS:.c=.o)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
46
15596
667c78f0fc60 - correct the argument in configure check for lrintf() to avoid a warning
henry
parents: 13583
diff changeset
47 CFLAGS = -I. $(OPTFLAGS) -D_GNU_SOURCE
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
48
13583
fbf889ed2426 Hint at FIXED_POINT for better (SBR) performance.
diego
parents: 13453
diff changeset
49 # Uncomment this to use the FIXED_POINT implementation of FAAD2.
fbf889ed2426 Hint at FIXED_POINT for better (SBR) performance.
diego
parents: 13453
diff changeset
50 # This should improve performance, especially for SBR files.
fbf889ed2426 Hint at FIXED_POINT for better (SBR) performance.
diego
parents: 13453
diff changeset
51 #CFLAGS = -I. $(OPTFLAGS) -DFIXED_POINT
fbf889ed2426 Hint at FIXED_POINT for better (SBR) performance.
diego
parents: 13453
diff changeset
52
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
53 .SUFFIXES: .c .o
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
54
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
55 # .PHONY: all clean
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
56
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
57 .c.o:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
58 $(CC) -c $(CFLAGS) -o $@ $<
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
59
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
60 $(LIBNAME): $(OBJS)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
61 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 12527
diff changeset
62 $(RANLIB) $(LIBNAME)
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
63
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
64 all: $(LIBNAME)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
65
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
66 clean:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
67 rm -f *.o *.a *~
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
68
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 15927
diff changeset
69 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 15927
diff changeset
70 rm -f .depend test
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
71
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
72 dep: depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
73
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
74 depend:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
75 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
76
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
77 #
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
78 # include dependency files if they exist
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
79 #
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
80 ifneq ($(wildcard .depend),)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
81 include .depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
82 endif