Mercurial > mplayer.hg
annotate osdep/Makefile @ 22348:9879c4598744
Move the decision about stream cache compilation to configure.
author | diego |
---|---|
date | Tue, 27 Feb 2007 17:13:17 +0000 |
parents | c8a46062a210 |
children | 8bcff5c7e387 |
rev | line source |
---|---|
2444 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME = libosdep.a | |
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 SRCS-$(STREAM_CACHE) += shmem.c |
2444 | 9 |
21856
e268886eb13d
Split fseeko.c into fseeko.c and ftello.c, move #ifdefs into the build system.
diego
parents:
21855
diff
changeset
|
10 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
|
11 SRCS-$(NEED_FTELLO) += ftello.c |
21855
936209c39ed1
Move #ifdef directives around complete files into the build system.
diego
parents:
21473
diff
changeset
|
12 SRCS-$(NEED_GETTIMEOFDAY) += gettimeofday.c |
22347
c8a46062a210
Move glob-win.c out of MinGW section, configure handles it.
diego
parents:
21857
diff
changeset
|
13 SRCS-$(NEED_GLOB) += glob-win.c |
21855
936209c39ed1
Move #ifdef directives around complete files into the build system.
diego
parents:
21473
diff
changeset
|
14 SRCS-$(NEED_SCANDIR) += scandir.c |
936209c39ed1
Move #ifdef directives around complete files into the build system.
diego
parents:
21473
diff
changeset
|
15 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
|
16 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
|
17 SRCS-$(NEED_STRLCPY) += strlcpy.c |
21855
936209c39ed1
Move #ifdef directives around complete files into the build system.
diego
parents:
21473
diff
changeset
|
18 SRCS-$(NEED_STRSEP) += strsep.c |
936209c39ed1
Move #ifdef directives around complete files into the build system.
diego
parents:
21473
diff
changeset
|
19 SRCS-$(NEED_SWAB) += swab.c |
936209c39ed1
Move #ifdef directives around complete files into the build system.
diego
parents:
21473
diff
changeset
|
20 SRCS-$(NEED_VSSCANF) += vsscanf.c |
21309 | 21 |
9830 | 22 getch = getch2.c |
23 timer = timer-lx.c | |
21189
40bb3d20a10b
Move osdep/mplayer.rc handling to the osdep Makefile.
diego
parents:
21187
diff
changeset
|
24 ifeq ($(TARGET_WIN32),yes) |
21297 | 25 timer = timer-win2.c |
21189
40bb3d20a10b
Move osdep/mplayer.rc handling to the osdep Makefile.
diego
parents:
21187
diff
changeset
|
26 endif |
10148
139b44930abc
Precise timer for Darwin (it's more accurate than timer-macosx.c)
alex
parents:
9983
diff
changeset
|
27 ifeq ($(TARGET_OS),Darwin) |
139b44930abc
Precise timer for Darwin (it's more accurate than timer-macosx.c)
alex
parents:
9983
diff
changeset
|
28 timer = timer-darwin.c |
9830 | 29 endif |
12706 | 30 ifeq ($(TARGET_OS),MINGW32) |
9830 | 31 getch = getch2-win.c |
32 endif | |
33 SRCS += $(timer) | |
34 SRCS += $(getch) | |
9465
350b660ef93c
precise macosx timer by Dan Christiansen <danchr@daimi.au.dk> and 10l fix by me
alex
parents:
9380
diff
changeset
|
35 |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21206
diff
changeset
|
36 include ../mpcommon.mak |
21194 | 37 |
21189
40bb3d20a10b
Move osdep/mplayer.rc handling to the osdep Makefile.
diego
parents:
21187
diff
changeset
|
38 mplayer-rc.o: mplayer.rc |
40bb3d20a10b
Move osdep/mplayer.rc handling to the osdep Makefile.
diego
parents:
21187
diff
changeset
|
39 windres -o $@ $< |