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

Diff of /src/lisp/Config.FreeBSD_gencgc

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

revision 1.16 by cshapiro, Wed Sep 24 09:42:32 2008 UTC revision 1.17 by agoncharov, Wed Dec 10 03:15:27 2008 UTC
# Line 1  Line 1 
1    # -*- Mode: makefile -*-
2  PATH1 = ../../src/lisp  PATH1 = ../../src/lisp
3  vpath %.h $(PATH1)  vpath %.h $(PATH1)
4  vpath %.c $(PATH1)  vpath %.c $(PATH1)
5  vpath %.S $(PATH1)  vpath %.S $(PATH1)
6    
7  CC = gcc  CC = gcc
8  LD = ld  LD = ld
9  CPP = cpp  CPP = cpp
10    
11    # Enable support for :linkage-table feature.
12    ifdef FEATURE_LINKAGE_TABLE
13    LINKAGE = -DLINKAGE_TABLE
14    endif
15    
16    # Enable support for generational GC
17    ifdef FEATURE_GENCGC
18    GENCGC = -DGENCGC
19    GC_SRC = gencgc.c
20    endif
21    
22    # Enable support for SSE2.  If FEATURE_X87 is set, we want SSE2
23    # support in the C code too so that the same binary is built in both
24    # cases.  If neither is set, then we don't want any SSE2 support at
25    # all.
26    ifdef FEATURE_X87
27    SSE2 = -DFEATURE_SSE2
28    else
29    ifdef FEATURE_SSE2
30    SSE2 = -DFEATURE_SSE2
31    endif
32    endif
33    
34    RUNTIME = -Di386 $(GENCGC) $(LINKAGE) $(SSE2)
35    
36  ifneq (,$(filter 2% 3%, $(shell $(CC) -dumpversion)))  ifneq (,$(filter 2% 3%, $(shell $(CC) -dumpversion)))
37  CPPFLAGS = -I. -I$(PATH1) -I-  CPPFLAGS = -I. -I$(PATH1) -I-
38  else  else
39  CPPFLAGS = -iquote . -iquote $(PATH1)  CPPFLAGS = -iquote . -iquote $(PATH1)
40  endif  endif
41  CFLAGS = -Wstrict-prototypes -Wall -O2 -g -DGENCGC -DLINKAGE_TABLE  CPPFLAGS += $(RUNTIME)
42  ASFLAGS = -g -DGENCGC -DLINKAGE_TABLE  
43    CFLAGS = -Wstrict-prototypes -Wall -O2 -g
44    ASFLAGS = -g
45  NM = nm -gp  NM = nm -gp
46  UNDEFSYMPATTERN = -Xlinker -u -Xlinker &  UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
47  ASSEM_SRC = x86-assem.S  ASSEM_SRC = x86-assem.S
# Line 19  ARCH_SRC = x86-arch.c Line 49  ARCH_SRC = x86-arch.c
49  OS_SRC = FreeBSD-os.c os-common.c elf.c e_rem_pio2.c k_rem_pio2.c undefineds.c  OS_SRC = FreeBSD-os.c os-common.c elf.c e_rem_pio2.c k_rem_pio2.c undefineds.c
50  OS_LINK_FLAGS = -dynamic -export-dynamic  OS_LINK_FLAGS = -dynamic -export-dynamic
51  OS_LIBS = -lutil  OS_LIBS = -lutil
 GC_SRC = gencgc.c  
52    
53  # This has aliasing problems, so turn off aliasing.  # This has aliasing problems, so turn off aliasing.
54  e_rem_pio2.o : e_rem_pio2.c  e_rem_pio2.o : e_rem_pio2.c

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.5