annotate osdep/Makefile @ 22086:8bf15e2ca61e

Add global field dominance flag instead of duplicating this "everywhere" Patch by Carl Eugen Hoyos (cehoyos (at) ag or at)
author reimar
date Fri, 02 Feb 2007 18:32:07 +0000
parents 8d9e6b4fbf4d
children c8a46062a210
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
1
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
2 include ../config.mak
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
3
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
4 LIBNAME = libosdep.a
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
5
21855
936209c39ed1 Move #ifdef directives around complete files into the build system.
diego
parents: 21473
diff changeset
6 SRCS-$(HAVE_SYS_MMAN_H) += mmap_anon.c
936209c39ed1 Move #ifdef directives around complete files into the build system.
diego
parents: 21473
diff changeset
7 SRCS-$(MACOSX_FINDER_SUPPORT) += macosx_finder_args.c
936209c39ed1 Move #ifdef directives around complete files into the build system.
diego
parents: 21473
diff changeset
8 ifneq ($(TARGET_OS),MINGW32)
936209c39ed1 Move #ifdef directives around complete files into the build system.
diego
parents: 21473
diff changeset
9 SRCS-$(STREAM_CACHE) += shmem.c
936209c39ed1 Move #ifdef directives around complete files into the build system.
diego
parents: 21473
diff changeset
10 endif
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
11
21856
e268886eb13d Split fseeko.c into fseeko.c and ftello.c, move #ifdefs into the build system.
diego
parents: 21855
diff changeset
12 SRCS-$(NEED_FSEEKO) += fseeko.c
e268886eb13d Split fseeko.c into fseeko.c and ftello.c, move #ifdefs into the build system.
diego
parents: 21855
diff changeset
13 SRCS-$(NEED_FTELLO) += ftello.c
21855
936209c39ed1 Move #ifdef directives around complete files into the build system.
diego
parents: 21473
diff changeset
14 SRCS-$(NEED_GETTIMEOFDAY) += gettimeofday.c
936209c39ed1 Move #ifdef directives around complete files into the build system.
diego
parents: 21473
diff changeset
15 SRCS-$(NEED_SCANDIR) += scandir.c
936209c39ed1 Move #ifdef directives around complete files into the build system.
diego
parents: 21473
diff changeset
16 SRCS-$(NEED_SETENV) += setenv.c
21857
8d9e6b4fbf4d Split strl.c into strl(cat|cpy).c and move #ifdefs into the build system.
diego
parents: 21856
diff changeset
17 SRCS-$(NEED_STRLCAT) += strlcat.c
8d9e6b4fbf4d Split strl.c into strl(cat|cpy).c and move #ifdefs into the build system.
diego
parents: 21856
diff changeset
18 SRCS-$(NEED_STRLCPY) += strlcpy.c
21855
936209c39ed1 Move #ifdef directives around complete files into the build system.
diego
parents: 21473
diff changeset
19 SRCS-$(NEED_STRSEP) += strsep.c
936209c39ed1 Move #ifdef directives around complete files into the build system.
diego
parents: 21473
diff changeset
20 SRCS-$(NEED_SWAB) += swab.c
936209c39ed1 Move #ifdef directives around complete files into the build system.
diego
parents: 21473
diff changeset
21 SRCS-$(NEED_VSSCANF) += vsscanf.c
21309
ef59ac68c9b6 FFmpeg-style dependency declaration
diego
parents: 21297
diff changeset
22
9830
e2134d2f18fb enable timer-win and getch2-win for mingw32
faust3
parents: 9465
diff changeset
23 getch = getch2.c
e2134d2f18fb enable timer-win and getch2-win for mingw32
faust3
parents: 9465
diff changeset
24 timer = timer-lx.c
21189
40bb3d20a10b Move osdep/mplayer.rc handling to the osdep Makefile.
diego
parents: 21187
diff changeset
25 ifeq ($(TARGET_WIN32),yes)
21297
5d45c1b7d732 Simplify, TARGET_WIN32 is both Cygwin and MinGW.
diego
parents: 21259
diff changeset
26 timer = timer-win2.c
21189
40bb3d20a10b Move osdep/mplayer.rc handling to the osdep Makefile.
diego
parents: 21187
diff changeset
27 endif
10148
139b44930abc Precise timer for Darwin (it's more accurate than timer-macosx.c)
alex
parents: 9983
diff changeset
28 ifeq ($(TARGET_OS),Darwin)
139b44930abc Precise timer for Darwin (it's more accurate than timer-macosx.c)
alex
parents: 9983
diff changeset
29 timer = timer-darwin.c
9830
e2134d2f18fb enable timer-win and getch2-win for mingw32
faust3
parents: 9465
diff changeset
30 endif
12706
51d61721906b mingw crosscompiling step 1
faust3
parents: 12646
diff changeset
31 ifeq ($(TARGET_OS),MINGW32)
9830
e2134d2f18fb enable timer-win and getch2-win for mingw32
faust3
parents: 9465
diff changeset
32 getch = getch2-win.c
21855
936209c39ed1 Move #ifdef directives around complete files into the build system.
diego
parents: 21473
diff changeset
33 SRCS-$(NEED_GLOB) += glob-win.c
9830
e2134d2f18fb enable timer-win and getch2-win for mingw32
faust3
parents: 9465
diff changeset
34 endif
e2134d2f18fb enable timer-win and getch2-win for mingw32
faust3
parents: 9465
diff changeset
35 SRCS += $(timer)
e2134d2f18fb enable timer-win and getch2-win for mingw32
faust3
parents: 9465
diff changeset
36 SRCS += $(getch)
9465
350b660ef93c precise macosx timer by Dan Christiansen <danchr@daimi.au.dk> and 10l fix by me
alex
parents: 9380
diff changeset
37
21259
92b122592776 Merge common parts of all Makefiles into one file included by all.
diego
parents: 21206
diff changeset
38 include ../mpcommon.mak
21194
e85426c3beb4 all should be the first target.
diego
parents: 21192
diff changeset
39
21189
40bb3d20a10b Move osdep/mplayer.rc handling to the osdep Makefile.
diego
parents: 21187
diff changeset
40 mplayer-rc.o: mplayer.rc
40bb3d20a10b Move osdep/mplayer.rc handling to the osdep Makefile.
diego
parents: 21187
diff changeset
41 windres -o $@ $<