Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/runtime/objs/mk.x86-darwin
ViewVC logotype

Diff of /sml/trunk/runtime/objs/mk.x86-darwin

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3656, Mon Jan 16 14:19:38 2012 UTC revision 3756, Wed Sep 12 19:56:54 2012 UTC
# Line 1  Line 1 
1  # mk.x86-darwin  # mk.x86-darwin
2  #  #
3  # COPYRIGHT (c) 2006 The SML/NJ Fellowship  # COPYRIGHT (c) 2012 The SML/NJ Fellowship
4  #  #
5  # Makefile for MacOS X 10.4+ on Intel processors  # Makefile for MacOS X 10.6+ on Intel processors
6  #  #
7  # the -D_NONSTD_SOURCE flag is needed for Mac OS X 10.5, because the  
 # mcontext field names changed.  
8  #  #
9  # The SDK variable is set to the SDK minimum Mac OS X version that you want  # The SDK variable is set to the SDK minimum Mac OS X version that you want
10  # to support.  Note that since Lion, the 10.5 (and 10.6?) SDKs are not part  # to support.  Note that since Lion, the 10.5 (and 10.6?) SDKs are not part
11  # of the Xcode install.  # of the Xcode install.
12  #  #
13    # to support 10.5 and later you will need to have the 10.5 SDK in /Developer/SDKs/MacOSX10.5.sdk
14    #
15    #SDK =          -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
16    #
17    # to support 10.5 and later you will need to have the 10.6 SDK in /Developer/SDKs/MacOSX10.6.sdk;
18    # this should work on Lion, if you had Xcode 4.2 installed.
19    #SDK =          -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6
20    #
21    # On Mountain Lion, the earliest version is 10.7, which is to supported by the following line:
22    #
23    #SDK =          -isysroot Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.7
24    
25    SDK =           -mmacosx-version-min=10.6
26    
27  SHELL =         /bin/sh  SHELL =         /bin/sh
28    
29  MAKE =          make  MAKE =          make
30  AS =            /usr/bin/as -arch i386  AS =            /usr/bin/as -arch i386
31  CC =            cc -m32 -ansi  CC =            cc -m32 -std=c99
 SDK =           -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5  
32  CFLAGS =        -g -O2 -D_DARWIN_C_SOURCE $(SDK)  CFLAGS =        -g -O2 -D_DARWIN_C_SOURCE $(SDK)
33  CPP =           cc -x assembler-with-cpp -E -P -ansi  CPP =           cc -x assembler-with-cpp -E -P -std=c99
34  XOBJS =  XOBJS =
35  XLIBS =         ../c-libs/dl/libunix-dynload.a  XLIBS =         ../c-libs/dl/libunix-dynload.a
36  LD_LIBS =       -ldl  LD_LIBS =       -ldl
37  XDEFS =  XDEFS =
38  BASE_DEFS =  BASE_DEFS =
39  DEFS            = $(XDEFS) $(BASE_DEFS) -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC  DEFS            = $(XDEFS) $(BASE_DEFS) -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC
40  TARGET =        X86  TARGET =        X86
41  VERSION =       v-x86-darwin  VERSION =       v-x86-darwin
42  RUNTIME =       run.x86-darwin  RUNTIME =       run.x86-darwin

Legend:
Removed from v.3656  
changed lines
  Added in v.3756

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0