[Mplayer-cvslog] CVS: main/osdep Makefile,1.9,1.10

Sascha Sommer CVS faust3 at mplayerhq.hu
Fri Apr 4 21:33:40 CEST 2003


Update of /cvsroot/mplayer/main/osdep
In directory mail:/var/tmp.root/cvs-serv31407/osdep

Modified Files:
	Makefile 
Log Message:
enable timer-win and getch2-win for mingw32

Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/osdep/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Makefile	19 Feb 2003 17:22:02 -0000	1.9
+++ Makefile	4 Apr 2003 19:33:18 -0000	1.10
@@ -3,7 +3,7 @@
 
 LIBNAME = libosdep.a
 
-SRCS=getch2.c shmem.c strsep.c vsscanf.c scandir.c # timer.c
+SRCS= shmem.c strsep.c vsscanf.c scandir.c gettimeofday.c # timer.c
 
 ifeq ($(TARGET_ARCH_X86),yes)
 ifeq ($(TARGET_OS),Linux)
@@ -11,11 +11,20 @@
 endif
 endif
 
+getch = getch2.c
+timer = timer-lx.c
 ifeq ($(MACOSX),yes)
-SRCS += timer-macosx.c
-else
-SRCS += timer-lx.c
+timer = timer-macosx.c
 endif
+ifeq ($(TARGET_CYGWIN),yes)
+timer = timer-win.c
+endif
+ifeq ($(TARGET_MINGW32),yes)
+timer = timer-win.c
+getch = getch2-win.c
+endif
+SRCS += $(timer)
+SRCS += $(getch)
 
 OBJS=$(SRCS:.c=.o)
 



More information about the MPlayer-cvslog mailing list