annotate osdep/Makefile @ 22997:fd0fda0c6555

skip MMX code in rgb24tobgr24 if the size of the input is smaller than the size of the units the MMX code processes
author ivo
date Wed, 18 Apr 2007 09:27:59 +0000
parents bf78d0e672d3
children 9fb716ab06a3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
1 include ../config.mak
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
2
22528
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 22348
diff changeset
3 LIBNAME_COMMON = libosdep.a
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
4
22528
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 22348
diff changeset
5 SRCS_COMMON-$(HAVE_SYS_MMAN_H) += mmap_anon.c
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 22348
diff changeset
6 SRCS_COMMON-$(MACOSX_FINDER_SUPPORT) += macosx_finder_args.c
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
7
22528
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 22348
diff changeset
8 SRCS_COMMON-$(NEED_FSEEKO) += fseeko.c
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 22348
diff changeset
9 SRCS_COMMON-$(NEED_FTELLO) += ftello.c
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 22348
diff changeset
10 SRCS_COMMON-$(NEED_GETTIMEOFDAY) += gettimeofday.c
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 22348
diff changeset
11 SRCS_COMMON-$(NEED_GLOB) += glob-win.c
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 22348
diff changeset
12 SRCS_COMMON-$(NEED_SCANDIR) += scandir.c
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 22348
diff changeset
13 SRCS_COMMON-$(NEED_SETENV) += setenv.c
22687
bf78d0e672d3 Do not disable cache on MinGW, just disable shmem compilation.
diego
parents: 22531
diff changeset
14 SRCS_COMMON-$(NEED_SHMEM) += shmem.c
22528
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 22348
diff changeset
15 SRCS_COMMON-$(NEED_STRLCAT) += strlcat.c
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 22348
diff changeset
16 SRCS_COMMON-$(NEED_STRLCPY) += strlcpy.c
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 22348
diff changeset
17 SRCS_COMMON-$(NEED_STRSEP) += strsep.c
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 22348
diff changeset
18 SRCS_COMMON-$(NEED_SWAB) += swab.c
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 22348
diff changeset
19 SRCS_COMMON-$(NEED_VSSCANF) += vsscanf.c
21309
ef59ac68c9b6 FFmpeg-style dependency declaration
diego
parents: 21297
diff changeset
20
9830
e2134d2f18fb enable timer-win and getch2-win for mingw32
faust3
parents: 9465
diff changeset
21 getch = getch2.c
e2134d2f18fb enable timer-win and getch2-win for mingw32
faust3
parents: 9465
diff changeset
22 timer = timer-lx.c
21189
40bb3d20a10b Move osdep/mplayer.rc handling to the osdep Makefile.
diego
parents: 21187
diff changeset
23 ifeq ($(TARGET_WIN32),yes)
21297
5d45c1b7d732 Simplify, TARGET_WIN32 is both Cygwin and MinGW.
diego
parents: 21259
diff changeset
24 timer = timer-win2.c
21189
40bb3d20a10b Move osdep/mplayer.rc handling to the osdep Makefile.
diego
parents: 21187
diff changeset
25 endif
10148
139b44930abc Precise timer for Darwin (it's more accurate than timer-macosx.c)
alex
parents: 9983
diff changeset
26 ifeq ($(TARGET_OS),Darwin)
139b44930abc Precise timer for Darwin (it's more accurate than timer-macosx.c)
alex
parents: 9983
diff changeset
27 timer = timer-darwin.c
9830
e2134d2f18fb enable timer-win and getch2-win for mingw32
faust3
parents: 9465
diff changeset
28 endif
12706
51d61721906b mingw crosscompiling step 1
faust3
parents: 12646
diff changeset
29 ifeq ($(TARGET_OS),MINGW32)
9830
e2134d2f18fb enable timer-win and getch2-win for mingw32
faust3
parents: 9465
diff changeset
30 getch = getch2-win.c
e2134d2f18fb enable timer-win and getch2-win for mingw32
faust3
parents: 9465
diff changeset
31 endif
22528
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 22348
diff changeset
32 SRCS_COMMON += $(timer)
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 22348
diff changeset
33 SRCS_COMMON += $(getch)
9465
350b660ef93c precise macosx timer by Dan Christiansen <danchr@daimi.au.dk> and 10l fix by me
alex
parents: 9380
diff changeset
34
21259
92b122592776 Merge common parts of all Makefiles into one file included by all.
diego
parents: 21206
diff changeset
35 include ../mpcommon.mak
21194
e85426c3beb4 all should be the first target.
diego
parents: 21192
diff changeset
36
21189
40bb3d20a10b Move osdep/mplayer.rc handling to the osdep Makefile.
diego
parents: 21187
diff changeset
37 mplayer-rc.o: mplayer.rc
40bb3d20a10b Move osdep/mplayer.rc handling to the osdep Makefile.
diego
parents: 21187
diff changeset
38 windres -o $@ $<