annotate libfaad2/Makefile @ 16724:dcdc85f69287

work around (buggy?) solaris tr. hope this helps.. please report if its still broken
author rfelker
date Tue, 11 Oct 2005 04:37:38 +0000
parents fa2281c94e7e
children ce1ba8fd57e7
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 \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
11 error.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
12 filtbank.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
13 hcr.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
14 huffman.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
15 ic_predict.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
16 is.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
17 lt_predict.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
18 mdct.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
19 mp4.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
20 ms.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
21 output.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
22 pns.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
23 ps_dec.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
24 ps_syntax.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
25 pulse.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
26 rvlc.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
27 sbr_dct.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
28 sbr_dec.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
29 sbr_e_nf.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
30 sbr_fbt.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
31 sbr_hfadj.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
32 sbr_hfgen.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
33 sbr_huff.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
34 sbr_qmf.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
35 sbr_syntax.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
36 sbr_tf_grid.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
37 specrec.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
38 ssr.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
39 ssr_fb.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
40 ssr_ipqf.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
41 syntax.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
42 tns.c \
fa2281c94e7e make more patch-friendly
reimar
parents: 15596
diff changeset
43
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
44 OBJS = $(SRCS:.c=.o)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
45
15596
667c78f0fc60 - correct the argument in configure check for lrintf() to avoid a warning
henry
parents: 13583
diff changeset
46 CFLAGS = -I. $(OPTFLAGS) -D_GNU_SOURCE
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
47
13583
fbf889ed2426 Hint at FIXED_POINT for better (SBR) performance.
diego
parents: 13453
diff changeset
48 # Uncomment this to use the FIXED_POINT implementation of FAAD2.
fbf889ed2426 Hint at FIXED_POINT for better (SBR) performance.
diego
parents: 13453
diff changeset
49 # This should improve performance, especially for SBR files.
fbf889ed2426 Hint at FIXED_POINT for better (SBR) performance.
diego
parents: 13453
diff changeset
50 #CFLAGS = -I. $(OPTFLAGS) -DFIXED_POINT
fbf889ed2426 Hint at FIXED_POINT for better (SBR) performance.
diego
parents: 13453
diff changeset
51
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
52 .SUFFIXES: .c .o
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
53
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
54 # .PHONY: all clean
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
55
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
56 .c.o:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
57 $(CC) -c $(CFLAGS) -o $@ $<
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
58
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
59 $(LIBNAME): $(OBJS)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
60 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 12527
diff changeset
61 $(RANLIB) $(LIBNAME)
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
62
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
63 all: $(LIBNAME)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
64
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
65 clean:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
66 rm -f *.o *.a *~
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
67
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
68 distclean:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
69 rm -f test *.o *.a *~ .depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
70
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
71 dep: depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
72
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
73 depend:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
74 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
75
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
76 #
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
77 # include dependency files if they exist
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
78 #
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
79 ifneq ($(wildcard .depend),)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
80 include .depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
81 endif