Mercurial > mplayer.hg
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 |
rev | line source |
---|---|
10725 | 1 |
2 LIBNAME = libfaad2.a | |
3 | |
4 include ../config.mak | |
5 | |
15927 | 6 SRCS = bits.c \ |
7 cfft.c \ | |
8 common.c \ | |
9 decoder.c \ | |
10 drc.c \ | |
18141 | 11 drm_dec.c \ |
15927 | 12 error.c \ |
13 filtbank.c \ | |
14 hcr.c \ | |
15 huffman.c \ | |
16 ic_predict.c \ | |
17 is.c \ | |
18 lt_predict.c \ | |
19 mdct.c \ | |
20 mp4.c \ | |
21 ms.c \ | |
22 output.c \ | |
23 pns.c \ | |
24 ps_dec.c \ | |
25 ps_syntax.c \ | |
26 pulse.c \ | |
27 rvlc.c \ | |
28 sbr_dct.c \ | |
29 sbr_dec.c \ | |
30 sbr_e_nf.c \ | |
31 sbr_fbt.c \ | |
32 sbr_hfadj.c \ | |
33 sbr_hfgen.c \ | |
34 sbr_huff.c \ | |
35 sbr_qmf.c \ | |
36 sbr_syntax.c \ | |
37 sbr_tf_grid.c \ | |
38 specrec.c \ | |
39 ssr.c \ | |
40 ssr_fb.c \ | |
41 ssr_ipqf.c \ | |
42 syntax.c \ | |
43 tns.c \ | |
44 | |
10725 | 45 OBJS = $(SRCS:.c=.o) |
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 | 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 | 54 |
10725 | 55 .SUFFIXES: .c .o |
56 | |
57 # .PHONY: all clean | |
58 | |
59 .c.o: | |
60 $(CC) -c $(CFLAGS) -o $@ $< | |
61 | |
62 $(LIBNAME): $(OBJS) | |
63 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 64 $(RANLIB) $(LIBNAME) |
10725 | 65 |
66 all: $(LIBNAME) | |
67 | |
68 clean: | |
69 rm -f *.o *.a *~ | |
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 | 73 |
74 dep: depend | |
75 | |
76 depend: | |
77 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
78 | |
79 # | |
80 # include dependency files if they exist | |
81 # | |
82 ifneq ($(wildcard .depend),) | |
83 include .depend | |
84 endif |