Saturday, October 30, 2010

OS X Names Aren't Nearly As Cool As They Used To Be

Grab almost any Makefile from Apple's opensource code repository (this is from cctools) and behold:

ifeq "macos" "$(RC_OS)"
STATIC := $(shell if [ "$(RC_RELEASE)" = "Beaker" ] || \
[ "$(RC_RELEASE)" = "Bunsen" ] || \
[ "$(RC_RELEASE)" = "Gonzo" ] || \
[ "$(RC_RELEASE)" = "Kodiak" ] || \
[ "$(RC_RELEASE)" = "Cheetah" ] || \
[ "$(RC_RELEASE)" = "Puma" ] || \
[ "$(RC_RELEASE)" = "Jaguar" ] || \
[ "$(RC_RELEASE)" = "Panther" ] || \
[ "$(RC_RELEASE)" = "MuonPrime" ] || \
[ "$(RC_RELEASE)" = "MuonSeed" ] || \
[ "$(RC_RELEASE)" = "SUPanWheat" ]; then \
echo "-static" ; \
else if [ "$(RC_RELEASE)" = "Tiger" ]; then \
echo "-static" \
else \
echo "" \
; fi; fi; )
else
STATIC = -static
endif

Lion? I want Mac OS Xs Cookie Monster, Grover and Elmo.