Mercurial > mplayer.hg
annotate libdvdcss/Makefile @ 22697:2fe9bd97a7f6
Fix configure -march detection for athlon-xp
The configure script uses SSE support to distinguish between athlon and
athlon-xp, but SSE support was tested _after_ deciding the basic CPU
type. Thus athlon-xp was always misdetected as athlon. Fix this by
moving the CPU extensions check before the CPU type check. Patch from
Andrew Savchenko, bircoph list ru.
author | uau |
---|---|
date | Sun, 18 Mar 2007 13:38:55 +0000 |
parents | d3bae1479ed2 |
children | 404b9b4b13cd |
rev | line source |
---|---|
20613 | 1 include ../config.mak |
2 | |
22528
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
21259
diff
changeset
|
3 LIBNAME_COMMON = libdvdcss.a |
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
21259
diff
changeset
|
4 |
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
21259
diff
changeset
|
5 SRCS_COMMON = css.c \ |
22531
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
6 device.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
7 error.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
8 ioctl.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
9 libdvdcss.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
10 #bsdi_ioctl \ |
20613 | 11 |
22626 | 12 CFLAGS = -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.9\" \ |
13 -DHAVE_LIMITS_H -DHAVE_ERRNO_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H | |
20613 | 14 |
15 ifeq ($(TARGET_OS),CYGWIN) | |
20713 | 16 CFLAGS+=-DSYS_CYGWIN |
20613 | 17 endif |
18 | |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21215
diff
changeset
|
19 include ../mpcommon.mak |