aboutsummaryrefslogtreecommitdiffhomepage
path: root/osdep/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/Makefile')
-rw-r--r--osdep/Makefile34
1 files changed, 17 insertions, 17 deletions
diff --git a/osdep/Makefile b/osdep/Makefile
index 4f1351e531..079105f06f 100644
--- a/osdep/Makefile
+++ b/osdep/Makefile
@@ -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 @@ endif
ifeq ($(TARGET_OS),MINGW32)
getch = getch2-win.c
endif
-SRCS += $(timer)
-SRCS += $(getch)
+SRCS_COMMON += $(timer)
+SRCS_COMMON += $(getch)
include ../mpcommon.mak