removed trailing whitespace
This commit is contained in:
parent
6120db18a5
commit
cdd3b43978
1 changed files with 22 additions and 22 deletions
|
|
@ -106,7 +106,7 @@ version = 0.4.3
|
||||||
#=== descriptions of Makefile.pdlibbuilder API variables =======================
|
#=== descriptions of Makefile.pdlibbuilder API variables =======================
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# lib.name:
|
# lib.name:
|
||||||
# Name of the library directory as it will be installed / distributed. Also the
|
# Name of the library directory as it will be installed / distributed. Also the
|
||||||
# name of the lib executable in the case where all classes are linked into
|
# name of the lib executable in the case where all classes are linked into
|
||||||
# a single binary.
|
# a single binary.
|
||||||
|
|
@ -116,7 +116,7 @@ version = 0.4.3
|
||||||
# into a single lib binary.
|
# into a single lib binary.
|
||||||
#
|
#
|
||||||
# class.sources:
|
# class.sources:
|
||||||
# All sources files (C or C++) for which the condition holds that
|
# All sources files (C or C++) for which the condition holds that
|
||||||
# class name == source file basename.
|
# class name == source file basename.
|
||||||
#
|
#
|
||||||
# <classname>.class.sources:
|
# <classname>.class.sources:
|
||||||
|
|
@ -135,13 +135,13 @@ version = 0.4.3
|
||||||
# link libs) for the whole library. These flags are added to platform-specific
|
# link libs) for the whole library. These flags are added to platform-specific
|
||||||
# flags defined by Makefile.pdlibbuilder.
|
# flags defined by Makefile.pdlibbuilder.
|
||||||
#
|
#
|
||||||
# <classname>.class.ldflags and <classname>.class.ldlibs:
|
# <classname>.class.ldflags and <classname>.class.ldlibs:
|
||||||
# Define ldflags resp. ldlibs specific to class <classname>. These flags are
|
# Define ldflags resp. ldlibs specific to class <classname>. These flags are
|
||||||
# added to platform-specific flags defined by Makefile.pdlibbuilder, and flags
|
# added to platform-specific flags defined by Makefile.pdlibbuilder, and flags
|
||||||
# defined in your Makefile for the whole library. Note: cflags can not be
|
# defined in your Makefile for the whole library. Note: cflags can not be
|
||||||
# defined per class in the current implementation.
|
# defined per class in the current implementation.
|
||||||
#
|
#
|
||||||
# datafiles and datadirs:
|
# datafiles and datadirs:
|
||||||
# All extra files you want to include in binary distributions of the
|
# All extra files you want to include in binary distributions of the
|
||||||
# library: abstractions and help patches, example patches, meta patch, readme
|
# library: abstractions and help patches, example patches, meta patch, readme
|
||||||
# and license texts, manuals, sound files, etcetera. Use 'datafiles' for all
|
# and license texts, manuals, sound files, etcetera. Use 'datafiles' for all
|
||||||
|
|
@ -155,7 +155,7 @@ version = 0.4.3
|
||||||
# class.sources += linuxthing.c
|
# class.sources += linuxthing.c
|
||||||
# endef
|
# endef
|
||||||
#
|
#
|
||||||
# makefiles and makefiledirs:
|
# makefiles and makefiledirs:
|
||||||
# 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.
|
||||||
#
|
#
|
||||||
|
|
@ -164,7 +164,7 @@ version = 0.4.3
|
||||||
# Makefile.pdlibbuilder will try to build all classes into a single library
|
# Makefile.pdlibbuilder will try to build all classes into a single library
|
||||||
# executable (but it will force exit if lib.setup.sources is undefined).
|
# executable (but it will force exit if lib.setup.sources is undefined).
|
||||||
# If your makefile defines 'make-lib-executable=yes' as the library default,
|
# 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
|
# this can still be overriden with 'make-lib-executable=no' as command argument
|
||||||
# to build individual class executables (the Makefile.pdlibbuilder default.)
|
# to build individual class executables (the Makefile.pdlibbuilder default.)
|
||||||
#
|
#
|
||||||
# suppress-wunused:
|
# suppress-wunused:
|
||||||
|
|
@ -173,7 +173,7 @@ version = 0.4.3
|
||||||
# but the other warnings from -Wall are retained.
|
# but the other warnings from -Wall are retained.
|
||||||
#
|
#
|
||||||
# PDDIR:
|
# PDDIR:
|
||||||
# Root directory of 'portable' pd package. When defined, PDINCLUDEDIR and
|
# Root directory of 'portable' pd package. When defined, PDINCLUDEDIR and
|
||||||
# PDBINDIR will be evaluated as $(PDDIR)/src and $(PDDIR)/bin.
|
# PDBINDIR will be evaluated as $(PDDIR)/src and $(PDDIR)/bin.
|
||||||
#
|
#
|
||||||
# PDINCLUDEDIR:
|
# PDINCLUDEDIR:
|
||||||
|
|
@ -230,9 +230,9 @@ version = 0.4.3
|
||||||
# Source files in directories other than current working directory must be
|
# Source files in directories other than current working directory must be
|
||||||
# prefixed with their relative path. Do not rely on VPATH or vpath.
|
# prefixed with their relative path. Do not rely on VPATH or vpath.
|
||||||
# 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.
|
||||||
#
|
#
|
||||||
# Default search path for m_pd.h and other API header files is platform
|
# Default search path for m_pd.h and other API header files is platform
|
||||||
# dependent, and overridable by PDINCLUDEDIR:
|
# dependent, and overridable by PDINCLUDEDIR:
|
||||||
#
|
#
|
||||||
# Linux: /usr/include/pd
|
# Linux: /usr/include/pd
|
||||||
|
|
@ -301,7 +301,7 @@ version = 0.4.3
|
||||||
# are upper case. Use target 'allvars' to print all variables and their values.
|
# are upper case. Use target 'allvars' to print all variables and their values.
|
||||||
#
|
#
|
||||||
# 'Fields' in data variables are separated by dots, like in 'foo.class.sources'.
|
# 'Fields' in data variables are separated by dots, like in 'foo.class.sources'.
|
||||||
# Words in variables expressing a function or command are separated by dashes,
|
# Words in variables expressing a function or command are separated by dashes,
|
||||||
# like in 'make-lib-executable'.
|
# like in 'make-lib-executable'.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
@ -325,7 +325,7 @@ version = 0.4.3
|
||||||
#
|
#
|
||||||
#=== end of documentation sections =============================================
|
#=== end of documentation sections =============================================
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
################################################################################
|
################################################################################
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
@ -340,7 +340,7 @@ ifneq ($(firstword $(sort 3.81 $(MAKE_VERSION))), 3.81)
|
||||||
$(error GNU make version 3.81 or higher is required)
|
$(error GNU make version 3.81 or higher is required)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Relative path to externals root dir in multi-lib source tree like
|
# Relative path to externals root dir in multi-lib source tree like
|
||||||
# pd-extended SVN. Default is parent of current working directory. May be
|
# pd-extended SVN. Default is parent of current working directory. May be
|
||||||
# defined differently in including makefile.
|
# defined differently in including makefile.
|
||||||
externalsdir ?= ..
|
externalsdir ?= ..
|
||||||
|
|
@ -357,7 +357,7 @@ Makefile.pdlibbuilder = true
|
||||||
# strip possibles spaces from lib.name, they mess up calculated file names
|
# strip possibles spaces from lib.name, they mess up calculated file names
|
||||||
lib.name := $(strip $(lib.name))
|
lib.name := $(strip $(lib.name))
|
||||||
|
|
||||||
# if meta file exists, check library version
|
# if meta file exists, check library version
|
||||||
metafile := $(wildcard $(lib.name)-meta.pd)
|
metafile := $(wildcard $(lib.name)-meta.pd)
|
||||||
|
|
||||||
ifdef metafile
|
ifdef metafile
|
||||||
|
|
@ -429,7 +429,7 @@ endif
|
||||||
#=== flags per architecture ====================================================
|
#=== flags per architecture ====================================================
|
||||||
|
|
||||||
|
|
||||||
# Set architecture-dependent cflags, mainly for Linux. For Mac and Windows,
|
# Set architecture-dependent cflags, mainly for Linux. For Mac and Windows,
|
||||||
# arch.c.flags are overriden below.
|
# arch.c.flags are overriden below.
|
||||||
|
|
||||||
machine := $(shell uname -m)
|
machine := $(shell uname -m)
|
||||||
|
|
@ -451,7 +451,7 @@ endif
|
||||||
|
|
||||||
# Intel/AMD 64 bit, build with SSE, SSE2 and SSE3 instructions
|
# Intel/AMD 64 bit, build with SSE, SSE2 and SSE3 instructions
|
||||||
ifeq ($(findstring $(machine), ia64 x86_64), $(machine))
|
ifeq ($(findstring $(machine), ia64 x86_64), $(machine))
|
||||||
arch.c.flags = -march=core2 -mfpmath=sse -msse -msse2 -msse3
|
arch.c.flags = -march=core2 -mfpmath=sse -msse -msse2 -msse3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -520,7 +520,7 @@ ifeq ($(system), Darwin)
|
||||||
/Applications/Pd*.app/Contents/Resources/src))
|
/Applications/Pd*.app/Contents/Resources/src))
|
||||||
extension = pd_darwin
|
extension = pd_darwin
|
||||||
cpp.flags := -DUNIX -DMACOSX -I /sw/include
|
cpp.flags := -DUNIX -DMACOSX -I /sw/include
|
||||||
c.flags :=
|
c.flags :=
|
||||||
c.ldflags := -undefined suppress -flat_namespace -bundle
|
c.ldflags := -undefined suppress -flat_namespace -bundle
|
||||||
c.ldlibs := -lc
|
c.ldlibs := -lc
|
||||||
cxx.ldflags := -undefined suppress -flat_namespace -bundle
|
cxx.ldflags := -undefined suppress -flat_namespace -bundle
|
||||||
|
|
@ -566,7 +566,7 @@ ifeq ($(system), Windows)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# On Windows we build 32 bit by default to match Pd(-extended) binary
|
# On Windows we build 32 bit by default to match Pd(-extended) binary
|
||||||
# distributions. This may change in the future.
|
# distributions. This may change in the future.
|
||||||
# TODO: decide whether -mms-bitfields should be specified.
|
# TODO: decide whether -mms-bitfields should be specified.
|
||||||
ifeq ($(system), Windows)
|
ifeq ($(system), Windows)
|
||||||
|
|
@ -620,7 +620,7 @@ pdincludepathwithspaces := $(if $(word 2, $(PDINCLUDEDIR)), $(PDINCLUDEDIR))
|
||||||
|
|
||||||
# From GNU make docs: 'Users expect to be able to specify CFLAGS freely
|
# From GNU make docs: 'Users expect to be able to specify CFLAGS freely
|
||||||
# themselves.' So we use CFLAGS to define options which are not strictly
|
# themselves.' So we use CFLAGS to define options which are not strictly
|
||||||
# required for compilation: optimizations, architecture specifications, and
|
# required for compilation: optimizations, architecture specifications, and
|
||||||
# warnings. CFLAGS can be safely overriden using a make command argument.
|
# warnings. CFLAGS can be safely overriden using a make command argument.
|
||||||
# Variables cflags, ldflags and ldlibs may be defined in including makefile.
|
# Variables cflags, ldflags and ldlibs may be defined in including makefile.
|
||||||
|
|
||||||
|
|
@ -679,7 +679,7 @@ compile-cxx := $(CXX)
|
||||||
all:
|
all:
|
||||||
|
|
||||||
# To avoid unpredictable results, make sure the default target is not redefined
|
# To avoid unpredictable results, make sure the default target is not redefined
|
||||||
# by including makefile.
|
# by including makefile.
|
||||||
ifneq ($(.DEFAULT_GOAL), all)
|
ifneq ($(.DEFAULT_GOAL), all)
|
||||||
$(error Default target must be 'all'.)
|
$(error Default target must be 'all'.)
|
||||||
endif
|
endif
|
||||||
|
|
@ -753,8 +753,8 @@ MAKEFLAGS += --no-builtin-rules
|
||||||
|
|
||||||
|
|
||||||
# Target all forces the build of targets [$(executables) post] in
|
# Target all forces the build of targets [$(executables) post] in
|
||||||
# deterministic order. Target $(executables) builds class executables plus
|
# deterministic order. Target $(executables) builds class executables plus
|
||||||
# optional shared lib or alternatively a single lib executable when
|
# optional shared lib or alternatively a single lib executable when
|
||||||
# make-lib-executable=true. Target post is optionally defined by
|
# make-lib-executable=true. Target post is optionally defined by
|
||||||
# library makefile.
|
# library makefile.
|
||||||
|
|
||||||
|
|
@ -960,7 +960,7 @@ endef
|
||||||
%.pre:: %.cc force
|
%.pre:: %.cc force
|
||||||
$(call make-preprocessor-file,cxx)
|
$(call make-preprocessor-file,cxx)
|
||||||
|
|
||||||
%.pre:: %.cpp force
|
%.pre:: %.cpp force
|
||||||
$(call make-preprocessor-file,cxx)
|
$(call make-preprocessor-file,cxx)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue