|
Packit Bot |
3f3af5 |
/* Various paths that might be needed.
|
|
Packit Bot |
3f3af5 |
Copyright (C) 2018 Free Software Foundation, Inc.
|
|
Packit Bot |
3f3af5 |
This file is part of the GNU C Library.
|
|
Packit Bot |
3f3af5 |
|
|
Packit Bot |
3f3af5 |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Bot |
3f3af5 |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Bot |
3f3af5 |
License as published by the Free Software Foundation; either
|
|
Packit Bot |
3f3af5 |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Bot |
3f3af5 |
|
|
Packit Bot |
3f3af5 |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Bot |
3f3af5 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Bot |
3f3af5 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Bot |
3f3af5 |
Lesser General Public License for more details.
|
|
Packit Bot |
3f3af5 |
|
|
Packit Bot |
3f3af5 |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Bot |
3f3af5 |
License along with the GNU C Library; if not, see
|
|
Packit Bot |
3f3af5 |
<http://www.gnu.org/licenses/>. */
|
|
Packit Bot |
3f3af5 |
|
|
Packit Bot |
3f3af5 |
#include <support/support.h>
|
|
Packit Bot |
3f3af5 |
#include <support/check.h>
|
|
Packit Bot |
3f3af5 |
|
|
Packit Bot |
3f3af5 |
/* The idea here is to make various makefile-level paths available to
|
|
Packit Bot |
3f3af5 |
support programs, as canonicalized absolute paths. */
|
|
Packit Bot |
3f3af5 |
|
|
Packit Bot |
3f3af5 |
/* These point to the TOP of the source/build tree, not your (or
|
|
Packit Bot |
3f3af5 |
support's) subdirectory. */
|
|
Packit Bot |
3f3af5 |
#ifdef SRCDIR_PATH
|
|
Packit Bot |
3f3af5 |
const char support_srcdir_root[] = SRCDIR_PATH;
|
|
Packit Bot |
3f3af5 |
#else
|
|
Packit Bot |
3f3af5 |
# error please -DSRCDIR_PATH=something in the Makefile
|
|
Packit Bot |
3f3af5 |
#endif
|
|
Packit Bot |
3f3af5 |
|
|
Packit Bot |
3f3af5 |
#ifdef OBJDIR_PATH
|
|
Packit Bot |
3f3af5 |
const char support_objdir_root[] = OBJDIR_PATH;
|
|
Packit Bot |
3f3af5 |
#else
|
|
Packit Bot |
3f3af5 |
# error please -DOBJDIR_PATH=something in the Makefile
|
|
Packit Bot |
3f3af5 |
#endif
|
|
Packit Bot |
3f3af5 |
|
|
Packit Bot |
3f3af5 |
#ifdef OBJDIR_ELF_LDSO_PATH
|
|
Packit Bot |
3f3af5 |
/* Corresponds to the path to the runtime linker used by the testsuite,
|
|
Packit Bot |
3f3af5 |
e.g. OBJDIR_PATH/elf/ld-linux-x86-64.so.2 */
|
|
Packit Bot |
3f3af5 |
const char support_objdir_elf_ldso[] = OBJDIR_ELF_LDSO_PATH;
|
|
Packit Bot |
3f3af5 |
#else
|
|
Packit Bot |
3f3af5 |
# error please -DOBJDIR_ELF_LDSO_PATH=something in the Makefile
|
|
Packit Bot |
3f3af5 |
#endif
|
|
Packit Bot |
3f3af5 |
|
|
Packit Bot |
3f3af5 |
#ifdef INSTDIR_PATH
|
|
Packit Bot |
3f3af5 |
/* Corresponds to the --prefix= passed to configure. */
|
|
Packit Bot |
3f3af5 |
const char support_install_prefix[] = INSTDIR_PATH;
|
|
Packit Bot |
3f3af5 |
#else
|
|
Packit Bot |
3f3af5 |
# error please -DINSTDIR_PATH=something in the Makefile
|
|
Packit Bot |
3f3af5 |
#endif
|
|
Packit Bot |
3f3af5 |
|
|
Packit Bot |
3f3af5 |
#ifdef LIBDIR_PATH
|
|
Packit Bot |
3f3af5 |
/* Corresponds to the install's lib/ or lib64/ directory. */
|
|
Packit Bot |
3f3af5 |
const char support_libdir_prefix[] = LIBDIR_PATH;
|
|
Packit Bot |
3f3af5 |
#else
|
|
Packit Bot |
3f3af5 |
# error please -DLIBDIR_PATH=something in the Makefile
|
|
Packit Bot |
3f3af5 |
#endif
|