Rewrite variable descriptions after introduction of 'PDDIR' & Co.
Variables PDDIR, PDINCLUDEDIR, PDBINDIR and PDLIBDIR were introduced in the previous commit as API replacement for a less coherent set of path variable names, and made these paths settable in the environment. This commit (re)writes variable descriptions accordingly and reorganizes descriptions with the intention to give a more comprehensible overview of the API structure.
This commit is contained in:
parent
b0dab729b9
commit
cf04da9b47
1 changed files with 61 additions and 56 deletions
|
|
@ -73,31 +73,34 @@ version = 0.4.0
|
||||||
# - forDarwin
|
# - forDarwin
|
||||||
# - forWindows
|
# - forWindows
|
||||||
#
|
#
|
||||||
|
# Variables available for your makefile or make command line:
|
||||||
#
|
#
|
||||||
# Variables avaialable for (re)definition via command arguments:
|
# - make-lib-executable
|
||||||
|
# - suppress-wunused
|
||||||
|
#
|
||||||
|
# Path variables for make command line or environment:
|
||||||
|
#
|
||||||
|
# - PDDIR
|
||||||
|
# - PDINCLUDEDIR
|
||||||
|
# - PDBINDIR
|
||||||
|
# - PDLIBDIR
|
||||||
|
#
|
||||||
|
# Standard make variables for make command line or environment:
|
||||||
#
|
#
|
||||||
# - PD_PATH
|
|
||||||
# - pdbinpath (Windows only)
|
|
||||||
# - pdincludepath
|
|
||||||
# - DESTDIR
|
|
||||||
# - prefix
|
|
||||||
# - libdir
|
|
||||||
# - pkglibdir
|
|
||||||
# - CPPFLAGS
|
# - CPPFLAGS
|
||||||
# - CFLAGS
|
# - CFLAGS
|
||||||
# - LDFLAGS
|
# - LDFLAGS
|
||||||
# - CC
|
# - CC
|
||||||
# - CXX
|
# - CXX
|
||||||
# - INSTALL
|
# - INSTALL
|
||||||
# - INSTALL_PROGRAM
|
# - DESTDIR
|
||||||
# - INSTALL_DATA
|
|
||||||
# - INSTALL_DIR
|
|
||||||
#
|
#
|
||||||
# Variables available for your makefile or as command argument:
|
# Deprecated path variables:
|
||||||
#
|
#
|
||||||
|
# - PD_PATH
|
||||||
|
# - pdincludepath
|
||||||
|
# - pdbinpath
|
||||||
# - objectsdir
|
# - objectsdir
|
||||||
# - make-lib-executable
|
|
||||||
# - suppress-wunused
|
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#=== descriptions of Makefile.pdlibbuilder API variables =======================
|
#=== descriptions of Makefile.pdlibbuilder API variables =======================
|
||||||
|
|
@ -145,12 +148,6 @@ version = 0.4.0
|
||||||
# files that should go into your lib rootdir and 'datadirs' for complete
|
# files that should go into your lib rootdir and 'datadirs' for complete
|
||||||
# directories you want to copy from source to distribution.
|
# directories you want to copy from source to distribution.
|
||||||
#
|
#
|
||||||
# externalsdir:
|
|
||||||
# Relative path to directory 'externals' in the context of pd-extended SVN, or
|
|
||||||
# any other centralized build layout for multiple libraries. Default value
|
|
||||||
# is '..', meaning the direct parent. The value is used in search paths for
|
|
||||||
# pd core components (header files, and executable in the case of Windows).
|
|
||||||
#
|
|
||||||
# forLinux, forDarwin, forWindows:
|
# forLinux, forDarwin, forWindows:
|
||||||
# Shorthand for 'variable definitions for Linux only' etc. Use like:
|
# Shorthand for 'variable definitions for Linux only' etc. Use like:
|
||||||
# define forLinux
|
# define forLinux
|
||||||
|
|
@ -162,26 +159,37 @@ version = 0.4.0
|
||||||
# Extra makefiles or directories with makefiles that should be made in sub-make
|
# Extra makefiles or directories with makefiles that should be made in sub-make
|
||||||
# processes.
|
# processes.
|
||||||
#
|
#
|
||||||
# PD_PATH:
|
# make-lib-executable:
|
||||||
# Root directory of portable pd installation where bin/ and src/ are direct
|
# When this variable is defined 'yes' in your makefile or as command argument,
|
||||||
# subdirs.
|
# Makefile.pdlibbuilder will try to build all classes into a single library
|
||||||
|
# executable (but it will force exit if lib.setup.sources is undefined).
|
||||||
|
# If your makefile defines 'make-lib-executable=yes' as the library default,
|
||||||
|
# this can still be overriden with 'make-lib-executable=no' as command argument
|
||||||
|
# to build individual class executables (the Makefile.pdlibbuilder default.)
|
||||||
#
|
#
|
||||||
# pdbinpath:
|
# suppress-wunused:
|
||||||
# For Windows only. Directory where pd.dll can be found for linking.
|
# When this variable is defined ('yes' or any other value), -Wunused-variable,
|
||||||
|
# -Wunused-parameter, -Wunused-value and -Wunused-function are suppressed,
|
||||||
|
# but the other warnings from -Wall are retained.
|
||||||
#
|
#
|
||||||
# pdincludepath:
|
# PDDIR:
|
||||||
# Directory where Pd API m_pd.h can be found, and other Pd header files.
|
# Root directory of 'portable' pd package. When defined, PDINCLUDEDIR and
|
||||||
|
# PDBINDIR will be evaluated as $(PDDIR)/src and $(PDDIR)/bin.
|
||||||
#
|
#
|
||||||
# DESTDIR, prefix, libdir:
|
# PDINCLUDEDIR:
|
||||||
# Components of the path for installation as conventionally used on Linux.
|
# Directory where Pd API m_pd.h should be found, and other Pd header files.
|
||||||
|
# Overrides the default search path.
|
||||||
#
|
#
|
||||||
# pkglibdir:
|
# PDBINDIR:
|
||||||
# Base path for installation of Pd library directories. Default is specified
|
# Directory where pd.dll should be found for linking (Windows only). Overrides
|
||||||
# per OS, see section about paths below.
|
# the default search path.
|
||||||
#
|
#
|
||||||
# objectsdir:
|
# PDLIBDIR:
|
||||||
# Alias of pkglibdir. Can be defined in your makefile to enable project-
|
# Root directory for installation of Pd library directories. Overrides the
|
||||||
# dependent relative install locations.
|
# default install location.
|
||||||
|
#
|
||||||
|
# DESTDIR:
|
||||||
|
# Prepended path component for staged install.
|
||||||
#
|
#
|
||||||
# CPPFLAGS:
|
# CPPFLAGS:
|
||||||
# Preprocessor flags which are not strictly required for building.
|
# Preprocessor flags which are not strictly required for building.
|
||||||
|
|
@ -199,21 +207,21 @@ version = 0.4.0
|
||||||
# CC and CXX:
|
# CC and CXX:
|
||||||
# C and C++ compiler programs as defined in your build environment.
|
# C and C++ compiler programs as defined in your build environment.
|
||||||
#
|
#
|
||||||
# INSTALL, INSTALL_PROGRAM, INSTALL_DATA, INSTALL_DIR:
|
# INSTALL
|
||||||
# Definitions of install program, may be overriden via command argument.
|
# Definition of install program.
|
||||||
#
|
#
|
||||||
# make-lib-executable:
|
# PD_PATH:
|
||||||
# When this variable is defined 'yes' in your makefile or as command argument,
|
# Equivalent to PDDIR. Supported for compatibility with pd-extended central
|
||||||
# Makefile.pdlibbuilder will try to build all classes into a single library
|
# makefile, but deprecated otherwise.
|
||||||
# executable (but it will force exit if lib.setup.sources is undefined).
|
|
||||||
# If your makefile defines 'make-lib-executable=yes' as the library default,
|
|
||||||
# this can still be overriden with 'make-lib-executable=no' as command argument
|
|
||||||
# to build individual class executables (the Makefile.pdlibbuilder default.)
|
|
||||||
#
|
#
|
||||||
# suppress-wunused:
|
# objectsdir:
|
||||||
# When this variable is defined ('yes' or any other value), -Wunused-variable,
|
# Root directory for installation of Pd library directories, like PDLIBDIR but
|
||||||
# -Wunused-parameter, -Wunused-value and -Wunused-function are suppressed,
|
# not overridable by environment. Supported for compatibility with pd-extended
|
||||||
# but the other warnings from -Wall are retained.
|
# central makefile, but deprecated otherwise.
|
||||||
|
#
|
||||||
|
# pdincludepath, pdbinpath:
|
||||||
|
# As PDINCLUDEDIR and PDBINDIR but not overridable by environment. Deprecated
|
||||||
|
# as user variables.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#=== paths =====================================================================
|
#=== paths =====================================================================
|
||||||
|
|
@ -224,8 +232,8 @@ version = 0.4.0
|
||||||
# Object (.o) files are built in the directory of their source files.
|
# Object (.o) files are built in the directory of their source files.
|
||||||
# Executables are built in current working directory.
|
# Executables are built in current working directory.
|
||||||
#
|
#
|
||||||
# Variable 'pdincludepath' stores a location where m_pd.h is expected to reside.
|
# Default search path for m_pd.h and other API header files is platform
|
||||||
# Location where Makefile.pdlibbuilder tries to find it:
|
# dependent, and overridable by PDINCLUDEDIR:
|
||||||
#
|
#
|
||||||
# Linux: /usr/include/pd
|
# Linux: /usr/include/pd
|
||||||
#
|
#
|
||||||
|
|
@ -233,17 +241,14 @@ version = 0.4.0
|
||||||
#
|
#
|
||||||
# Windows: %PROGRAMFILES%/pd/src
|
# Windows: %PROGRAMFILES%/pd/src
|
||||||
#
|
#
|
||||||
# The path for installation of all library components is constructed as:
|
# Default location to install pd libraries is platform dependent, and
|
||||||
#
|
# overridable by PDLIBDIR:
|
||||||
# installpath := $(DESTDIR)$(objectsdir)/$(lib.name)
|
|
||||||
#
|
|
||||||
# Default for 'objectsdir' is defined per platform and follows this convention:
|
|
||||||
# https://puredata.info/docs/faq/how-do-i-install-externals-and-help-files
|
|
||||||
#
|
#
|
||||||
# Linux: /usr/local/lib/pd-externals
|
# Linux: /usr/local/lib/pd-externals
|
||||||
# OSX: ~/Library/Pd
|
# OSX: ~/Library/Pd
|
||||||
# Windows: %APPDATA%/Pd
|
# Windows: %APPDATA%/Pd
|
||||||
#
|
#
|
||||||
|
# https://puredata.info/docs/faq/how-do-i-install-externals-and-help-files
|
||||||
# The rationale for not installing to ~/pd-externals by default on Linux
|
# The rationale for not installing to ~/pd-externals by default on Linux
|
||||||
# is that some people share the home dir between 32 and 64 bit installations.
|
# is that some people share the home dir between 32 and 64 bit installations.
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue