Mercurial > mplayer.hg
annotate mp3lib/Makefile @ 26466:d4f4ce3534c3
Use directory name as library name template.
author | diego |
---|---|
date | Tue, 22 Apr 2008 21:51:41 +0000 |
parents | 2095f98cf0fa |
children | dc333dff8376 |
rev | line source |
---|---|
1258 | 1 include ../config.mak |
1 | 2 |
26466 | 3 LIBNAME_COMMON = mp3lib.a |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21206
diff
changeset
|
4 |
22528
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
21309
diff
changeset
|
5 SRCS_COMMON = sr1.c |
25350
2095f98cf0fa
cosmetics: Remove ugly and inconsistent uppercasing from filenames.
diego
parents:
23664
diff
changeset
|
6 SRCS_COMMON-$(HAVE_MMX) += decode_mmx.c |
23664 | 7 SRCS_COMMON-$(HAVE_SSE) += dct64_sse.c |
23543 | 8 ifeq ($(ARCH_X86_32),yes) |
22531
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
9 SRCS_COMMON += decode_i586.c |
25350
2095f98cf0fa
cosmetics: Remove ugly and inconsistent uppercasing from filenames.
diego
parents:
23664
diff
changeset
|
10 SRCS_COMMON-$(HAVE_MMX) += dct64_mmx.c |
23664 | 11 SRCS_COMMON-$(HAVE_3DNOW) += dct36_3dnow.c dct64_3dnow.c |
12 SRCS_COMMON-$(HAVE_3DNOWEX) += dct36_k7.c dct64_k7.c | |
1258 | 13 endif |
23664 | 14 SRCS_COMMON-$(HAVE_ALTIVEC) += dct64_altivec.c |
1 | 15 |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21206
diff
changeset
|
16 include ../mpcommon.mak |
1 | 17 |
22597 | 18 decode_i586.o: CFLAGS += -fomit-frame-pointer |
8543 | 19 |
22537 | 20 %: %.c $(LIBNAME_COMMON) ../libvo/aclib.o ../mp_msg-mencoder.o ../cpudetect.o ../osdep/getch2.o |
21 $(CC) $(CFLAGS) -o $@ $^ -ltermcap -lm |