annotate mp3lib/Makefile @ 21799:a6911070ac6e

increased a bit max param length as it can be too short to declare tv channels when you have a long list of
author ben
date Thu, 04 Jan 2007 16:06:01 +0000
parents ef59ac68c9b6
children 8bcff5c7e387
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1
1258
50b8a3a5eeed Portability and old binutils support
nick
parents: 1245
diff changeset
2 include ../config.mak
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3
21259
92b122592776 Merge common parts of all Makefiles into one file included by all.
diego
parents: 21206
diff changeset
4 LIBNAME = libMP3.a
92b122592776 Merge common parts of all Makefiles into one file included by all.
diego
parents: 21206
diff changeset
5
2450
f51307170f69 MIPS support by oliver.schoenbrunner@jku.at
arpi
parents: 1461
diff changeset
6 ifeq ($(TARGET_ARCH_SGI_MIPS),yes)
f51307170f69 MIPS support by oliver.schoenbrunner@jku.at
arpi
parents: 1461
diff changeset
7 OPTFLAGS := $(OPTFLAGS:-O4=-O0)
f51307170f69 MIPS support by oliver.schoenbrunner@jku.at
arpi
parents: 1461
diff changeset
8 endif
20306
565df9b68536 Simplify OBJS handling.
diego
parents: 19131
diff changeset
9
565df9b68536 Simplify OBJS handling.
diego
parents: 19131
diff changeset
10 SRCS = sr1.c
20575
c6b69870fcd5 mp3lib asm does not compile on AMD64.
reimar
parents: 20306
diff changeset
11 ifeq ($(TARGET_ARCH_X86_32),yes)
4262
ae847143d1d7 Using cpudetect code instead of d_cpu.s
nick
parents: 4244
diff changeset
12 SRCS += decode_i586.c
21309
ef59ac68c9b6 FFmpeg-style dependency declaration
diego
parents: 21308
diff changeset
13 SRCS-$(TARGET_MMX) += decode_MMX.c dct64_MMX.c tabinit_MMX.c
ef59ac68c9b6 FFmpeg-style dependency declaration
diego
parents: 21308
diff changeset
14 SRCS-$(TARGET_3DNOW) += dct36_3dnow.c dct64_3dnow.c
ef59ac68c9b6 FFmpeg-style dependency declaration
diego
parents: 21308
diff changeset
15 SRCS-$(TARGET_3DNOWEX) += dct36_k7.c dct64_k7.c
ef59ac68c9b6 FFmpeg-style dependency declaration
diego
parents: 21308
diff changeset
16 SRCS-$(TARGET_SSE) += dct64_sse.c
1258
50b8a3a5eeed Portability and old binutils support
nick
parents: 1245
diff changeset
17 endif
9002
60d144a16088 An altivec-optimized DCT64 for mp3lib
arpi
parents: 8543
diff changeset
18 ifeq ($(TARGET_ALTIVEC),yes)
60d144a16088 An altivec-optimized DCT64 for mp3lib
arpi
parents: 8543
diff changeset
19 SRCS += dct64_altivec.c
9122
5ba896a38d75 The two attached patches *should* allow for proper
arpi
parents: 9002
diff changeset
20 ifeq ($(TARGET_OS),Darwin)
9002
60d144a16088 An altivec-optimized DCT64 for mp3lib
arpi
parents: 8543
diff changeset
21 CFLAGS += -faltivec
9122
5ba896a38d75 The two attached patches *should* allow for proper
arpi
parents: 9002
diff changeset
22 else
5ba896a38d75 The two attached patches *should* allow for proper
arpi
parents: 9002
diff changeset
23 CFLAGS += -maltivec -mabi=altivec
5ba896a38d75 The two attached patches *should* allow for proper
arpi
parents: 9002
diff changeset
24 endif
9002
60d144a16088 An altivec-optimized DCT64 for mp3lib
arpi
parents: 8543
diff changeset
25 endif
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26
21259
92b122592776 Merge common parts of all Makefiles into one file included by all.
diego
parents: 21206
diff changeset
27 include ../mpcommon.mak
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28
8543
60fe896e437c decode_i586.c version uses %ebp for its own use, so:
arpi
parents: 7234
diff changeset
29 decode_i586.o: decode_i586.c
60fe896e437c decode_i586.c version uses %ebp for its own use, so:
arpi
parents: 7234
diff changeset
30 $(CC) -c $(CFLAGS) -fomit-frame-pointer -o $@ $<
60fe896e437c decode_i586.c version uses %ebp for its own use, so:
arpi
parents: 7234
diff changeset
31
21296
bf9e5ad91bbb Simplify test program generation.
diego
parents: 21295
diff changeset
32 %: %.c $(LIBNAME) ../mp_msg-mencoder.o ../cpudetect.o
bf9e5ad91bbb Simplify test program generation.
diego
parents: 21295
diff changeset
33 $(CC) $(CFLAGS) -o $@ ../libvo/aclib.c $^ -lm
788
214ea3f02d13 test.c added for benchmarking
arpi_esp
parents: 26
diff changeset
34
21259
92b122592776 Merge common parts of all Makefiles into one file included by all.
diego
parents: 21206
diff changeset
35 distclean::
21296
bf9e5ad91bbb Simplify test program generation.
diego
parents: 21295
diff changeset
36 rm -f test test2