annotate mp3lib/Makefile @ 22597:f826f57be4b4

Simplify setting special CFLAGS for decode_i586.o.
author diego
date Thu, 15 Mar 2007 16:49:59 +0000
parents 8d88e1bedb92
children eb1e8b907a9d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1258
50b8a3a5eeed Portability and old binutils support
nick
parents: 1245
diff changeset
1 include ../config.mak
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2
22536
b19e2fb20a41 Rename mp3lib/libMP3.a to mp3lib/libmp3.a for consistency.
diego
parents: 22531
diff changeset
3 LIBNAME_COMMON = libmp3.a
21259
92b122592776 Merge common parts of all Makefiles into one file included by all.
diego
parents: 21206
diff changeset
4
2450
f51307170f69 MIPS support by oliver.schoenbrunner@jku.at
arpi
parents: 1461
diff changeset
5 ifeq ($(TARGET_ARCH_SGI_MIPS),yes)
f51307170f69 MIPS support by oliver.schoenbrunner@jku.at
arpi
parents: 1461
diff changeset
6 OPTFLAGS := $(OPTFLAGS:-O4=-O0)
f51307170f69 MIPS support by oliver.schoenbrunner@jku.at
arpi
parents: 1461
diff changeset
7 endif
20306
565df9b68536 Simplify OBJS handling.
diego
parents: 19131
diff changeset
8
22528
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 21309
diff changeset
9 SRCS_COMMON = sr1.c
20575
c6b69870fcd5 mp3lib asm does not compile on AMD64.
reimar
parents: 20306
diff changeset
10 ifeq ($(TARGET_ARCH_X86_32),yes)
22531
090ec2169aee cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents: 22528
diff changeset
11 SRCS_COMMON += decode_i586.c
22528
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 21309
diff changeset
12 SRCS_COMMON-$(TARGET_MMX) += decode_MMX.c dct64_MMX.c tabinit_MMX.c
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 21309
diff changeset
13 SRCS_COMMON-$(TARGET_3DNOW) += dct36_3dnow.c dct64_3dnow.c
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 21309
diff changeset
14 SRCS_COMMON-$(TARGET_3DNOWEX) += dct36_k7.c dct64_k7.c
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 21309
diff changeset
15 SRCS_COMMON-$(TARGET_SSE) += dct64_sse.c
1258
50b8a3a5eeed Portability and old binutils support
nick
parents: 1245
diff changeset
16 endif
22595
8d88e1bedb92 Simplify conditional expression.
diego
parents: 22594
diff changeset
17 SRCS_COMMON-$(TARGET_ALTIVEC) += dct64_altivec.c
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18
21259
92b122592776 Merge common parts of all Makefiles into one file included by all.
diego
parents: 21206
diff changeset
19 include ../mpcommon.mak
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20
22597
f826f57be4b4 Simplify setting special CFLAGS for decode_i586.o.
diego
parents: 22595
diff changeset
21 decode_i586.o: CFLAGS += -fomit-frame-pointer
8543
60fe896e437c decode_i586.c version uses %ebp for its own use, so:
arpi
parents: 7234
diff changeset
22
22537
fffc3a54fd66 Fix test program compilation.
diego
parents: 22536
diff changeset
23 %: %.c $(LIBNAME_COMMON) ../libvo/aclib.o ../mp_msg-mencoder.o ../cpudetect.o ../osdep/getch2.o
fffc3a54fd66 Fix test program compilation.
diego
parents: 22536
diff changeset
24 $(CC) $(CFLAGS) -o $@ $^ -ltermcap -lm
788
214ea3f02d13 test.c added for benchmarking
arpi_esp
parents: 26
diff changeset
25
21259
92b122592776 Merge common parts of all Makefiles into one file included by all.
diego
parents: 21206
diff changeset
26 distclean::
21296
bf9e5ad91bbb Simplify test program generation.
diego
parents: 21295
diff changeset
27 rm -f test test2