| @@ -1,17 +1,28 @@ | | | @@ -1,17 +1,28 @@ |
1 | # $NetBSD: Darwin.mk,v 1.29 2008/01/30 22:57:42 tron Exp $ | | 1 | # $NetBSD: Darwin.mk,v 1.30 2008/02/17 11:45:14 yyamano Exp $ |
2 | # | | 2 | # |
3 | # Variable definitions for the Darwin operating system. | | 3 | # Variable definitions for the Darwin operating system. |
4 | | | 4 | |
| | | 5 | # OS, Kernel, Xcode Version |
| | | 6 | # |
| | | 7 | # Codename OS Kernel Xcode |
| | | 8 | # Cheetah 10.0.x 1.3.1 |
| | | 9 | # Puma 10.1 1.4.1 |
| | | 10 | # 10.1.x 5.x.y |
| | | 11 | # Jaguar 10.2.x 6.x.y |
| | | 12 | # Panther 10.3.x 7.x.y |
| | | 13 | # Tiger 10.4.x 8.x.y 2.x (gcc 4.0, 4.0.1 from 2.2) |
| | | 14 | # Leopard 10.5.x 9.x.y 3.0 |
| | | 15 | |
5 | .if !defined(CPP) || ${CPP} == "cpp" | | 16 | .if !defined(CPP) || ${CPP} == "cpp" |
6 | CPP= ${CC} -E ${CPP_PRECOMP_FLAGS} | | 17 | CPP= ${CC} -E ${CPP_PRECOMP_FLAGS} |
7 | .endif | | 18 | .endif |
8 | .if empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*) | | 19 | .if empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*) |
9 | ECHO_N?= /bin/echo -n | | 20 | ECHO_N?= /bin/echo -n |
10 | .else | | 21 | .else |
11 | ECHO_N?= ${ECHO} -n | | 22 | ECHO_N?= ${ECHO} -n |
12 | .endif | | 23 | .endif |
13 | LDD?= /usr/bin/otool -L | | 24 | LDD?= /usr/bin/otool -L |
14 | IMAKE_MAKE?= ${MAKE} # program which gets invoked by imake | | 25 | IMAKE_MAKE?= ${MAKE} # program which gets invoked by imake |
15 | PKGLOCALEDIR?= share | | 26 | PKGLOCALEDIR?= share |
16 | PS?= /bin/ps | | 27 | PS?= /bin/ps |
17 | # XXX: default from defaults/mk.conf. Verify/correct for this platform | | 28 | # XXX: default from defaults/mk.conf. Verify/correct for this platform |