Mercurial > mplayer.hg
annotate tremor/Makefile @ 21234:f61fd8cc3128
Add a sanity check to unsafe-looking code.
Does the memcpy to internal buffer here have any purpose besides
enabling more potential buffer overflows?
author | uau |
---|---|
date | Sat, 25 Nov 2006 20:01:24 +0000 |
parents | 68df3b19a160 |
children | 92b122592776 |
rev | line source |
---|---|
14280 | 1 |
2 LIBNAME = libvorbisidec.a | |
3 | |
4 include ../config.mak | |
5 | |
17943
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
6 SRCS = bitwise.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
7 block.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
8 codebook.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
9 floor0.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
10 floor1.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
11 framing.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
12 info.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
13 mapping0.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
14 mdct.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
15 registry.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
16 res012.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
17 sharedbook.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
18 synthesis.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
19 window.c \ |
14280 | 20 |
21 OBJS = $(SRCS:.c=.o) | |
19037 | 22 INCLUDE = -I. -I.. |
14280 | 23 CFLAGS = $(OPTFLAGS) $(INCLUDE) $(TREMOR_FLAGS) |
24 | |
25 .SUFFIXES: .c .o | |
26 | |
27 # .PHONY: all clean | |
28 | |
29 .c.o: | |
30 $(CC) -c $(CFLAGS) -o $@ $< | |
31 | |
32 $(LIBNAME): $(OBJS) | |
33 $(AR) r $(LIBNAME) $(OBJS) | |
34 $(RANLIB) $(LIBNAME) | |
35 | |
36 all: $(LIBNAME) | |
37 | |
38 clean: | |
39 rm -f *.o *.a *~ | |
40 | |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
14280
diff
changeset
|
41 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
14280
diff
changeset
|
42 rm -f .depend |
14280 | 43 |
21080 | 44 dep depend: |
14280 | 45 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
46 | |
47 ifneq ($(wildcard .depend),) | |
48 include .depend | |
49 endif |