tools-make/FilesystemLayouts/fhs
Frederik Carlier adbab30895
Allow users to override the /lib dir
The [File Hierarchy Standard][1] allows for an alternative format for essential shared libraries, using `lib<qual>` instead of `lib`.

Some Linux distributions, like Enterprise Linux, adopt this, and on 64-bit systems the shared libraries would go into `lib64` instead of `lib`.

Currently the Fedora/EPEL packages [manually patch the fhs and fhs-system files][2].

This commit updates the `./configure` script so that the user can manually specify a `lib` folder, e.g. `--with-libdir=lib64`.

[1]: https://www.pathname.com/fhs/pub/fhs-2.3.html#LIBLTQUALGTALTERNATEFORMATESSENTIAL
[2] https://src.fedoraproject.org/rpms/gnustep-make/blob/rawhide/f/gnustep-make.spec#_64
2024-03-29 10:12:14 +00:00

82 lines
3.2 KiB
Text

#
# FHS (Filesystem Hierarchy Standard) filesystem layout
#
# This is the standard FHS Unix filesystem layout to use when
# installing everything into /usr/local. Use this on GNU/Linux (or
# any Unix with a similar filesystem layout) if you want GNUstep to
# blend in your GNU/Linux environment and you are compiling all of
# your GNUstep system from source.
#
# Basically, it's a standard FHS Unix filesystem with all domains mapped
# into the same /usr/local directory.
# Make sure you have /usr/local/bin in your PATH, and /usr/local/lib
# in your /etc/ld.so.conf (or equivalent for your Unix), and don't
# forget to run ldconfig after installing a library! To use
# gnustep-make in this environment, use 'export
# GNUSTEP_MAKEFILES=/usr/local/share/GNUstep/Makefiles'
# By default, we install into /usr/local, but this can be overridden
# by using ./configure --prefix=xxx when configuring.
GNUSTEP_DEFAULT_PREFIX=/usr/local
# These are only used by gnustep-base to implement the NSUserDirectory
# API. We never install anything in them. They will be used as they
# are without $prefix.
GNUSTEP_SYSTEM_USERS_DIR=/home
GNUSTEP_NETWORK_USERS_DIR=/home
GNUSTEP_LOCAL_USERS_DIR=/home
# NB: $prefix will be added to all the MAKEFILES/SYSTEM/NETWORK/LOCAL
# paths.
GNUSTEP_MAKEFILES=/share/GNUstep/Makefiles
GNUSTEP_SYSTEM_APPS=/@libdir@/GNUstep/Applications
GNUSTEP_SYSTEM_ADMIN_APPS=/@libdir@/GNUstep/Applications
GNUSTEP_SYSTEM_WEB_APPS=/@libdir@/GNUstep/WebApplications
GNUSTEP_SYSTEM_TOOLS=/bin
GNUSTEP_SYSTEM_ADMIN_TOOLS=/sbin
GNUSTEP_SYSTEM_LIBRARY=/@libdir@/GNUstep
GNUSTEP_SYSTEM_HEADERS=/include
GNUSTEP_SYSTEM_LIBRARIES=/@libdir@
GNUSTEP_SYSTEM_DOC=/share/GNUstep/Documentation
GNUSTEP_SYSTEM_DOC_MAN=/share/man
GNUSTEP_SYSTEM_DOC_INFO=/share/info
GNUSTEP_NETWORK_APPS=/@libdir@/GNUstep/Applications
GNUSTEP_NETWORK_ADMIN_APPS=/@libdir@/GNUstep/Applications
GNUSTEP_NETWORK_WEB_APPS=/@libdir@/GNUstep/WebApplications
GNUSTEP_NETWORK_TOOLS=/bin
GNUSTEP_NETWORK_ADMIN_TOOLS=/sbin
GNUSTEP_NETWORK_LIBRARY=/@libdir@/GNUstep
GNUSTEP_NETWORK_HEADERS=/include
GNUSTEP_NETWORK_LIBRARIES=/@libdir@
GNUSTEP_NETWORK_DOC=/share/GNUstep/Documentation
GNUSTEP_NETWORK_DOC_MAN=/share/man
GNUSTEP_NETWORK_DOC_INFO=/share/info
GNUSTEP_LOCAL_APPS=/@libdir@/GNUstep/Applications
GNUSTEP_LOCAL_ADMIN_APPS=/@libdir@/GNUstep/Applications
GNUSTEP_LOCAL_WEB_APPS=/@libdir@/GNUstep/WebApplications
GNUSTEP_LOCAL_TOOLS=/bin
GNUSTEP_LOCAL_ADMIN_TOOLS=/sbin
GNUSTEP_LOCAL_LIBRARY=/@libdir@/GNUstep
GNUSTEP_LOCAL_HEADERS=/include
GNUSTEP_LOCAL_LIBRARIES=/@libdir@
GNUSTEP_LOCAL_DOC=/share/GNUstep/Documentation
GNUSTEP_LOCAL_DOC_MAN=/share/man
GNUSTEP_LOCAL_DOC_INFO=/share/info
GNUSTEP_USER_DIR_APPS=GNUstep/Applications
GNUSTEP_USER_DIR_ADMIN_APPS=GNUstep/Applications/Admin
GNUSTEP_USER_DIR_WEB_APPS=GNUstep/WebApplications
GNUSTEP_USER_DIR_TOOLS=GNUstep/Tools
GNUSTEP_USER_DIR_ADMIN_TOOLS=GNUstep/Tools/Admin
GNUSTEP_USER_DIR_LIBRARY=GNUstep/Library
GNUSTEP_USER_DIR_HEADERS=GNUstep/Library/Headers
GNUSTEP_USER_DIR_LIBRARIES=GNUstep/Library/Libraries
GNUSTEP_USER_DIR_DOC=GNUstep/Library/Documentation
GNUSTEP_USER_DIR_DOC_MAN=GNUstep/Library/Documentation/man
GNUSTEP_USER_DIR_DOC_INFO=GNUstep/Library/Documentation/info
GNUSTEP_USER_CONFIG_FILE=.GNUstep.conf
GNUSTEP_USER_DEFAULTS_DIR=GNUstep/Defaults