Mercurial > mplayer.hg
view osdep/Makefile @ 22739:25586323a128
Include stdlib.h and string.h to fix the following warnings:
bmovl-test.c:22: warning: implicit declaration of function `strlen'
bmovl-test.c:64: warning: implicit declaration of function `exit'
bmovl-test.c:67: warning: implicit declaration of function `atoi'
bmovl-test.c:89: warning: implicit declaration of function `malloc'
bmovl-test.c:114: warning: implicit declaration of function `free'
author | diego |
---|---|
date | Tue, 20 Mar 2007 01:11:55 +0000 |
parents | bf78d0e672d3 |
children | 9fb716ab06a3 |
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_FSEEKO) += fseeko.c SRCS_COMMON-$(NEED_FTELLO) += ftello.c SRCS_COMMON-$(NEED_GETTIMEOFDAY) += gettimeofday.c SRCS_COMMON-$(NEED_GLOB) += glob-win.c SRCS_COMMON-$(NEED_SCANDIR) += scandir.c SRCS_COMMON-$(NEED_SETENV) += setenv.c SRCS_COMMON-$(NEED_SHMEM) += shmem.c SRCS_COMMON-$(NEED_STRLCAT) += strlcat.c SRCS_COMMON-$(NEED_STRLCPY) += strlcpy.c SRCS_COMMON-$(NEED_STRSEP) += strsep.c SRCS_COMMON-$(NEED_SWAB) += swab.c SRCS_COMMON-$(NEED_VSSCANF) += vsscanf.c getch = getch2.c timer = timer-lx.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 SRCS_COMMON += $(timer) SRCS_COMMON += $(getch) include ../mpcommon.mak mplayer-rc.o: mplayer.rc windres -o $@ $<