Mercurial > mplayer.hg
annotate libfaad2/Makefile @ 19836:9470f7630ee4
when cmd == MP_CMD_DVDNAV_SELECT set reset=1 only if dvdnav_button_activate() succeeds, to avoid unneeded resets in main()
author | nicodvb |
---|---|
date | Fri, 15 Sep 2006 17:18:47 +0000 |
parents | 59b6fa5b4201 |
children | 812f9cd94b28 |
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 |
13583 | 49 # Uncomment this to use the FIXED_POINT implementation of FAAD2. |
50 # This should improve performance, especially for SBR files. | |
51 #CFLAGS = -I. $(OPTFLAGS) -DFIXED_POINT | |
52 | |
10725 | 53 .SUFFIXES: .c .o |
54 | |
55 # .PHONY: all clean | |
56 | |
57 .c.o: | |
58 $(CC) -c $(CFLAGS) -o $@ $< | |
59 | |
60 $(LIBNAME): $(OBJS) | |
61 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 62 $(RANLIB) $(LIBNAME) |
10725 | 63 |
64 all: $(LIBNAME) | |
65 | |
66 clean: | |
67 rm -f *.o *.a *~ | |
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 | 71 |
72 dep: depend | |
73 | |
74 depend: | |
75 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
76 | |
77 # | |
78 # include dependency files if they exist | |
79 # | |
80 ifneq ($(wildcard .depend),) | |
81 include .depend | |
82 endif |