Mercurial > mplayer.hg
comparison osdep/Makefile @ 26318:7e0162c50768
Move decision about whether or not to compile osdep/mmap_os2.c to configure.
author | diego |
---|---|
date | Tue, 08 Apr 2008 17:31:25 +0000 |
parents | c4d1f32ca1a4 |
children | b90151a7dcbb |
comparison
equal
deleted
inserted
replaced
26317:955f4b8ac094 | 26318:7e0162c50768 |
---|---|
5 SRCS_COMMON-$(HAVE_SYS_MMAN_H) += mmap_anon.c | 5 SRCS_COMMON-$(HAVE_SYS_MMAN_H) += mmap_anon.c |
6 SRCS_COMMON-$(MACOSX_FINDER_SUPPORT) += macosx_finder_args.c | 6 SRCS_COMMON-$(MACOSX_FINDER_SUPPORT) += macosx_finder_args.c |
7 | 7 |
8 SRCS_COMMON-$(NEED_GETTIMEOFDAY) += gettimeofday.c | 8 SRCS_COMMON-$(NEED_GETTIMEOFDAY) += gettimeofday.c |
9 SRCS_COMMON-$(NEED_GLOB) += glob-win.c | 9 SRCS_COMMON-$(NEED_GLOB) += glob-win.c |
10 SRCS_COMMON-$(NEED_MMAP) += mmap-os2.c | |
10 SRCS_COMMON-$(NEED_SETENV) += setenv.c | 11 SRCS_COMMON-$(NEED_SETENV) += setenv.c |
11 SRCS_COMMON-$(NEED_SHMEM) += shmem.c | 12 SRCS_COMMON-$(NEED_SHMEM) += shmem.c |
12 SRCS_COMMON-$(NEED_STRSEP) += strsep.c | 13 SRCS_COMMON-$(NEED_STRSEP) += strsep.c |
13 SRCS_COMMON-$(NEED_SWAB) += swab.c | 14 SRCS_COMMON-$(NEED_SWAB) += swab.c |
14 SRCS_COMMON-$(NEED_VSSCANF) += vsscanf.c | 15 SRCS_COMMON-$(NEED_VSSCANF) += vsscanf.c |
24 ifeq ($(TARGET_OS),MINGW32) | 25 ifeq ($(TARGET_OS),MINGW32) |
25 getch = getch2-win.c | 26 getch = getch2-win.c |
26 endif | 27 endif |
27 ifeq ($(TARGET_OS),OS/2) | 28 ifeq ($(TARGET_OS),OS/2) |
28 getch = getch2-os2.c | 29 getch = getch2-os2.c |
29 ifneq ($(HAVE_SYS_MMAN_H),yes) | |
30 SRCS_COMMON += mmap-os2.c | |
31 endif | |
32 endif | 30 endif |
33 SRCS_COMMON += $(timer) | 31 SRCS_COMMON += $(timer) |
34 SRCS_COMMON += $(getch) | 32 SRCS_COMMON += $(getch) |
35 | 33 |
36 include ../mpcommon.mak | 34 include ../mpcommon.mak |