ver.c 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * $Id$
  3. *
  4. * Copyright (C) 2010 iptelorg GmbH
  5. *
  6. * Permission to use, copy, modify, and distribute this software for any
  7. * purpose with or without fee is hereby granted, provided that the above
  8. * copyright notice and this permission notice appear in all copies.
  9. *
  10. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  11. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  12. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  13. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  14. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  15. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  16. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  17. */
  18. /** version strings.
  19. * @file ver.c
  20. * @ingroup: core
  21. */
  22. /*
  23. * History:
  24. * --------
  25. * 2010-07-13 initial version (andrei)
  26. */
  27. #include "ver_defs.h"
  28. #include "autover.h" /* REPO_VER, REPO_STATE */
  29. const char full_version[] = SER_FULL_VERSION " " REPO_VER;
  30. const char ver_name[] = NAME;
  31. const char ver_version[] = VERSION;
  32. const char ver_arch[] = ARCH;
  33. const char ver_os[] = OS_QUOTED;
  34. const char ver_id[] = REPO_HASH " " REPO_STATE;
  35. const char ver_compiled_time[] = __TIME__ " " __DATE__ ;
  36. const char ver_compiler[] = COMPILER;
  37. const char ver_flags[] = SER_COMPILE_FLAGS;
  38. /** hash-state. */
  39. const char repo_ver[] = REPO_VER;
  40. /** git hash. */
  41. const char repo_hash[] = REPO_HASH;
  42. /** state of the repository: dirty (uncommited changes) or "" */
  43. const char repo_state[] = REPO_STATE;
  44. /* vi: set ts=4 sw=4 tw=79:ai:cindent: */