Mercurial > mplayer.hg
diff osdep/Makefile @ 22528:8bcff5c7e387
Give more descriptive names to the source and library variables and split
between common, MPlayer-specific and MEncoder-specific parts.
author | diego |
---|---|
date | Tue, 13 Mar 2007 12:10:57 +0000 |
parents | 9879c4598744 |
children | 090ec2169aee |
line wrap: on
line diff
--- a/osdep/Makefile Tue Mar 13 10:33:33 2007 +0000 +++ b/osdep/Makefile Tue Mar 13 12:10:57 2007 +0000 @@ -1,23 +1,23 @@ include ../config.mak -LIBNAME = libosdep.a +LIBNAME_COMMON = libosdep.a -SRCS-$(HAVE_SYS_MMAN_H) += mmap_anon.c -SRCS-$(MACOSX_FINDER_SUPPORT) += macosx_finder_args.c -SRCS-$(STREAM_CACHE) += shmem.c +SRCS_COMMON-$(HAVE_SYS_MMAN_H) += mmap_anon.c +SRCS_COMMON-$(MACOSX_FINDER_SUPPORT) += macosx_finder_args.c +SRCS_COMMON-$(STREAM_CACHE) += shmem.c -SRCS-$(NEED_FSEEKO) += fseeko.c -SRCS-$(NEED_FTELLO) += ftello.c -SRCS-$(NEED_GETTIMEOFDAY) += gettimeofday.c -SRCS-$(NEED_GLOB) += glob-win.c -SRCS-$(NEED_SCANDIR) += scandir.c -SRCS-$(NEED_SETENV) += setenv.c -SRCS-$(NEED_STRLCAT) += strlcat.c -SRCS-$(NEED_STRLCPY) += strlcpy.c -SRCS-$(NEED_STRSEP) += strsep.c -SRCS-$(NEED_SWAB) += swab.c -SRCS-$(NEED_VSSCANF) += vsscanf.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_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 @@ -30,8 +30,8 @@ ifeq ($(TARGET_OS),MINGW32) getch = getch2-win.c endif -SRCS += $(timer) -SRCS += $(getch) +SRCS_COMMON += $(timer) +SRCS_COMMON += $(getch) include ../mpcommon.mak