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/preinstall.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 '')
-rw-r--r-- | cpukit/preinstall.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/preinstall.am b/cpukit/preinstall.am index 95c02f1731..d1e93699ec 100644 --- a/cpukit/preinstall.am +++ b/cpukit/preinstall.am @@ -251,6 +251,10 @@ $(PROJECT_INCLUDE)/rtems/shellconfig.h: libmisc/shell/shellconfig.h $(PROJECT_IN $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/shellconfig.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/shellconfig.h endif +$(PROJECT_INCLUDE)/rtems/stringto.h: libmisc/stringto/stringto.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/stringto.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/stringto.h + $(PROJECT_INCLUDE)/rtems/libi2c.h: libi2c/libi2c.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/libi2c.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/libi2c.h |