Subversion Repositories svnkaklik

Compare Revisions

No changes between revisions

Ignore whitespace Rev 555 → Rev 556

/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeCCompiler.cmake
0,0 → 1,36
SET(CMAKE_C_COMPILER "/usr/bin/gcc")
SET(CMAKE_C_COMPILER_ARG1 "")
SET(CMAKE_C_COMPILER_ID "GNU")
SET(CMAKE_C_PLATFORM_ID "Linux")
SET(CMAKE_AR "/usr/bin/ar")
SET(CMAKE_RANLIB "/usr/bin/ranlib")
SET(CMAKE_COMPILER_IS_GNUCC 1)
SET(CMAKE_C_COMPILER_LOADED 1)
SET(CMAKE_COMPILER_IS_MINGW )
SET(CMAKE_COMPILER_IS_CYGWIN )
IF(CMAKE_COMPILER_IS_CYGWIN)
SET(CYGWIN 1)
SET(UNIX 1)
ENDIF(CMAKE_COMPILER_IS_CYGWIN)
 
SET(CMAKE_C_COMPILER_ENV_VAR "CC")
 
IF(CMAKE_COMPILER_IS_MINGW)
SET(MINGW 1)
ENDIF(CMAKE_COMPILER_IS_MINGW)
SET(CMAKE_C_COMPILER_ID_RUN 1)
SET(CMAKE_C_SOURCE_FILE_EXTENSIONS c)
SET(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
SET(CMAKE_C_LINKER_PREFERENCE 10)
 
# Save compiler ABI information.
SET(CMAKE_C_SIZEOF_DATA_PTR "4")
SET(CMAKE_C_COMPILER_ABI "ELF")
 
IF(CMAKE_C_SIZEOF_DATA_PTR)
SET(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
ENDIF(CMAKE_C_SIZEOF_DATA_PTR)
 
IF(CMAKE_C_COMPILER_ABI)
SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
ENDIF(CMAKE_C_COMPILER_ABI)
/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeCXXCompiler.cmake
0,0 → 1,36
SET(CMAKE_CXX_COMPILER "/usr/bin/c++")
SET(CMAKE_CXX_COMPILER_ARG1 "")
SET(CMAKE_CXX_COMPILER_ID "GNU")
SET(CMAKE_CXX_PLATFORM_ID "Linux")
SET(CMAKE_AR "/usr/bin/ar")
SET(CMAKE_RANLIB "/usr/bin/ranlib")
SET(CMAKE_COMPILER_IS_GNUCXX 1)
SET(CMAKE_CXX_COMPILER_LOADED 1)
SET(CMAKE_COMPILER_IS_MINGW )
SET(CMAKE_COMPILER_IS_CYGWIN )
IF(CMAKE_COMPILER_IS_CYGWIN)
SET(CYGWIN 1)
SET(UNIX 1)
ENDIF(CMAKE_COMPILER_IS_CYGWIN)
 
SET(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
 
IF(CMAKE_COMPILER_IS_MINGW)
SET(MINGW 1)
ENDIF(CMAKE_COMPILER_IS_MINGW)
SET(CMAKE_CXX_COMPILER_ID_RUN 1)
SET(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;H;o;O;obj;OBJ;def;DEF;rc;RC)
SET(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm)
SET(CMAKE_CXX_LINKER_PREFERENCE 30)
 
# Save compiler ABI information.
SET(CMAKE_CXX_SIZEOF_DATA_PTR "4")
SET(CMAKE_CXX_COMPILER_ABI "ELF")
 
IF(CMAKE_CXX_SIZEOF_DATA_PTR)
SET(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
ENDIF(CMAKE_CXX_SIZEOF_DATA_PTR)
 
IF(CMAKE_CXX_COMPILER_ABI)
SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
ENDIF(CMAKE_CXX_COMPILER_ABI)
/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeDetermineCompilerABI_C.bin
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeDirectoryInformation.cmake
0,0 → 1,21
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.6
 
# Relative path conversion top directories.
SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar")
SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar")
 
# Force unix paths in dependencies.
SET(CMAKE_FORCE_UNIX_PATHS 1)
 
# The C and CXX include file search paths:
SET(CMAKE_C_INCLUDE_PATH
)
SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
 
# The C and CXX include file regular expressions for this directory.
SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeOutput.log
0,0 → 1,89
The system is: Linux - 2.6.28-15-generic - i686
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/gcc
Build flags:
Id flags:
 
The output was:
 
 
 
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
 
The C compiler identification is GNU, found in "/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CompilerIdC/a.out"
 
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/c++
Build flags:
Id flags:
 
The output was:
 
CMakeCXXCompilerId.cpp:67: warning: deprecated conversion from string constant to ‘char*’
CMakeCXXCompilerId.cpp:151: warning: deprecated conversion from string constant to ‘char*’
 
 
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
 
The CXX compiler identification is GNU, found in "/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CompilerIdCXX/a.out"
 
Determining if the C compiler works passed with the following output:
Change Dir: /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp
 
Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory `/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/gcc CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -o cmTryCompileExec -rdynamic
make[1]: Leaving directory `/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp'
 
 
Detecting C compiler ABI info compiled with the following output:
Change Dir: /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp
 
Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory `/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-2.6/Modules/CMakeCCompilerABI.c
Linking C executable cmTryCompileExec
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/gcc CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec -rdynamic
make[1]: Leaving directory `/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp'
 
 
Determining if the CXX compiler works passed with the following output:
Change Dir: /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp
 
Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory `/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -c /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTryCompileExec
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -o cmTryCompileExec -rdynamic
make[1]: Leaving directory `/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp'
 
 
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp
 
Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory `/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.6/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTryCompileExec
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec -rdynamic
make[1]: Leaving directory `/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeTmp'
 
 
/programy/C/ix86/echo/SW/sonar/CMakeFiles/CMakeSystem.cmake
0,0 → 1,15
 
 
SET(CMAKE_SYSTEM "Linux-2.6.28-15-generic")
SET(CMAKE_SYSTEM_NAME "Linux")
SET(CMAKE_SYSTEM_VERSION "2.6.28-15-generic")
SET(CMAKE_SYSTEM_PROCESSOR "i686")
 
SET(CMAKE_HOST_SYSTEM "Linux-2.6.28-15-generic")
SET(CMAKE_HOST_SYSTEM_NAME "Linux")
SET(CMAKE_HOST_SYSTEM_VERSION "2.6.28-15-generic")
SET(CMAKE_HOST_SYSTEM_PROCESSOR "i686")
 
SET(CMAKE_CROSSCOMPILING "FALSE")
 
SET(CMAKE_SYSTEM_LOADED 1)
/programy/C/ix86/echo/SW/sonar/CMakeFiles/CompilerIdC/CMakeCCompilerId.c
0,0 → 1,176
#ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif
 
#if defined(__18CXX)
# define ID_VOID_MAIN
#endif
 
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
 
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
 
#elif defined(__WATCOMC__)
# define COMPILER_ID "Watcom"
 
#elif defined(__SUNPRO_C)
# define COMPILER_ID "SunPro"
 
#elif defined(__HP_cc)
# define COMPILER_ID "HP"
 
#elif defined(__DECC)
# define COMPILER_ID "Compaq"
 
#elif defined(__IBMC__)
# define COMPILER_ID "VisualAge"
 
#elif defined(__PGI)
# define COMPILER_ID "PGI"
 
#elif defined(__GNUC__)
# define COMPILER_ID "GNU"
 
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
 
#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
SHARC (21000) DSPs */
# define COMPILER_ID "ADSP"
 
/* IAR Systems compiler for embedded systems.
http://www.iar.com
Not supported yet by CMake
#elif defined(__IAR_SYSTEMS_ICC__)
# define COMPILER_ID "IAR" */
 
/* sdcc, the small devices C compiler for embedded systems,
http://sdcc.sourceforge.net */
#elif defined(SDCC)
# define COMPILER_ID "SDCC"
 
#elif defined(_COMPILER_VERSION)
# define COMPILER_ID "MIPSpro"
 
/* This compiler is either not known or is too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__sgi)
# define COMPILER_ID "MIPSpro"
 
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
 
#else /* unknown compiler */
# define COMPILER_ID ""
 
#endif
 
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
 
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
 
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
 
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
 
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
 
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
 
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
 
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
 
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
 
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
 
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
 
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
# define PLATFORM_ID "IRIX"
 
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
 
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
 
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
 
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
 
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
 
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
 
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
 
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
 
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
 
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
 
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
 
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
 
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
 
#else /* unknown platform */
# define PLATFORM_ID ""
 
#endif
 
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
 
 
/*--------------------------------------------------------------------------*/
 
#ifdef ID_VOID_MAIN
void main() {}
#else
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
(void)argv;
return require;
}
#endif
/programy/C/ix86/echo/SW/sonar/CMakeFiles/CompilerIdC/a.out
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/programy/C/ix86/echo/SW/sonar/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp
0,0 → 1,163
/* This source file must have a .cpp extension so that all C++ compilers
recognize the extension without flags. Borland does not know .cxx for
example. */
#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif
 
#if defined(__COMO__)
# define COMPILER_ID "Comeau"
 
#elif defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
 
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
 
#elif defined(__WATCOMC__)
# define COMPILER_ID "Watcom"
 
#elif defined(__SUNPRO_CC)
# define COMPILER_ID "SunPro"
 
#elif defined(__HP_aCC)
# define COMPILER_ID "HP"
 
#elif defined(__DECCXX)
# define COMPILER_ID "Compaq"
 
#elif defined(__IBMCPP__)
# define COMPILER_ID "VisualAge"
 
#elif defined(__PGI)
# define COMPILER_ID "PGI"
 
#elif defined(__GNUC__)
# define COMPILER_ID "GNU"
 
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
 
#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
SHARC (21000) DSPs */
# define COMPILER_ID "ADSP"
 
#elif defined(_COMPILER_VERSION)
# define COMPILER_ID "MIPSpro"
 
/* This compiler is either not known or is too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__sgi)
# define COMPILER_ID "MIPSpro"
 
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
 
#else /* unknown compiler */
# define COMPILER_ID ""
 
#endif
 
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
 
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
 
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
 
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
 
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
 
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
 
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
 
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
 
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
 
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
 
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
 
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
# define PLATFORM_ID "IRIX"
 
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
 
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
 
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
 
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
 
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
 
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
 
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
 
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
 
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
 
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
 
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
 
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
 
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
 
#else /* unknown platform */
# define PLATFORM_ID ""
 
#endif
 
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
 
 
/*--------------------------------------------------------------------------*/
 
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
(void)argv;
return require;
}
/programy/C/ix86/echo/SW/sonar/CMakeFiles/CompilerIdCXX/a.out
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/programy/C/ix86/echo/SW/sonar/CMakeFiles/Makefile.cmake
0,0 → 1,48
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.6
 
# The generator used is:
SET(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
 
# The top level Makefile was generated from the following files:
SET(CMAKE_MAKEFILE_DEPENDS
"CMakeCache.txt"
"CMakeFiles/CMakeCCompiler.cmake"
"CMakeFiles/CMakeCXXCompiler.cmake"
"CMakeFiles/CMakeSystem.cmake"
"CMakeLists.txt"
"/usr/share/cmake-2.6/Modules/CMakeCCompiler.cmake.in"
"/usr/share/cmake-2.6/Modules/CMakeCCompilerABI.c"
"/usr/share/cmake-2.6/Modules/CMakeCInformation.cmake"
"/usr/share/cmake-2.6/Modules/CMakeCXXCompiler.cmake.in"
"/usr/share/cmake-2.6/Modules/CMakeCXXCompilerABI.cpp"
"/usr/share/cmake-2.6/Modules/CMakeCXXInformation.cmake"
"/usr/share/cmake-2.6/Modules/CMakeCommonLanguageInclude.cmake"
"/usr/share/cmake-2.6/Modules/CMakeDetermineCCompiler.cmake"
"/usr/share/cmake-2.6/Modules/CMakeDetermineCXXCompiler.cmake"
"/usr/share/cmake-2.6/Modules/CMakeDetermineCompilerABI.cmake"
"/usr/share/cmake-2.6/Modules/CMakeDetermineCompilerId.cmake"
"/usr/share/cmake-2.6/Modules/CMakeDetermineSystem.cmake"
"/usr/share/cmake-2.6/Modules/CMakeFindBinUtils.cmake"
"/usr/share/cmake-2.6/Modules/CMakeGenericSystem.cmake"
"/usr/share/cmake-2.6/Modules/CMakeSystem.cmake.in"
"/usr/share/cmake-2.6/Modules/CMakeSystemSpecificInformation.cmake"
"/usr/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake"
"/usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake"
"/usr/share/cmake-2.6/Modules/CMakeUnixFindMake.cmake"
"/usr/share/cmake-2.6/Modules/Platform/Linux.cmake"
"/usr/share/cmake-2.6/Modules/Platform/UnixPaths.cmake"
"/usr/share/cmake-2.6/Modules/Platform/gcc.cmake"
)
 
# The corresponding makefile is:
SET(CMAKE_MAKEFILE_OUTPUTS
"Makefile"
"CMakeFiles/cmake.check_cache"
"CMakeFiles/CMakeDirectoryInformation.cmake"
)
 
# Dependency information for all targets:
SET(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/sonar.dir/DependInfo.cmake"
)
/programy/C/ix86/echo/SW/sonar/CMakeFiles/Makefile2
0,0 → 1,102
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.6
 
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
 
# The main recursive all target
all:
.PHONY : all
 
# The main recursive preinstall target
preinstall:
.PHONY : preinstall
 
#=============================================================================
# Special targets provided by cmake.
 
# Disable implicit rules so canoncical targets will work.
.SUFFIXES:
 
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
 
.SUFFIXES: .hpux_make_needs_suffix_list
 
# Produce verbose output by default.
VERBOSE = 1
 
# Suppress display of executed commands.
$(VERBOSE).SILENT:
 
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
 
#=============================================================================
# Set environment variables for the build.
 
# The shell in which to execute make rules.
SHELL = /bin/sh
 
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
 
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
 
# The program to use to edit the cache.
CMAKE_EDIT_COMMAND = /usr/bin/ccmake
 
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar
 
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar
 
#=============================================================================
# Target rules for target CMakeFiles/sonar.dir
 
# All Build rule for target.
CMakeFiles/sonar.dir/all:
$(MAKE) -f CMakeFiles/sonar.dir/build.make CMakeFiles/sonar.dir/depend
$(MAKE) -f CMakeFiles/sonar.dir/build.make CMakeFiles/sonar.dir/build
$(CMAKE_COMMAND) -E cmake_progress_report /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles 1
@echo "Built target sonar"
.PHONY : CMakeFiles/sonar.dir/all
 
# Include target in all.
all: CMakeFiles/sonar.dir/all
.PHONY : all
 
# Build rule for subdir invocation for target.
CMakeFiles/sonar.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles 1
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/sonar.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles 0
.PHONY : CMakeFiles/sonar.dir/rule
 
# Convenience name for target.
sonar: CMakeFiles/sonar.dir/rule
.PHONY : sonar
 
# clean rule for target.
CMakeFiles/sonar.dir/clean:
$(MAKE) -f CMakeFiles/sonar.dir/build.make CMakeFiles/sonar.dir/clean
.PHONY : CMakeFiles/sonar.dir/clean
 
# clean rule for target.
clean: CMakeFiles/sonar.dir/clean
.PHONY : clean
 
#=============================================================================
# Special targets to cleanup operation of make.
 
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system
 
/programy/C/ix86/echo/SW/sonar/CMakeFiles/Progress/1
0,0 → 1,0
empty
/programy/C/ix86/echo/SW/sonar/CMakeFiles/Progress/count.txt
0,0 → 1,0
1
/programy/C/ix86/echo/SW/sonar/CMakeFiles/cmake.check_cache
0,0 → 1,0
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
/programy/C/ix86/echo/SW/sonar/CMakeFiles/progress.make
0,0 → 1,0
1
/programy/C/ix86/echo/SW/sonar/CMakeFiles/sonar.dir/C.includecache
0,0 → 1,16
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
 
#IncludeRegexScan: ^.*$
 
#IncludeRegexComplain: ^$
 
#IncludeRegexTransform:
 
/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/main.c
config.h
-
stdio.h
-
stdlib.h
-
 
/programy/C/ix86/echo/SW/sonar/CMakeFiles/sonar.dir/DependInfo.cmake
0,0 → 1,13
# The set of languages for which implicit dependencies are needed:
SET(CMAKE_DEPENDS_LANGUAGES
"C"
)
# The set of files for implicit dependencies of each language:
SET(CMAKE_DEPENDS_CHECK_C
"/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/main.c" "/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/sonar.dir/main.o"
)
SET(CMAKE_C_COMPILER_ID "GNU")
 
# Targets to which this target links.
SET(CMAKE_TARGET_LINKED_INFO_FILES
)
/programy/C/ix86/echo/SW/sonar/CMakeFiles/sonar.dir/build.make
0,0 → 1,106
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.6
 
#=============================================================================
# Special targets provided by cmake.
 
# Disable implicit rules so canoncical targets will work.
.SUFFIXES:
 
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
 
.SUFFIXES: .hpux_make_needs_suffix_list
 
# Produce verbose output by default.
VERBOSE = 1
 
# Suppress display of executed commands.
$(VERBOSE).SILENT:
 
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
 
#=============================================================================
# Set environment variables for the build.
 
# The shell in which to execute make rules.
SHELL = /bin/sh
 
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
 
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
 
# The program to use to edit the cache.
CMAKE_EDIT_COMMAND = /usr/bin/ccmake
 
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar
 
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar
 
# Include any dependencies generated for this target.
include CMakeFiles/sonar.dir/depend.make
 
# Include the progress variables for this target.
include CMakeFiles/sonar.dir/progress.make
 
# Include the compile flags for this target's objects.
include CMakeFiles/sonar.dir/flags.make
 
CMakeFiles/sonar.dir/main.o: CMakeFiles/sonar.dir/flags.make
CMakeFiles/sonar.dir/main.o: main.c
$(CMAKE_COMMAND) -E cmake_progress_report /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles $(CMAKE_PROGRESS_1)
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object CMakeFiles/sonar.dir/main.o"
/usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/sonar.dir/main.o -c /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/main.c
 
CMakeFiles/sonar.dir/main.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/sonar.dir/main.i"
/usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/main.c > CMakeFiles/sonar.dir/main.i
 
CMakeFiles/sonar.dir/main.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/sonar.dir/main.s"
/usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/main.c -o CMakeFiles/sonar.dir/main.s
 
CMakeFiles/sonar.dir/main.o.requires:
.PHONY : CMakeFiles/sonar.dir/main.o.requires
 
CMakeFiles/sonar.dir/main.o.provides: CMakeFiles/sonar.dir/main.o.requires
$(MAKE) -f CMakeFiles/sonar.dir/build.make CMakeFiles/sonar.dir/main.o.provides.build
.PHONY : CMakeFiles/sonar.dir/main.o.provides
 
CMakeFiles/sonar.dir/main.o.provides.build: CMakeFiles/sonar.dir/main.o
.PHONY : CMakeFiles/sonar.dir/main.o.provides.build
 
# Object files for target sonar
sonar_OBJECTS = \
"CMakeFiles/sonar.dir/main.o"
 
# External object files for target sonar
sonar_EXTERNAL_OBJECTS =
 
sonar: CMakeFiles/sonar.dir/main.o
sonar: CMakeFiles/sonar.dir/build.make
sonar: CMakeFiles/sonar.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C executable sonar"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/sonar.dir/link.txt --verbose=$(VERBOSE)
 
# Rule to build all files generated by this target.
CMakeFiles/sonar.dir/build: sonar
.PHONY : CMakeFiles/sonar.dir/build
 
CMakeFiles/sonar.dir/requires: CMakeFiles/sonar.dir/main.o.requires
.PHONY : CMakeFiles/sonar.dir/requires
 
CMakeFiles/sonar.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/sonar.dir/cmake_clean.cmake
.PHONY : CMakeFiles/sonar.dir/clean
 
CMakeFiles/sonar.dir/depend:
cd /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/sonar.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/sonar.dir/depend
 
/programy/C/ix86/echo/SW/sonar/CMakeFiles/sonar.dir/cmake_clean.cmake
0,0 → 1,10
FILE(REMOVE_RECURSE
"CMakeFiles/sonar.dir/main.o"
"sonar.pdb"
"sonar"
)
 
# Per-language clean rules from dependency scanning.
FOREACH(lang C)
INCLUDE(CMakeFiles/sonar.dir/cmake_clean_${lang}.cmake OPTIONAL)
ENDFOREACH(lang)
/programy/C/ix86/echo/SW/sonar/CMakeFiles/sonar.dir/depend.internal
0,0 → 1,5
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.6
 
CMakeFiles/sonar.dir/main.o
/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/main.c
/programy/C/ix86/echo/SW/sonar/CMakeFiles/sonar.dir/depend.make
0,0 → 1,5
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.6
 
CMakeFiles/sonar.dir/main.o: main.c
 
/programy/C/ix86/echo/SW/sonar/CMakeFiles/sonar.dir/flags.make
0,0 → 1,8
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.6
 
# compile C with /usr/bin/gcc
C_FLAGS = -Wall -O2
 
C_DEFINES =
 
/programy/C/ix86/echo/SW/sonar/CMakeFiles/sonar.dir/link.txt
0,0 → 1,0
/usr/bin/gcc CMakeFiles/sonar.dir/main.o -o sonar -rdynamic
/programy/C/ix86/echo/SW/sonar/CMakeFiles/sonar.dir/progress.make
0,0 → 1,2
CMAKE_PROGRESS_1 = 1
 
/programy/C/ix86/echo/SW/sonar/CMakeLists.txt
0,0 → 1,14
PROJECT(sonar)
 
#if you don't want the full compiler output, remove the following line
SET(CMAKE_VERBOSE_MAKEFILE ON)
 
#add definitions, compiler switches, etc.
ADD_DEFINITIONS(-Wall -O2)
 
#list all source files here
ADD_EXECUTABLE(sonar main.c)
#need to link to some other libraries ? just add them here
#TARGET_LINK_LIBRARIES(sonar png jpeg)
 
/programy/C/ix86/echo/SW/sonar/COPYING
0,0 → 1,340
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
 
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
 
Preamble
 
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
 
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
 
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
 
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
 
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
 
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
 
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
 
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
 
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
 
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
 
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
 
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
 
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
 
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
 
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
 
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
 
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
 
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
 
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
 
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
 
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
 
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
 
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
 
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
 
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
 
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
 
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
 
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
 
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
 
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
 
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
 
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
 
NO WARRANTY
 
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
 
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
 
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
 
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
 
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
 
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
 
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
 
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
 
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 
Also add information on how to contact you by electronic and paper mail.
 
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
 
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
 
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
 
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
 
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
 
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
 
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
/programy/C/ix86/echo/SW/sonar/Doxyfile
0,0 → 1,316
# Doxyfile 1.5.6-KDevelop
 
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = sonar
PROJECT_NUMBER = $VERSION$
OUTPUT_DIRECTORY =
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = YES
ABBREVIATE_BRIEF = "The $name class" \
"The $name widget" \
"The $name file" \
is \
provides \
specifies \
contains \
represents \
a \
an \
the
ALWAYS_DETAILED_SEC = NO
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = YES
STRIP_FROM_PATH = /home/kaklik/
STRIP_FROM_INC_PATH =
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = NO
QT_AUTOBRIEF = NO
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = NO
INHERIT_DOCS = YES
SEPARATE_MEMBER_PAGES = NO
TAB_SIZE = 8
ALIASES =
OPTIMIZE_OUTPUT_FOR_C = NO
OPTIMIZE_OUTPUT_JAVA = NO
OPTIMIZE_FOR_FORTRAN = NO
OPTIMIZE_OUTPUT_VHDL = NO
BUILTIN_STL_SUPPORT = NO
CPP_CLI_SUPPORT = NO
SIP_SUPPORT = NO
IDL_PROPERTY_SUPPORT = YES
DISTRIBUTE_GROUP_DOC = NO
SUBGROUPING = YES
TYPEDEF_HIDES_STRUCT = NO
SYMBOL_CACHE_SIZE = 0
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
EXTRACT_ALL = NO
EXTRACT_PRIVATE = NO
EXTRACT_STATIC = NO
EXTRACT_LOCAL_CLASSES = YES
EXTRACT_LOCAL_METHODS = NO
EXTRACT_ANON_NSPACES = NO
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
HIDE_FRIEND_COMPOUNDS = NO
HIDE_IN_BODY_DOCS = NO
INTERNAL_DOCS = NO
CASE_SENSE_NAMES = YES
HIDE_SCOPE_NAMES = NO
SHOW_INCLUDE_FILES = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = YES
SORT_BRIEF_DOCS = NO
SORT_GROUP_NAMES = NO
SORT_BY_SCOPE_NAME = NO
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30
SHOW_USED_FILES = YES
SHOW_DIRECTORIES = NO
SHOW_FILES = YES
SHOW_NAMESPACES = YES
FILE_VERSION_FILTER =
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES
WARN_NO_PARAMDOC = NO
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar
INPUT_ENCODING = UTF-8
FILE_PATTERNS = *.c \
*.cc \
*.cxx \
*.cpp \
*.c++ \
*.d \
*.java \
*.ii \
*.ixx \
*.ipp \
*.i++ \
*.inl \
*.h \
*.hh \
*.hxx \
*.hpp \
*.h++ \
*.idl \
*.odl \
*.cs \
*.php \
*.php3 \
*.inc \
*.m \
*.mm \
*.dox \
*.py \
*.f90 \
*.f \
*.vhd \
*.vhdl \
*.C \
*.CC \
*.C++ \
*.II \
*.I++ \
*.H \
*.HH \
*.H++ \
*.CS \
*.PHP \
*.PHP3 \
*.M \
*.MM \
*.PY \
*.F90 \
*.F \
*.VHD \
*.VHDL \
*.C \
*.H \
*.tlh \
*.diff \
*.patch \
*.moc \
*.xpm \
*.dox
RECURSIVE = yes
EXCLUDE =
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXCLUDE_SYMBOLS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS = *
EXAMPLE_RECURSIVE = NO
IMAGE_PATH =
INPUT_FILTER =
FILTER_PATTERNS =
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = NO
INLINE_SOURCES = NO
STRIP_CODE_COMMENTS = YES
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES
REFERENCES_LINK_SOURCE = YES
USE_HTAGS = NO
VERBATIM_HEADERS = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX = NO
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
GENERATE_DOCSET = NO
DOCSET_FEEDNAME = "Doxygen generated docs"
DOCSET_BUNDLE_ID = org.doxygen.Project
HTML_DYNAMIC_SECTIONS = NO
CHM_FILE =
HHC_LOCATION =
QTHELP_FILE =
QTHELP_CONFIG =
DOXYGEN2QTHELP_LOC =
GENERATE_CHI = NO
CHM_INDEX_ENCODING =
BINARY_TOC = NO
TOC_EXPAND = NO
DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 4
GENERATE_TREEVIEW = NONE
TREEVIEW_WIDTH = 250
FORMULA_FONTSIZE = 10
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX = YES
LATEX_OUTPUT = latex
LATEX_CMD_NAME = latex
MAKEINDEX_CMD_NAME = makeindex
COMPACT_LATEX = NO
PAPER_TYPE = a4wide
EXTRA_PACKAGES =
LATEX_HEADER =
PDF_HYPERLINKS = NO
USE_PDFLATEX = NO
LATEX_BATCHMODE = NO
LATEX_HIDE_INDICES = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF = NO
RTF_OUTPUT = rtf
COMPACT_RTF = NO
RTF_HYPERLINKS = NO
RTF_STYLESHEET_FILE =
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN = NO
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML = yes
XML_OUTPUT = xml
XML_SCHEMA =
XML_DTD =
XML_PROGRAMLISTING = YES
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# configuration options related to the Perl module output
#---------------------------------------------------------------------------
GENERATE_PERLMOD = NO
PERLMOD_LATEX = NO
PERLMOD_PRETTY = YES
PERLMOD_MAKEVAR_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::additions related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE = sonar.tag
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = YES
MSCGEN_PATH =
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = NO
DOT_FONTNAME = FreeSans
DOT_FONTPATH =
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
GROUP_GRAPHS = YES
UML_LOOK = NO
TEMPLATE_RELATIONS = NO
INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = YES
CALL_GRAPH = NO
CALLER_GRAPH = NO
GRAPHICAL_HIERARCHY = YES
DIRECTORY_GRAPH = YES
DOT_IMAGE_FORMAT = png
DOT_PATH =
DOTFILE_DIRS =
DOT_GRAPH_MAX_NODES = 50
MAX_DOT_GRAPH_DEPTH = 1000
DOT_TRANSPARENT = NO
DOT_MULTI_TARGETS = NO
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::additions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE = NO
/programy/C/ix86/echo/SW/sonar/Makefile
0,0 → 1,157
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.6
 
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
 
#=============================================================================
# Special targets provided by cmake.
 
# Disable implicit rules so canoncical targets will work.
.SUFFIXES:
 
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
 
.SUFFIXES: .hpux_make_needs_suffix_list
 
# Produce verbose output by default.
VERBOSE = 1
 
# Suppress display of executed commands.
$(VERBOSE).SILENT:
 
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
 
#=============================================================================
# Set environment variables for the build.
 
# The shell in which to execute make rules.
SHELL = /bin/sh
 
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
 
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
 
# The program to use to edit the cache.
CMAKE_EDIT_COMMAND = /usr/bin/ccmake
 
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar
 
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar
 
#=============================================================================
# Targets provided globally by CMake.
 
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
/usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : edit_cache
 
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
 
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
 
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
 
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles/progress.make
$(MAKE) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/CMakeFiles 0
.PHONY : all
 
# The main clean target
clean:
$(MAKE) -f CMakeFiles/Makefile2 clean
.PHONY : clean
 
# The main clean target
clean/fast: clean
.PHONY : clean/fast
 
# Prepare targets for installation.
preinstall: all
$(MAKE) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
 
# Prepare targets for installation.
preinstall/fast:
$(MAKE) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast
 
# clear depends
depend:
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
 
#=============================================================================
# Target rules for targets named sonar
 
# Build rule for target.
sonar: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 sonar
.PHONY : sonar
 
# fast build rule for target.
sonar/fast:
$(MAKE) -f CMakeFiles/sonar.dir/build.make CMakeFiles/sonar.dir/build
.PHONY : sonar/fast
 
# target to build an object file
main.o:
$(MAKE) -f CMakeFiles/sonar.dir/build.make CMakeFiles/sonar.dir/main.o
.PHONY : main.o
 
# target to preprocess a source file
main.i:
$(MAKE) -f CMakeFiles/sonar.dir/build.make CMakeFiles/sonar.dir/main.i
.PHONY : main.i
 
# target to generate assembly for a file
main.s:
$(MAKE) -f CMakeFiles/sonar.dir/build.make CMakeFiles/sonar.dir/main.s
.PHONY : main.s
 
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... edit_cache"
@echo "... rebuild_cache"
@echo "... sonar"
@echo "... main.o"
@echo "... main.i"
@echo "... main.s"
.PHONY : help
 
 
 
#=============================================================================
# Special targets to cleanup operation of make.
 
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system
 
/programy/C/ix86/echo/SW/sonar/main.c
0,0 → 1,504
///////////////////////////////////////////////////////////////////////////////////
// A small demo of sonar.
// Program allow distance measuring.
// Uses cross-correlation algorithm to find echos
//
// Author: kaklik (kaklik@mlab.cz)
//
///////////////////////////////////////////////////////////////////////////////////
 
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sched.h>
#include <errno.h>
#include <getopt.h>
#include <alsa/asoundlib.h>
#include <sys/time.h>
#include <math.h>
 
static char *device = "plughw:0,0"; /* playback device */
static snd_pcm_format_t format = SND_PCM_FORMAT_S16; /* sample format */
static unsigned int rate = 98000; /* stream rate */
static unsigned int buffer_time = 500000; /* ring buffer length in us */
static unsigned int period_time = 100000; /* period time in us */
static int verbose = 0; /* verbose flag */
static int resample = 1; /* enable alsa-lib resampling */
static int period_event = 0; /* produce poll event after each period */
 
#define SOUND_SPEED 340
#define SIGNAL_SAMPLES 100000
#define CHIRP_OFFSET 0
 
unsigned int chirp_size;
 
int period=0;
int cperiod=0;
int chirp[100000];
short signal[1000000]; // record 6s of input samples
 
static snd_pcm_sframes_t buffer_size; // size of buffer at sound card
static snd_pcm_sframes_t period_size; //samples per frame
static snd_output_t *output = NULL;
 
static int set_hwparams ( snd_pcm_t *handle, snd_pcm_hw_params_t *params, unsigned int channels )
{
unsigned int rrate;
snd_pcm_uframes_t size;
int err, dir;
 
/* choose all parameters */
err = snd_pcm_hw_params_any ( handle, params );
if ( err < 0 )
{
printf ( "Broken configuration for playback: no configurations available: %s\n", snd_strerror ( err ) );
return err;
}
/* set hardware resampling */
err = snd_pcm_hw_params_set_rate_resample ( handle, params, resample );
if ( err < 0 )
{
printf ( "Resampling setup failed for playback: %s\n", snd_strerror ( err ) );
return err;
}
/* set the interleaved read/write format */
err = snd_pcm_hw_params_set_access ( handle, params, SND_PCM_ACCESS_RW_INTERLEAVED );
if ( err < 0 )
{
printf ( "Access type not available for playback: %s\n", snd_strerror ( err ) );
return err;
}
/* set the sample format */
err = snd_pcm_hw_params_set_format ( handle, params, format );
if ( err < 0 )
{
printf ( "Sample format not available for playback: %s\n", snd_strerror ( err ) );
return err;
}
/* set the count of channels */
err = snd_pcm_hw_params_set_channels ( handle, params, channels );
if ( err < 0 )
{
printf ( "Channels count (%i) not available for playbacks: %s\n", channels, snd_strerror ( err ) );
return err;
}
/* set the stream rate */
rrate = rate;
err = snd_pcm_hw_params_set_rate_near ( handle, params, &rrate, 0 );
if ( err < 0 )
{
printf ( "Rate %iHz not available for playback: %s\n", rate, snd_strerror ( err ) );
return err;
}
if ( rrate != rate )
{
printf ( "Rate doesn't match (requested %iHz, get %iHz)\n", rate, err );
return -EINVAL;
}
else printf ( "Rate set to %i Hz\n", rate, err );
/* set the buffer time */
err = snd_pcm_hw_params_set_buffer_time_near ( handle, params, &buffer_time, &dir );
if ( err < 0 )
{
printf ( "Unable to set buffer time %i for playback: %s\n", buffer_time, snd_strerror ( err ) );
return err;
}
err = snd_pcm_hw_params_get_buffer_size ( params, &size );
if ( err < 0 )
{
printf ( "Unable to get buffer size for playback: %s\n", snd_strerror ( err ) );
return err;
}
buffer_size = size;
/* set the period time */
err = snd_pcm_hw_params_set_period_time_near ( handle, params, &period_time, &dir );
if ( err < 0 )
{
printf ( "Unable to set period time %i for playback: %s\n", period_time, snd_strerror ( err ) );
return err;
}
err = snd_pcm_hw_params_get_period_size ( params, &size, &dir );
if ( err < 0 )
{
printf ( "Unable to get period size for playback: %s\n", snd_strerror ( err ) );
return err;
}
period_size = size;
/* write the parameters to device */
err = snd_pcm_hw_params ( handle, params );
if ( err < 0 )
{
printf ( "Unable to set hw params for playback: %s\n", snd_strerror ( err ) );
return err;
}
return 0;
}
 
static int set_swparams ( snd_pcm_t *handle, snd_pcm_sw_params_t *swparams )
{
int err;
 
/* get the current swparams */
err = snd_pcm_sw_params_current ( handle, swparams );
if ( err < 0 )
{
printf ( "Unable to determine current swparams for playback: %s\n", snd_strerror ( err ) );
return err;
}
/* start the transfer when the buffer is almost full: */
/* (buffer_size / avail_min) * avail_min */
err = snd_pcm_sw_params_set_start_threshold ( handle, swparams, ( buffer_size / period_size ) * period_size );
if ( err < 0 )
{
printf ( "Unable to set start threshold mode for playback: %s\n", snd_strerror ( err ) );
return err;
}
/* allow the transfer when at least period_size samples can be processed */
/* or disable this mechanism when period event is enabled (aka interrupt like style processing) */
err = snd_pcm_sw_params_set_avail_min ( handle, swparams, period_event ? buffer_size : period_size );
if ( err < 0 )
{
printf ( "Unable to set avail min for playback: %s\n", snd_strerror ( err ) );
return err;
}
/* enable period events when requested */
if ( period_event )
{
err = snd_pcm_sw_params_set_period_event ( handle, swparams, 1 );
if ( err < 0 )
{
printf ( "Unable to set period event: %s\n", snd_strerror ( err ) );
return err;
}
}
/* write the parameters to the playback device */
err = snd_pcm_sw_params ( handle, swparams );
if ( err < 0 )
{
printf ( "Unable to set sw params for playback: %s\n", snd_strerror ( err ) );
return err;
}
return 0;
}
 
struct async_private_data
{
signed short *samples;
snd_pcm_channel_area_t *areas;
unsigned int period;
};
 
 
////// SIGNAL GENERATION STUFF
/*int linear_chirp(int *pole, int delka_pole){ // vygeneruje linearni chirp a vzorky ulozi do pole
 
static const float f0 = 0.0001;
static const float k = 0.00001;
 
int t;
 
// if((spozdeni+delka) < delka_pole)
for(t=0;t < delka_pole;t++) pole[t] = round ( 10000*sin(2*M_PI*(t+faze)*(f0+(k/2)*(t+faze))) );
faze +=t;
// else return 0;
 
}*/
 
// vygeneruje linearni chirp a vzorky ulozi do pole
unsigned int linear_windowed_chirp ( unsigned int *pole, unsigned int delka_pole,unsigned int offset )
{
unsigned int maxval = ( 1 << ( snd_pcm_format_width ( format ) - 1 ) ) - 1;
 
static const float f0 = 1000;
static const float fmax = 7000;
static const float Tw = 0.002;
static float k;
 
unsigned int n=0;
double t;
unsigned int perioda;
 
k=2* ( fmax-f0 ) /Tw;
perioda = rate*Tw;
 
for ( n=0;n<=perioda;n++ )
{
t = ( double ) n/ ( double ) rate;
pole[n+offset] = ( short ) floor ( ( 0.35875 - 0.48829*cos ( 2*M_PI*t*1/Tw ) + 0.14128*cos ( 2*M_PI*2*t*1/Tw ) - 0.01168*cos ( 2*M_PI*3*t*1/Tw ) ) *maxval*sin ( 2*M_PI* ( t ) * ( f0+ ( k/2 ) * ( t ) ) ) );
}
return ( perioda+offset );
}
 
// generate sine samples and store
int sine ( unsigned int *pole, unsigned int delka_pole )
{
unsigned int maxval = ( 1 << ( snd_pcm_format_width ( format ) - 1 ) ) - 1;
unsigned int n;
double t;
 
for ( n=0;n < delka_pole;n++ )
{
t = 440.0 * ( double ) n/ ( double ) rate;
pole[n] = ( short ) floor ( maxval*sin ( 2*M_PI*t ) );
}
}
//// generate simple sine ping
unsigned int sine_ping ( unsigned int *pole, unsigned int delka_pole,unsigned int offset, double frequency )
{
unsigned int maxval = ( 1 << ( snd_pcm_format_width ( format ) - 1 ) ) - 1;
unsigned int n;
double t;
 
for ( n=0;n < delka_pole;n++ )
{
t = frequency * ( double ) n/ ( double ) rate;
pole[n] = ( short ) floor ( maxval*sin ( 2*M_PI*t ) );
}
}
 
/////////// CALL BACK STUFF ///////////////////
static void async_playback_callback ( snd_async_handler_t *ahandler )
{
snd_pcm_t *handle = snd_async_handler_get_pcm ( ahandler );
/* struct async_private_data *data = snd_async_handler_get_callback_private(ahandler);
signed short *samples = data->samples;
snd_pcm_channel_area_t *areas = data->areas;*/
snd_pcm_sframes_t avail;
int err;
 
avail = snd_pcm_avail_update ( handle );
while ( ( avail >= period_size ) && ( ( period*period_size ) < chirp_size ) )
{
 
err = snd_pcm_writei ( handle, ( chirp+period*period_size ), period_size );
if ( err < 0 )
{
printf ( "Write error: %s\n", snd_strerror ( err ) );
exit ( EXIT_FAILURE );
}
if ( err != period_size )
{
printf ( "Write error: written %i expected %li\n", err, period_size );
exit ( EXIT_FAILURE );
}
avail = snd_pcm_avail_update ( handle );
period++;
}
}
 
static void async_capture_callback ( snd_async_handler_t *ahandler )
{
snd_pcm_t *handle = snd_async_handler_get_pcm ( ahandler );
/* struct async_private_data *data = snd_async_handler_get_callback_private(ahandler);
signed short *samples = data->samples;
snd_pcm_channel_area_t *areas = data->areas;*/
snd_pcm_sframes_t avail;
int err;
 
avail = snd_pcm_avail_update ( handle );
while ( ( avail >= period_size ) /*&& ((period*period_size) < (CHIRP_SIZE-100))*/ ) // segmentation fault checking disabled
{
 
err = snd_pcm_readi ( handle, ( signal+cperiod*period_size ), period_size );
if ( err < 0 )
{
printf ( "Read error: %s\n", snd_strerror ( err ) );
exit ( EXIT_FAILURE );
}
if ( err != period_size )
{
printf ( "Read error: red %i expected %li\n", err, period_size );
exit ( EXIT_FAILURE );
}
avail = snd_pcm_avail_update ( handle );
cperiod++;
}
}
 
 
int main ( int argc, char *argv[] )
{
snd_pcm_t *playback_handle, *capture_handle;
int err;
snd_pcm_hw_params_t *hwparams;
snd_pcm_sw_params_t *swparams;
signed short *frame; // pointer to array of samples
unsigned int chn;
snd_pcm_channel_area_t *areas;
 
struct async_private_data data;
snd_async_handler_t *chandler, *phandler;
int count;
unsigned int i,j,m,n;
unsigned int delay[10]; //store delay of signifed correlation
long int l,r; // store correlation at strict time
long int correlationl[SIGNAL_SAMPLES]; //array to store correlation curve
long int correlationr[SIGNAL_SAMPLES]; //array to store correlation curve
int L_signal[SIGNAL_SAMPLES];
int R_signal[SIGNAL_SAMPLES];
 
FILE *out;
 
snd_pcm_hw_params_alloca ( &hwparams );
snd_pcm_sw_params_alloca ( &swparams );
 
printf ( "Simple PC sonar ver. 000000001 starting work.. \n" );
 
//open and set playback device
if ( ( err = snd_pcm_open ( &playback_handle, device, SND_PCM_STREAM_PLAYBACK, 0 ) ) < 0 )
{
printf ( "Playback open error: %s\n", snd_strerror ( err ) );
return 0;
}
 
if ( ( err = set_hwparams ( playback_handle, hwparams, 1 ) ) < 0 )
{
printf ( "Setting of hwparams failed: %s\n", snd_strerror ( err ) );
exit ( EXIT_FAILURE );
}
if ( ( err = set_swparams ( playback_handle, swparams ) ) < 0 )
{
printf ( "Setting of swparams failed: %s\n", snd_strerror ( err ) );
exit ( EXIT_FAILURE );
}
 
//open and set capture device
if ( ( err = snd_pcm_open ( &capture_handle, device, SND_PCM_STREAM_CAPTURE, 0 ) ) < 0 )
{
printf ( "Playback open error: %s\n", snd_strerror ( err ) );
return 0;
}
 
if ( ( err = set_hwparams ( capture_handle, hwparams, 2 ) ) < 0 )
{
printf ( "Setting of hwparams failed: %s\n", snd_strerror ( err ) );
exit ( EXIT_FAILURE );
}
if ( ( err = set_swparams ( capture_handle, swparams ) ) < 0 )
{
printf ( "Setting of swparams failed: %s\n", snd_strerror ( err ) );
exit ( EXIT_FAILURE );
}
 
/// generate ping pattern
 
chirp_size=linear_windowed_chirp ( chirp,1000000, CHIRP_OFFSET );
 
/// register playback callback
err = snd_async_add_pcm_handler ( &phandler, playback_handle, async_playback_callback, &data ); // fill by dummy &data
if ( err < 0 )
{
printf ( "Unable to register async handler\n" );
exit ( EXIT_FAILURE );
}
for ( period = 0; period < 2; period++ )
{
 
err = snd_pcm_writei ( playback_handle, ( chirp+period*period_size ), period_size );
if ( err < 0 )
{
printf ( "Initial write error: %s\n", snd_strerror ( err ) );
exit ( EXIT_FAILURE );
}
if ( err != period_size )
{
printf ( "Initial write error: written %i expected %li\n", err, period_size );
exit ( EXIT_FAILURE );
}
}
 
// register capture callback
err = snd_async_add_pcm_handler ( &chandler, capture_handle, async_capture_callback, &data ); // fill by dummy &data
if ( err < 0 )
{
printf ( "Unable to register async handler\n" );
exit ( EXIT_FAILURE );
}
 
snd_pcm_link ( capture_handle,playback_handle ); //link capture and playback together
 
//start sream
if ( ( err = snd_pcm_prepare ( capture_handle ) ) < 0 )
{
fprintf ( stderr, "cannot prepare audio interface for use (%s)\n",
snd_strerror ( err ) );
exit ( 1 );
}
 
err = snd_pcm_start ( capture_handle );
if ( err < 0 )
{
printf ( "Start error: %s\n", snd_strerror ( err ) );
exit ( EXIT_FAILURE );
}
 
//wait until all samples aren't transmitted
printf ( "Waiting for transmitt all samples\n" );
while ( cperiod<10 )
{
sleep ( 1 );
printf ( "." );
}
 
//// stop audio??
 
 
j=0;
for ( i=0;i < SIGNAL_SAMPLES;i++ )
{
L_signal[i]=signal[j];
R_signal[i]=signal[j+1];
j+=2;
}
 
// linear_windowed_chirp(L_signal,1000000, 1000);
 
printf ( "\nData transmitted... \ncorrelating...\n" );
for ( n=0; n < ( SIGNAL_SAMPLES - chirp_size );n++ )
{
l=0;
r=0;
for ( m=CHIRP_OFFSET;m < chirp_size;m++ )
{
l += chirp[m]*L_signal[m+n]; // correlate with left channel
r += chirp[m]*R_signal[m+n]; // correlate with right channel
}
correlationl[n]=l;
correlationr[n]=r;
}
 
printf ( "\nSearching echos...\n" );
r=0;
l=0;
for ( n=0; n < ( SIGNAL_SAMPLES - chirp_size );n++ ) //najde nejvetsi korelace
{
if ( l < correlationl[n] )
{
delay[1] = n;
l = correlationl[n];
}
if ( r < correlationr[n] )
{
delay[2] = n;
r = correlationr[n];
}
}
 
out=fopen ( "./output.txt","w" );
j=0;
for ( i=0;i<=100000;i++ )
{
fprintf ( out,"%6d %6d %6d %6d %9ld %9ld\n",i,chirp[i],L_signal[i],R_signal[i],correlationl[i], correlationr[i] );
j+=2;
}
fclose ( out );
 
printf ( "\nEcho zacina na: %d vzorku.\n", delay[1] );
printf ( "Casove na: %f s\n", ( ( float ) delay[1]/rate ) );
printf ( "vzdalenost: %f m\n", ( SOUND_SPEED* ( float ) delay[1]/rate ) );
 
snd_pcm_close ( playback_handle );
snd_pcm_close ( capture_handle );
return 0;
}
 
/programy/C/ix86/echo/SW/sonar/sonar.kdevelop
0,0 → 1,158
<?xml version = '1.0'?>
<kdevelop>
<general>
<author/>
<email/>
<version>$VERSION$</version>
<projectmanagement>KDevCustomProject</projectmanagement>
<primarylanguage>C++</primarylanguage>
<ignoreparts/>
<projectdirectory>/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar</projectdirectory>
<absoluteprojectpath>true</absoluteprojectpath>
<secondaryLanguages>
<language>C</language>
</secondaryLanguages>
<versioncontrol>kdevsubversion</versioncontrol>
<projectname>sonar</projectname>
</general>
<kdevcustomproject>
<filelistdirectory>/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar</filelistdirectory>
<run>
<mainprogram>/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar/sonar</mainprogram>
<directoryradio>custom</directoryradio>
<customdirectory>/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar</customdirectory>
<programargs/>
<terminal>false</terminal>
<autocompile>true</autocompile>
<envvars/>
</run>
<build>
<buildtool>make</buildtool>
<builddir>/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar</builddir>
</build>
<make>
<abortonerror>false</abortonerror>
<numberofjobs>1</numberofjobs>
<dontact>false</dontact>
<makebin>/usr/bin/make </makebin>
<selectedenvironment>default</selectedenvironment>
<environments>
<default>
<envvar value="1" name="VERBOSE" />
</default>
</environments>
</make>
<blacklist>
<path>CMakeFiles</path>
</blacklist>
<filetypes>
<filetype>*.java</filetype>
<filetype>*.h</filetype>
<filetype>*.H</filetype>
<filetype>*.hh</filetype>
<filetype>*.hxx</filetype>
<filetype>*.hpp</filetype>
<filetype>*.c</filetype>
<filetype>*.C</filetype>
<filetype>*.cc</filetype>
<filetype>*.cpp</filetype>
<filetype>*.c++</filetype>
<filetype>*.cxx</filetype>
<filetype>Makefile</filetype>
<filetype>CMakeLists.txt</filetype>
</filetypes>
</kdevcustomproject>
<kdevfilecreate>
<filetypes/>
<useglobaltypes>
<type ext="ui" />
<type ext="cpp" />
<type ext="h" />
</useglobaltypes>
</kdevfilecreate>
<kdevdoctreeview>
<projectdoc>
<userdocDir>html/</userdocDir>
<apidocDir>html/</apidocDir>
</projectdoc>
<ignoreqt_xml/>
<ignoredoxygen/>
<ignorekdocs/>
<ignoretocs/>
<ignoredevhelp/>
</kdevdoctreeview>
<cppsupportpart>
<filetemplates>
<interfacesuffix>.h</interfacesuffix>
<implementationsuffix>.cpp</implementationsuffix>
</filetemplates>
</cppsupportpart>
<kdevcppsupport>
<codecompletion>
<includeGlobalFunctions>true</includeGlobalFunctions>
<includeTypes>true</includeTypes>
<includeEnums>true</includeEnums>
<includeTypedefs>false</includeTypedefs>
<automaticCodeCompletion>true</automaticCodeCompletion>
<automaticArgumentsHint>true</automaticArgumentsHint>
<automaticHeaderCompletion>true</automaticHeaderCompletion>
<codeCompletionDelay>250</codeCompletionDelay>
<argumentsHintDelay>400</argumentsHintDelay>
<headerCompletionDelay>250</headerCompletionDelay>
<showOnlyAccessibleItems>false</showOnlyAccessibleItems>
<completionBoxItemOrder>0</completionBoxItemOrder>
<howEvaluationContextMenu>true</howEvaluationContextMenu>
<showCommentWithArgumentHint>true</showCommentWithArgumentHint>
<statusBarTypeEvaluation>false</statusBarTypeEvaluation>
<namespaceAliases>std=_GLIBCXX_STD;__gnu_cxx=std</namespaceAliases>
<processPrimaryTypes>true</processPrimaryTypes>
<processFunctionArguments>false</processFunctionArguments>
<preProcessAllHeaders>false</preProcessAllHeaders>
<parseMissingHeadersExperimental>false</parseMissingHeadersExperimental>
<resolveIncludePathsUsingMakeExperimental>false</resolveIncludePathsUsingMakeExperimental>
<alwaysParseInBackground>true</alwaysParseInBackground>
<usePermanentCaching>true</usePermanentCaching>
<alwaysIncludeNamespaces>false</alwaysIncludeNamespaces>
<includePaths>.;</includePaths>
</codecompletion>
<references/>
<qt>
<used>false</used>
<version>3</version>
<includestyle>3</includestyle>
<root></root>
<designerintegration>EmbeddedKDevDesigner</designerintegration>
<qmake></qmake>
<designer></designer>
<designerpluginpaths/>
</qt>
</kdevcppsupport>
<kdevfileview>
<groups>
<group pattern="CMakeLists.txt;*.cmake;" name="CMake" />
<group pattern="*.h;*.hxx;*.hpp" name="Header" />
<group pattern="*.c" name="C Sources" />
<group pattern="*.cpp;*.C;*.cxx;*.cc" name="C++ Sources" />
<group pattern="*.ui" name="Qt Designer files" />
<hidenonprojectfiles>true</hidenonprojectfiles>
<hidenonlocation>false</hidenonlocation>
</groups>
<tree>
<hidepatterns>*.o,*.lo,CVS,*~,cmake*</hidepatterns>
<hidenonprojectfiles>true</hidenonprojectfiles>
</tree>
</kdevfileview>
<substmap>
<APPNAME>sonar</APPNAME>
<APPNAMELC>sonar</APPNAMELC>
<APPNAMESC>Sonar</APPNAMESC>
<APPNAMEUC>SONAR</APPNAMEUC>
<AUTHOR>Jakub Kákona</AUTHOR>
<EMAIL>kaklik@mlab.cz</EMAIL>
<LICENSE>GPL</LICENSE>
<LICENSEFILE>COPYING</LICENSEFILE>
<VERSION>0.1</VERSION>
<YEAR>2009</YEAR>
<dest>/home/kaklik/svnkaklik/programy/C/ix86/echo/SW/sonar</dest>
</substmap>
</kdevelop>