/[cmucl]/src/lisp/Config.x86_darwin
ViewVC logotype

Diff of /src/lisp/Config.x86_darwin

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

revision 1.2.4.1.2.2 by rtoy, Fri Dec 19 01:31:34 2008 UTC revision 1.2.4.1.2.3 by rtoy, Wed Mar 18 15:37:29 2009 UTC
# Line 1  Line 1 
1  # -*- Mode: makefile -*-  # -*- Mode: makefile -*-
2  PATH1 = ../../src/lisp  
3  vpath %.h $(PATH1)  include Config.x86_common
4  vpath %.c $(PATH1)  
5  vpath %.S $(PATH1)  # Compile code that will run on OSX 10.4 (Tiger)
6  INCLUDES = -iquote . -iquote $(PATH1)  MIN_VER = -mmacosx-version-min=10.4
7  CC = gcc  
8  LD = ld  CPPFLAGS += -DDARWIN $(MIN_VER)
9  CPP = cpp  CFLAGS += -g3
10    ASFLAGS += -g3 $(MIN_VER)
11  # Enable support for Unicode  
12  ifdef FEATURE_UNICODE  
 UNICODE = -DUNICODE  
 endif  
   
 ifdef FEATURE_LINKAGE_TABLE  
 LINKAGE = -DLINKAGE_TABLE  
 endif  
   
 # Enable support for generational GC  
 ifdef FEATURE_GENCGC  
 GENCGC = -DGENCGC  
 GC_SRC = gencgc.c  
 endif  
   
 # If either FEATURE_X7 or FEATURE_SSE2 is defined, compile the code  
 # for SSE2 support.  
 ifdef FEATURE_X87  
 SSE2 = -DFEATURE_SSE2  
 endif  
 ifdef FEATURE_SSE2  
 SSE2 = -DFEATURE_SSE2  
 endif  
   
 RUNTIME = $(LINKAGE) $(GENCGC) $(SSE2) $(UNICODE)  
 CPPFLAGS = -Di386 -DDARWIN $(RUNTIME)  
 CFLAGS = -Wstrict-prototypes -Wall -g3 $(CPPFLAGS) $(INCLUDES)  
 ASFLAGS = -g3 $(INCLUDES) $(RUNTIME)  
 NM = nm -gp  
13  UNDEFSYMPATTERN = -Xlinker -u -Xlinker &  UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
14  ASSEM_SRC = x86-assem.S  
15  ARCH_SRC = x86-arch.c  OS_SRC += Darwin-os.c
16  OS_SRC = Darwin-os.c os-common.c e_rem_pio2.c k_rem_pio2.c  OS_LINK_FLAGS = $(MIN_VER)
 # OS_LINK_FLAGS = -dynamic -export-dynamic  
17  OS_LIBS =  OS_LIBS =
18    
 # This has aliasing problems, so turn off aliasing.  
 e_rem_pio2.o : e_rem_pio2.c  
         $(CC) -c -fno-strict-aliasing -ffloat-store $(CFLAGS)  $<  

Legend:
Removed from v.1.2.4.1.2.2  
changed lines
  Added in v.1.2.4.1.2.3

  ViewVC Help
Powered by ViewVC 1.1.5