From 5e27f1fb3895a4c59d162431cf1a3574c948ae8b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 26 Nov 2009 23:30:56 +0000 Subject: don't build multitouch on 10.4 (8.11.1) since 10.4 lacks the MultitouchSupport framework svn path=/trunk/externals/apple/; revision=12811 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6c58e24..2c13932 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ SOURCES = # For objects that only build on certain platforms, add those to the SOURCES # line for the right platforms. -SOURCES_Darwin = ambient_light_sensor.c iodisplay.c keyboard_light.c sudden_motion_sensor.c smc.c multitouch.c +SOURCES_Darwin = ambient_light_sensor.c iodisplay.c keyboard_light.c sudden_motion_sensor.c smc.c SOURCES_iphoneos = multitouch.c SOURCES_Linux = SOURCES_Windows = @@ -50,6 +50,9 @@ ifeq ($(UNAME),Darwin) STRIP = strip -x else # Mac OS X SOURCES += $(SOURCES_Darwin) + ifneq ($(findstring 8.11.1, $(shell uname -r)), 8.11.1) + SOURCES += $(SOURCES_iphoneos) + endif EXTENSION = pd_darwin OS = macosx OPT_CFLAGS = -ftree-vectorize -ftree-vectorizer-verbose=3 -fast -- cgit v1.2.1