diff osdep/Makefile @ 21857:8d9e6b4fbf4d

Split strl.c into strl(cat|cpy).c and move #ifdefs into the build system.
author diego
date Wed, 10 Jan 2007 20:23:24 +0000
parents e268886eb13d
children c8a46062a210
line wrap: on
line diff
--- a/osdep/Makefile	Wed Jan 10 19:35:41 2007 +0000
+++ b/osdep/Makefile	Wed Jan 10 20:23:24 2007 +0000
@@ -3,8 +3,6 @@
 
 LIBNAME = libosdep.a
 
-SRCS= strl.c \
-
 SRCS-$(HAVE_SYS_MMAN_H)       += mmap_anon.c
 SRCS-$(MACOSX_FINDER_SUPPORT) += macosx_finder_args.c
 ifneq ($(TARGET_OS),MINGW32)
@@ -16,6 +14,8 @@
 SRCS-$(NEED_GETTIMEOFDAY)     += gettimeofday.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