Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
03788428
Commit
03788428
authored
Jul 23, 2019
by
Albert Gräf
Browse files
Fix compile options for Xcode 10 - externals and abstractions.
parent
2beb101c
Changes
48
Hide whitespace changes
Inline
Side-by-side
abstractions/footils/list-abs/Makefile
View file @
03788428
...
...
@@ -41,6 +41,10 @@ LIBS =
#
#------------------------------------------------------------------------------#
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# get library version from meta file
LIBRARY_VERSION
=
$(
shell
sed
-n
's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p'
$(LIBRARY_NAME)
-meta
.pd
)
...
...
@@ -92,9 +96,9 @@ ifeq ($(UNAME),Darwin)
OPT_CFLAGS
=
-ftree-vectorize
-ftree-vectorizer-verbose
=
2
-fast
# build universal 32-bit on 10.4 and 32/64 on newer
ifeq
($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8)
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
$(macos_target)
else
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
SOURCES
+=
$(SOURCES_iphoneos)
endif
CFLAGS
+=
$(FAT_FLAGS)
-fPIC
-I
/sw/include
...
...
abstractions/purepd/Makefile
View file @
03788428
...
...
@@ -41,6 +41,10 @@ LIBS =
#
#------------------------------------------------------------------------------#
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# get library version from meta file
LIBRARY_VERSION
=
$(
shell
sed
-n
's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p'
$(LIBRARY_NAME)
-meta
.pd
)
...
...
@@ -92,9 +96,9 @@ ifeq ($(UNAME),Darwin)
OPT_CFLAGS
=
-ftree-vectorize
-ftree-vectorizer-verbose
=
2
-fast
# build universal 32-bit on 10.4 and 32/64 on newer
ifeq
($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8)
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
$(macos_target)
else
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
SOURCES
+=
$(SOURCES_iphoneos)
endif
CFLAGS
+=
$(FAT_FLAGS)
-fPIC
-I
/sw/include
...
...
externals/Makefile
View file @
03788428
...
...
@@ -15,8 +15,12 @@ cvs_root_dir := $(shell cd $(CWD)/.. && pwd)
DESTDIR
=
$(CWD)
/build/
BUILDLAYOUT_DIR
=
$(cvs_root_dir)
/packages
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# turn on weak linking and dlopen support
export
MACOSX_DEPLOYMENT_TARGET
=
10.3
export
MACOSX_DEPLOYMENT_TARGET
=
$(macos_target)
# default target
default
:
all
...
...
externals/apple/Makefile
View file @
03788428
...
...
@@ -53,6 +53,10 @@ ALL_LIBS =
#
#------------------------------------------------------------------------------#
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# these can be set from outside without (usually) breaking the build
CFLAGS
=
-Wall
-W
-g
LDFLAGS
=
...
...
@@ -112,9 +116,9 @@ ifeq ($(UNAME),Darwin)
OPT_CFLAGS
=
-ftree-vectorize
-ftree-vectorizer-verbose
=
2
-fast
# build universal 32-bit on 10.4 and 32/64 on newer
ifeq
($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8)
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
$(macos_target)
else
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
SOURCES
+=
$(SOURCES_iphoneos)
endif
ALL_CFLAGS
+=
$(FAT_FLAGS)
-fPIC
-I
/sw/include
...
...
@@ -260,7 +264,7 @@ all: $(SOURCES:.c=.$(EXTENSION)) $(SHARED_LIB)
multitouch.$(EXTENSION)
:
multitouch.c
$(CC)
$(ALL_CFLAGS)
-o
multitouch.o
-c
multitouch.c
$(CC)
$(ALL_LDFLAGS)
-mmacosx-version-min
=
10.5
-F
/System/Library/PrivateFrameworks
\
$(CC)
$(ALL_LDFLAGS)
-mmacosx-version-min
=
$(macos_target)
-F
/System/Library/PrivateFrameworks
\
-o
multitouch.
$(EXTENSION)
multitouch.o
$(ALL_LIBS)
\
-framework
MultitouchSupport
chmod
a-x multitouch.
$(EXTENSION)
...
...
externals/arraysize/Makefile
View file @
03788428
...
...
@@ -40,6 +40,10 @@ EXTRA_DIST =
#
#------------------------------------------------------------------------------#
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# get library version from meta file
LIBRARY_VERSION
=
$(
shell
sed
-n
's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p'
$(LIBRARY_NAME)
-meta
.pd
)
...
...
@@ -92,9 +96,9 @@ ifeq ($(UNAME),Darwin)
OPT_CFLAGS
=
-ftree-vectorize
-ftree-vectorizer-verbose
=
2
-fast
# build universal 32-bit on 10.4 and 32/64 on newer
ifeq
($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8)
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
$(macos_target)
else
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
SOURCES
+=
$(SOURCES_iphoneos)
endif
CFLAGS
+=
$(FAT_FLAGS)
-fPIC
-I
/sw/include
\
...
...
externals/autotune/Makefile
View file @
03788428
...
...
@@ -40,6 +40,10 @@ SOURCES_windows =
#
#------------------------------------------------------------------------------#
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# get library version from meta file
#LIBRARY_VERSION = $(shell sed -n 's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p' $(LIBRARY_NAME)-meta.pd)
LIBRARY_VERSION
=
0.9
...
...
@@ -91,9 +95,9 @@ ifeq ($(UNAME),Darwin)
OPT_CFLAGS
=
-ftree-vectorize
-ftree-vectorizer-verbose
=
2
-fast
# build universal 32-bit on 10.4 and 32/64 on newer
ifeq
($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8)
FAT_FLAGS
=
-arch
i386
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
i386
-mmacosx-version-min
=
$(macos_target)
else
FAT_FLAGS
=
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
SOURCES
+=
$(SOURCES_iphoneos)
endif
CFLAGS
+=
$(FAT_FLAGS)
-fPIC
-I
/sw/include
\
...
...
externals/bassemu~/Makefile
View file @
03788428
...
...
@@ -41,6 +41,10 @@ LIBS =
#
#------------------------------------------------------------------------------#
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# get library version from meta file
LIBRARY_VERSION
=
$(
shell
sed
-n
's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p'
$(LIBRARY_NAME)
-meta
.pd
)
...
...
@@ -92,9 +96,9 @@ ifeq ($(UNAME),Darwin)
OPT_CFLAGS
=
-ftree-vectorize
-ftree-vectorizer-verbose
=
2
-fast
# build universal 32-bit on 10.4 and 32/64 on newer
ifeq
($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8)
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
$(macos_target)
else
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
SOURCES
+=
$(SOURCES_iphoneos)
endif
CFLAGS
+=
$(FAT_FLAGS)
-fPIC
-I
/sw/include
...
...
externals/boids/Makefile
View file @
03788428
...
...
@@ -42,6 +42,10 @@ LIBS =
#
#------------------------------------------------------------------------------#
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# get library version from meta file
LIBRARY_VERSION
=
$(
shell
sed
-n
's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p'
$(LIBRARY_NAME)
-meta
.pd
)
...
...
@@ -93,9 +97,9 @@ ifeq ($(UNAME),Darwin)
OPT_CFLAGS
=
-ftree-vectorize
-ftree-vectorizer-verbose
=
2
-fast
# build universal 32-bit on 10.4 and 32/64 on newer
ifeq
($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8)
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
$(macos_target)
else
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
SOURCES
+=
$(SOURCES_iphoneos)
endif
CFLAGS
+=
$(FAT_FLAGS)
-fPIC
-I
/sw/include
...
...
externals/bsaylor/Makefile
View file @
03788428
...
...
@@ -43,6 +43,10 @@ LIBS = -lm
#
#------------------------------------------------------------------------------#
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# get library version from meta file
LIBRARY_VERSION
=
$(
shell
sed
-n
's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p'
$(LIBRARY_NAME)
-meta
.pd
)
...
...
@@ -94,9 +98,9 @@ ifeq ($(UNAME),Darwin)
OPT_CFLAGS
=
-ftree-vectorize
-ftree-vectorizer-verbose
=
2
-fast
# build universal 32-bit on 10.4 and 32/64 on newer
ifeq
($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8)
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
$(macos_target)
else
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
SOURCES
+=
$(SOURCES_iphoneos)
endif
CFLAGS
+=
$(FAT_FLAGS)
-fPIC
-I
/sw/include
...
...
externals/cxc/Makefile
View file @
03788428
...
...
@@ -45,6 +45,10 @@ LIBS =
#
#------------------------------------------------------------------------------#
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# get library version from meta file
LIBRARY_VERSION
=
$(
shell
sed
-n
's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p'
$(LIBRARY_NAME)
-meta
.pd
)
...
...
@@ -96,9 +100,9 @@ ifeq ($(UNAME),Darwin)
OPT_CFLAGS
=
-ftree-vectorize
-ftree-vectorizer-verbose
=
2
-fast
# build universal 32-bit on 10.4 and 32/64 on newer
ifeq
($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8)
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
$(macos_target)
else
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
SOURCES
+=
$(SOURCES_iphoneos)
endif
CFLAGS
+=
$(FAT_FLAGS)
-fPIC
-I
/sw/include
...
...
externals/disis/Makefile.pdlibbuilder.revised
View file @
03788428
...
...
@@ -408,6 +408,9 @@ endif
# OSX x86_64.
ifeq
($(system), Darwin)
ifeq
($(macos_target),)
macos_target
=
10.9
endif
pkglibdir
=
$(HOME)
/Library/Pd
pdincludepath
:=
$(
firstword
$(
wildcard
\
$(externalsdir)
/../pd/src
\
...
...
@@ -427,12 +430,12 @@ ifeq ($(system), Darwin)
stripflags
=
-x
ifeq
($(machine), i386)
cxx.flags
:=
-fcheck-new
arch.c.flags
:=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
arch.ld.flags
:=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
arch.c.flags
:=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
arch.ld.flags
:=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
endif
ifeq
($(machine), x86_64)
arch.c.flags
:=
-arch
x86_64
-mmacosx-version-min
=
10.5
arch.ld.flags
:=
-arch
x86_64
-mmacosx-version-min
=
10.5
arch.c.flags
:=
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
arch.ld.flags
:=
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
endif
endif
...
...
externals/earplug~/Makefile
View file @
03788428
...
...
@@ -41,6 +41,10 @@ LIBS =
#
#------------------------------------------------------------------------------#
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# get library version from meta file
LIBRARY_VERSION
=
$(
shell
sed
-n
's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p'
$(LIBRARY_NAME)
-meta
.pd
)
...
...
@@ -92,9 +96,9 @@ ifeq ($(UNAME),Darwin)
OPT_CFLAGS
=
-ftree-vectorize
-ftree-vectorizer-verbose
=
2
-fast
# build universal 32-bit on 10.4 and 32/64 on newer
ifeq
($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8)
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
$(macos_target)
else
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
SOURCES
+=
$(SOURCES_iphoneos)
endif
CFLAGS
+=
$(FAT_FLAGS)
-fPIC
-I
/sw/include
...
...
externals/ekext/Makefile
View file @
03788428
...
...
@@ -41,6 +41,10 @@ LIBS =
#
#------------------------------------------------------------------------------#
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# get library version from meta file
LIBRARY_VERSION
=
$(
shell
sed
-n
's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p'
$(LIBRARY_NAME)
-meta
.pd
)
...
...
@@ -92,9 +96,9 @@ ifeq ($(UNAME),Darwin)
OPT_CFLAGS
=
-ftree-vectorize
-ftree-vectorizer-verbose
=
2
-fast
# build universal 32-bit on 10.4 and 32/64 on newer
ifeq
($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8)
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
$(macos_target)
else
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
SOURCES
+=
$(SOURCES_iphoneos)
endif
CFLAGS
+=
$(FAT_FLAGS)
-fPIC
-I
/sw/include
...
...
externals/ext13/Makefile
View file @
03788428
...
...
@@ -47,6 +47,10 @@ LIBS =
#
#------------------------------------------------------------------------------#
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# get library version from meta file
LIBRARY_VERSION
=
$(
shell
sed
-n
's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p'
$(LIBRARY_NAME)
-meta
.pd
)
...
...
@@ -98,9 +102,9 @@ ifeq ($(UNAME),Darwin)
OPT_CFLAGS
=
-ftree-vectorize
-ftree-vectorizer-verbose
=
2
-fast
# build universal 32-bit on 10.4 and 32/64 on newer
ifeq
($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8)
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
$(macos_target)
else
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
SOURCES
+=
$(SOURCES_iphoneos)
endif
CFLAGS
+=
$(FAT_FLAGS)
-fPIC
-I
/sw/include
...
...
externals/fluid~/Makefile.pdlibbuilder.revised
View file @
03788428
...
...
@@ -514,6 +514,9 @@ endif
# OSX x86_64.
ifeq
($(system), Darwin)
ifeq
($(macos_target),)
macos_target
=
10.9
endif
pkglibdir
=
$(HOME)
/Library/Pd
pdincludepath
:=
$(
firstword
$(
wildcard
\
$(externalsdir)
/../pd/src
\
...
...
@@ -533,12 +536,12 @@ ifeq ($(system), Darwin)
stripflags
=
-x
ifeq
($(machine), i386)
cxx.flags
:=
-fcheck-new
arch.c.flags
:=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
arch.ld.flags
:=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
arch.c.flags
:=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
arch.ld.flags
:=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
endif
ifeq
($(machine), x86_64)
arch.c.flags
:=
-arch
x86_64
-mmacosx-version-min
=
10.5
arch.ld.flags
:=
-arch
x86_64
-mmacosx-version-min
=
10.5
arch.c.flags
:=
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
arch.ld.flags
:=
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
endif
endif
...
...
externals/footils/knob/Makefile.pdlibbuilder.revised
View file @
03788428
...
...
@@ -514,6 +514,9 @@ endif
# OSX x86_64.
ifeq
($(system), Darwin)
ifeq
($(macos_target),)
macos_target
=
10.9
endif
pkglibdir
=
$(HOME)
/Library/Pd
pdincludepath
:=
$(
firstword
$(
wildcard
\
$(externalsdir)
/../pd/src
\
...
...
@@ -533,12 +536,12 @@ ifeq ($(system), Darwin)
stripflags
=
-x
ifeq
($(machine), i386)
cxx.flags
:=
-fcheck-new
arch.c.flags
:=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
arch.ld.flags
:=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
arch.c.flags
:=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
arch.ld.flags
:=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
endif
ifeq
($(machine), x86_64)
arch.c.flags
:=
-arch
x86_64
-mmacosx-version-min
=
10.5
arch.ld.flags
:=
-arch
x86_64
-mmacosx-version-min
=
10.5
arch.c.flags
:=
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
arch.ld.flags
:=
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
endif
endif
...
...
externals/freeverb~/Makefile
View file @
03788428
...
...
@@ -41,6 +41,10 @@ LIBS =
#
#------------------------------------------------------------------------------#
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# get library version from meta file
LIBRARY_VERSION
=
$(
shell
sed
-n
's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p'
$(LIBRARY_NAME)
-meta
.pd
)
...
...
@@ -92,9 +96,9 @@ ifeq ($(UNAME),Darwin)
OPT_CFLAGS
=
-ftree-vectorize
-ftree-vectorizer-verbose
=
2
-fast
# build universal 32-bit on 10.4 and 32/64 on newer
ifeq
($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8)
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
$(macos_target)
else
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
SOURCES
+=
$(SOURCES_iphoneos)
endif
CFLAGS
+=
$(FAT_FLAGS)
-fPIC
-I
/sw/include
...
...
externals/ggee/Makefile
View file @
03788428
...
...
@@ -44,6 +44,10 @@ LIBS =
#
#------------------------------------------------------------------------------#
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# get library version from meta file
LIBRARY_VERSION
=
$(
shell
sed
-n
's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p'
$(LIBRARY_NAME)
-meta
.pd
)
...
...
@@ -95,9 +99,9 @@ ifeq ($(UNAME),Darwin)
OPT_CFLAGS
=
-ftree-vectorize
-ftree-vectorizer-verbose
=
2
-fast
# build universal 32-bit on 10.4 and 32/64 on newer
ifeq
($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8)
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
$(macos_target)
else
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
SOURCES
+=
$(SOURCES_iphoneos)
endif
CFLAGS
+=
$(FAT_FLAGS)
-fPIC
-I
/sw/include
...
...
externals/hcs/Makefile
View file @
03788428
...
...
@@ -48,6 +48,10 @@ ALL_LIBS =
#
#------------------------------------------------------------------------------#
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# these can be set from outside without (usually) breaking the build
CFLAGS
=
-Wall
-W
-g
LDFLAGS
=
...
...
@@ -107,9 +111,9 @@ ifeq ($(UNAME),Darwin)
OPT_CFLAGS
=
-ftree-vectorize
-ftree-vectorizer-verbose
=
2
-fast
# build universal 32-bit on 10.4 and 32/64 on newer
ifeq
($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8)
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-mmacosx-version-min
=
$(macos_target)
else
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
ppc
-arch
i386
-arch
x86_64
-mmacosx-version-min
=
$(macos_target)
SOURCES
+=
$(SOURCES_iphoneos)
endif
ALL_CFLAGS
+=
$(FAT_FLAGS)
-fPIC
-I
/sw/include
...
...
externals/hcs/usbhid/Makefile
View file @
03788428
...
...
@@ -33,6 +33,10 @@ EXTRA_DIST =
#
#------------------------------------------------------------------------------#
ifeq
($(macos_target),)
macos_target
=
10.9
endif
# where Pd lives
PD_PATH
=
../../../pd
# where to install the library
...
...
@@ -78,7 +82,7 @@ ifeq ($(UNAME),Darwin)
EXTENSION
=
pd_darwin
OS
=
macosx
OPT_CFLAGS
=
-ftree-vectorize
-ftree-vectorizer-verbose
=
2
-fast
FAT_FLAGS
=
-arch
i386
-arch
ppc
-mmacosx-version-min
=
10.4
FAT_FLAGS
=
-arch
i386
-arch
ppc
-mmacosx-version-min
=
$(macos_target)
CFLAGS
+=
$(FAT_FLAGS)
-fPIC
-I
/sw/include
\
-I
/Applications/Pd-extended.app/Contents/Resources/include
LDFLAGS
+=
$(FAT_FLAGS)
-bundle
-undefined
dynamic_lookup
-L
/sw/lib
...
...
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment