comparison build/Makefile.osx @ 313:b570254e70a0

* Don't use 10.4 SDK any more... it's too troublesome on 10.6 * Add a note indicating you can still build even if you don't have libsndfile
author Chris Cannam
date Mon, 07 Mar 2011 13:59:27 +0000
parents 003147fdf42c
children c70e1ceb1eff
comparison
equal deleted inserted replaced
312:2ad57dd004ba 313:b570254e70a0
61 # Architecture and developer SDK selection flags. Change these only 61 # Architecture and developer SDK selection flags. Change these only
62 # if you want to select a different OS/X compatibility level from the 62 # if you want to select a different OS/X compatibility level from the
63 # default. 63 # default.
64 # 64 #
65 # By default, we try to find the oldest available SDK that is newer 65 # By default, we try to find the oldest available SDK that is newer
66 # than 10.3. 66 # than 10.4.
67 # 67 #
68 # If you want to override this to select a particular SDK, change 68 # If you want to override this to select a particular SDK, change
69 # PREFERRED_SDK to the SDK name (e.g. "10.4u") and PREFERRED_MINVERSION 69 # PREFERRED_SDK to the SDK name (e.g. "10.4u") and PREFERRED_MINVERSION
70 # to the minimum OS revision (e.g. "10.4"). An example follows this code. 70 # to the minimum OS revision (e.g. "10.4"). An example follows this code.
71 # 71 #
72 SDKPREFIX := /Developer/SDKs/MacOSX 72 SDKPREFIX := /Developer/SDKs/MacOSX
73 SDKS := $(wildcard $(SDKPREFIX)*.sdk) 73 SDKS := $(wildcard $(SDKPREFIX)*.sdk)
74 SDKVERSIONS := $(patsubst $(SDKPREFIX)%.sdk,%,$(SDKS)) 74 SDKVERSIONS := $(patsubst $(SDKPREFIX)%.sdk,%,$(SDKS))
75 GOOD_SDKS := $(filter-out 10.1%,$(filter-out 10.2%,$(filter-out 10.3%,$(SDKVERSIONS)))) 75 GOOD_SDKS := $(filter-out 10.1%,$(filter-out 10.2%,$(filter-out 10.3%,$(filter-out 10.4%,$(SDKVERSIONS)))))
76 # 76 #
77 PREFERRED_SDK := $(word 1, $(sort $(GOOD_SDKS))) 77 PREFERRED_SDK := $(word 1, $(sort $(GOOD_SDKS)))
78 PREFERRED_MINVERSION := $(patsubst %u,%,$(PREFERRED_SDK)) 78 PREFERRED_MINVERSION := $(patsubst %u,%,$(PREFERRED_SDK))
79 # 79 #
80 # Example: to set your own values, uncomment and adjust: 80 # Example: to set your own values, uncomment and adjust: