Mercurial > mplayer.hg
comparison osdep/Makefile @ 9830:e2134d2f18fb
enable timer-win and getch2-win for mingw32
author | faust3 |
---|---|
date | Fri, 04 Apr 2003 19:33:18 +0000 |
parents | 350b660ef93c |
children | 14c92818ab75 |
comparison
equal
deleted
inserted
replaced
9829:0f2cc9ef24f6 | 9830:e2134d2f18fb |
---|---|
1 | 1 |
2 include ../config.mak | 2 include ../config.mak |
3 | 3 |
4 LIBNAME = libosdep.a | 4 LIBNAME = libosdep.a |
5 | 5 |
6 SRCS=getch2.c shmem.c strsep.c vsscanf.c scandir.c # timer.c | 6 SRCS= shmem.c strsep.c vsscanf.c scandir.c gettimeofday.c # timer.c |
7 | 7 |
8 ifeq ($(TARGET_ARCH_X86),yes) | 8 ifeq ($(TARGET_ARCH_X86),yes) |
9 ifeq ($(TARGET_OS),Linux) | 9 ifeq ($(TARGET_OS),Linux) |
10 SRCS += lrmi.c vbelib.c | 10 SRCS += lrmi.c vbelib.c |
11 endif | 11 endif |
12 endif | 12 endif |
13 | 13 |
14 getch = getch2.c | |
15 timer = timer-lx.c | |
14 ifeq ($(MACOSX),yes) | 16 ifeq ($(MACOSX),yes) |
15 SRCS += timer-macosx.c | 17 timer = timer-macosx.c |
16 else | |
17 SRCS += timer-lx.c | |
18 endif | 18 endif |
19 ifeq ($(TARGET_CYGWIN),yes) | |
20 timer = timer-win.c | |
21 endif | |
22 ifeq ($(TARGET_MINGW32),yes) | |
23 timer = timer-win.c | |
24 getch = getch2-win.c | |
25 endif | |
26 SRCS += $(timer) | |
27 SRCS += $(getch) | |
19 | 28 |
20 OBJS=$(SRCS:.c=.o) | 29 OBJS=$(SRCS:.c=.o) |
21 | 30 |
22 CFLAGS = $(OPTFLAGS) -I. -I.. $(EXTRA_INC) | 31 CFLAGS = $(OPTFLAGS) -I. -I.. $(EXTRA_INC) |
23 # -I/usr/X11R6/include/ | 32 # -I/usr/X11R6/include/ |