/[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.7.4.1 by gerd, Mon Aug 25 17:06:44 2003 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  PATH2 = ../../p86/lisp  vpath %.h $(PATH1)
4  vpath %.h $(PATH2):$(PATH1)  vpath %.c $(PATH1)
5  vpath %.c $(PATH2):$(PATH1)  vpath %.S $(PATH1)
6  vpath %.S $(PATH2):$(PATH1)  
 CPPFLAGS = -I. -I$(PATH2) -I$(PATH1) -I- -I/usr/X11R6/include  
7  CC = gcc  CC = gcc
8  LD = ld  LD = ld
9  CPP = cpp  CPP = cpp
10  CFLAGS = -Wstrict-prototypes -Wall -O2 -g -DGENCGC -DLINKAGE_TABLE  
11  ASFLAGS = -g -DGENCGC -DLINKAGE_TABLE  # 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)))
37    CPPFLAGS = -I. -I$(PATH1) -I-
38    else
39    CPPFLAGS = -iquote . -iquote $(PATH1)
40    endif
41    CPPFLAGS += $(RUNTIME)
42    
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
48  ARCH_SRC = x86-arch.c  ARCH_SRC = x86-arch.c
49  OS_SRC = FreeBSD-os.c os-common.c elf.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 =  OS_LIBS = -lutil
52  GC_SRC = gencgc.c  
53    # This has aliasing problems, so turn off aliasing.
54    e_rem_pio2.o : e_rem_pio2.c
55            $(CC) -c -fno-strict-aliasing -ffloat-store $(CFLAGS)  $<

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

  ViewVC Help
Powered by ViewVC 1.1.5