view osdep/Makefile @ 26189:8d1e8229b660

Try to fix the description of what mbcmp influences, please fix if I misunderstood the code.
author reimar
date Tue, 11 Mar 2008 10:03:25 +0000
parents c4d1f32ca1a4
children 7e0162c50768
line wrap: on
line source

include ../config.mak

LIBNAME_COMMON = libosdep.a

SRCS_COMMON-$(HAVE_SYS_MMAN_H)       += mmap_anon.c
SRCS_COMMON-$(MACOSX_FINDER_SUPPORT) += macosx_finder_args.c

SRCS_COMMON-$(NEED_GETTIMEOFDAY)     += gettimeofday.c
SRCS_COMMON-$(NEED_GLOB)             += glob-win.c
SRCS_COMMON-$(NEED_SETENV)           += setenv.c
SRCS_COMMON-$(NEED_SHMEM)            += shmem.c
SRCS_COMMON-$(NEED_STRSEP)           += strsep.c
SRCS_COMMON-$(NEED_SWAB)             += swab.c
SRCS_COMMON-$(NEED_VSSCANF)          += vsscanf.c

getch = getch2.c
timer = timer-linux.c
ifeq ($(TARGET_WIN32),yes)
timer = timer-win2.c
endif
ifeq ($(TARGET_OS),Darwin)
timer = timer-darwin.c
endif
ifeq ($(TARGET_OS),MINGW32)
getch = getch2-win.c
endif
ifeq ($(TARGET_OS),OS/2)
getch = getch2-os2.c
ifneq ($(HAVE_SYS_MMAN_H),yes)
SRCS_COMMON += mmap-os2.c
endif
endif
SRCS_COMMON += $(timer)
SRCS_COMMON += $(getch)

include ../mpcommon.mak

mplayer-rc.o: mplayer.rc
	$(WINDRES) -o $@ $<