view osdep/Makefile @ 26319:b90151a7dcbb

Move decision about which getch2 and timer file to compile to configure.
author diego
date Tue, 08 Apr 2008 18:03:14 +0000
parents 7e0162c50768
children
line wrap: on
line source

include ../config.mak

LIBNAME_COMMON = libosdep.a

SRCS_COMMON                          += $(GETCH)
SRCS_COMMON                          += $(TIMER)

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_MMAP)             += mmap-os2.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

include ../mpcommon.mak

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