annotate libfaad2/Makefile @ 20747:d639a26d9141

added definition of DEMUXER_CTRL_RESYNC
author nicodvb
date Tue, 07 Nov 2006 22:51:18 +0000
parents 812f9cd94b28
children 618d1857f4c4
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
20281
812f9cd94b28 Add configure switch to enable fixed-pointed mode of internal libfaad2.
diego
parents: 18141
diff changeset
49 # The FIXED_POINT implementation of FAAD2 improves performance
812f9cd94b28 Add configure switch to enable fixed-pointed mode of internal libfaad2.
diego
parents: 18141
diff changeset
50 # on some platforms, especially for SBR files.
812f9cd94b28 Add configure switch to enable fixed-pointed mode of internal libfaad2.
diego
parents: 18141
diff changeset
51 ifeq ($(FAAD_FIXED),yes)
812f9cd94b28 Add configure switch to enable fixed-pointed mode of internal libfaad2.
diego
parents: 18141
diff changeset
52 CFLAGS += -DFIXED_POINT
812f9cd94b28 Add configure switch to enable fixed-pointed mode of internal libfaad2.
diego
parents: 18141
diff changeset
53 endif
13583
fbf889ed2426 Hint at FIXED_POINT for better (SBR) performance.
diego
parents: 13453
diff changeset
54
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
55 .SUFFIXES: .c .o
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
56
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
57 # .PHONY: all clean
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
58
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
59 .c.o:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
60 $(CC) -c $(CFLAGS) -o $@ $<
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
61
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
62 $(LIBNAME): $(OBJS)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
63 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 12527
diff changeset
64 $(RANLIB) $(LIBNAME)
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
65
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
66 all: $(LIBNAME)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
67
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
68 clean:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
69 rm -f *.o *.a *~
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
70
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 15927
diff changeset
71 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 15927
diff changeset
72 rm -f .depend test
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
73
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
74 dep: depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
75
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
76 depend:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
77 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
78
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
79 #
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
80 # include dependency files if they exist
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
81 #
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
82 ifneq ($(wildcard .depend),)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
83 include .depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
84 endif