diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-22 14:26:25 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-22 14:26:25 +0000 |
commit | e8d59ca6af8991e23309bddd9b200f06c0e9d4a7 (patch) | |
tree | bb62e4d5839ba93747af34afc2ae28cce03c48f2 /cpukit/libmisc/Makefile.am | |
parent | 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-e8d59ca6af8991e23309bddd9b200f06c0e9d4a7.tar.bz2 |
2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am, libmisc/Makefile.am, wrapup/Makefile.am:
Add the stringto family of string to number converters. These are
error checking wrappers for the strtoXXX methods and do their best to
return false if the conversion failed. The error checking required
for this is tedious and error prone. Hence better to have in a family
of helper routines.
* libmisc/stringto/stringto.h, libmisc/stringto/stringto_template.h,
libmisc/stringto/stringtodouble.c, libmisc/stringto/stringtofloat.c,
libmisc/stringto/stringtoint.c, libmisc/stringto/stringtolong.c,
libmisc/stringto/stringtolonglong.c,
libmisc/stringto/stringtounsignedchar.c,
libmisc/stringto/stringtounsignedint.c,
libmisc/stringto/stringtounsignedlong.c,
libmisc/stringto/stringtounsignedlonglong.c: New files.
Diffstat (limited to 'cpukit/libmisc/Makefile.am')
-rw-r--r-- | cpukit/libmisc/Makefile.am | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/cpukit/libmisc/Makefile.am b/cpukit/libmisc/Makefile.am index 85f7e79e7f..a84699f5bd 100644 --- a/cpukit/libmisc/Makefile.am +++ b/cpukit/libmisc/Makefile.am @@ -87,8 +87,8 @@ libshell_a_SOURCES = shell/cat_file.c shell/cmds.c shell/internal.h \ shell/fts.c shell/print_heapinfo.c shell/main_wkspaceinfo.c \ shell/shell_script.c shell/login_prompt.c shell/login_check.c \ shell/fdisk.c shell/main_rtc.c \ - shell/dd-args.c shell/main_dd.c shell/dd-conv.c shell/dd-conv_tab.c shell/dd-misc.c \ - shell/dd-position.c \ + shell/dd-args.c shell/main_dd.c shell/dd-conv.c shell/dd-conv_tab.c \ + shell/dd-misc.c shell/dd-position.c \ shell/main_hexdump.c shell/hexdump-conv.c shell/hexdump-display.c \ shell/hexdump-odsyntax.c shell/hexdump-parse.c shell/hexsyntax.c \ shell/main_time.c @@ -126,26 +126,25 @@ libuntar_a_SOURCES = untar/untar.c untar/untar.h EXTRA_DIST += untar/README +## stringto +noinst_LIBRARIES += libstringto.a +libstringto_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/stringto +libstringto_a_SOURCES = stringto/stringtodouble.c stringto/stringtofloat.c \ + stringto/stringtoint.c stringto/stringtolong.c stringto/stringtolonglong.c \ + stringto/stringtounsignedchar.c stringto/stringtounsignedint.c \ + stringto/stringtounsignedlong.c stringto/stringtounsignedlonglong.c + +EXTRA_DIST += stringto/stringto_template.h + ## fsmount noinst_LIBRARIES += libfsmount.a libfsmount_a_SOURCES = fsmount/fsmount.c fsmount/fsmount.h -EXTRA_DIST += fsmount/README - ## uuid noinst_LIBRARIES += libuuid.a -libuuid_a_SOURCES = uuid/clear.c \ - uuid/compare.c \ - uuid/copy.c \ - uuid/gen_uuid.c \ - uuid/isnull.c \ - uuid/pack.c \ - uuid/parse.c \ - uuid/unpack.c \ - uuid/unparse.c \ - uuid/uuid_time.c \ - uuid/uuidd.h \ - uuid/uuidP.h +libuuid_a_SOURCES = uuid/clear.c uuid/compare.c uuid/copy.c uuid/gen_uuid.c \ + uuid/isnull.c uuid/pack.c uuid/parse.c uuid/unpack.c uuid/unparse.c \ + uuid/uuid_time.c uuid/uuidd.h uuid/uuidP.h ## --- include $(srcdir)/preinstall.am |