summaryrefslogtreecommitdiff
path: root/nuttx/lib/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-07-01 17:37:11 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-07-01 17:37:11 +0000
commitbb6010366ded82475e1b7e2609646b46bb7c01e4 (patch)
treee788bf26d7883aecbc0ff4a9382f23012233283d /nuttx/lib/Makefile
parent4c95a2fbba7328b2c1e6664a0dc9954dfe056f0a (diff)
downloadpx4-nuttx-bb6010366ded82475e1b7e2609646b46bb7c01e4.tar.gz
px4-nuttx-bb6010366ded82475e1b7e2609646b46bb7c01e4.tar.bz2
px4-nuttx-bb6010366ded82475e1b7e2609646b46bb7c01e4.zip
Add basename, dirname, strrchr
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@301 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib/Makefile')
-rw-r--r--nuttx/lib/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/nuttx/lib/Makefile b/nuttx/lib/Makefile
index 107ab055c..7c34c3d2d 100644
--- a/nuttx/lib/Makefile
+++ b/nuttx/lib/Makefile
@@ -47,16 +47,17 @@ endif
STRING_SRCS = lib_memset.c lib_memcpy.c lib_memcmp.c lib_memmove.c \
lib_strcpy.c lib_strncpy.c lib_strcmp.c \
- lib_strlen.c lib_strdup.c lib_strtol.c lib_strchr.c \
+ lib_strlen.c lib_strdup.c lib_strtol.c lib_strchr.c lib_strrchr.c \
lib_strspn.c lib_strcspn.c \
lib_strtok.c lib_strtokr.c lib_strerror.c
-
+
CTYPE_SRCS =
STDIO_SRCS = lib_printf.c lib_rawprintf.c lib_lowprintf.c \
lib_sprintf.c lib_libsprintf.c lib_vsprintf.c lib_libvsprintf.c \
lib_memstream.c lib_lowstream.c lib_nullstream.c \
lib_sscanf.c
+
ifneq ($(CONFIG_NFILE_DESCRIPTORS),0)
STDIO_SRCS += lib_rawstream.c
ifneq ($(CONFIG_NFILE_STREAMS),0)
@@ -76,6 +77,8 @@ MATH_SRCS = lib_rint.c
UNISTD_SRCS = lib_getopt.c
+LIBGEN_SRCS = lib_basename.c lib_dirname.c
+
SQ_SRCS = sq_addlast.c sq_addfirst.c sq_addafter.c \
sq_rem.c sq_remlast.c sq_remfirst.c sq_remafter.c
@@ -83,7 +86,8 @@ DQ_SRCS = dq_addlast.c dq_addfirst.c dq_addafter.c dq_addbefore.c \
dq_rem.c dq_remlast.c dq_remfirst.c
CSRCS = $(MISC_SRCS) $(STRING_SRCS) $(CTYPE_SRCS) $(STDIO_SRCS) \
- $(STDLIB_SRCS) $(MATH_SRCS) $(UNISTD_SRCS) $(SQ_SRCS) $(DQ_SRCS)
+ $(STDLIB_SRCS) $(MATH_SRCS) $(UNISTD_SRCS) $(LIBGEN_SRCS) \
+ $(SQ_SRCS) $(DQ_SRCS)
COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)