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

Contents of /src/lisp/Config.FreeBSD_gencgc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15.2.3 - (show annotations)
Thu Dec 18 21:50:19 2008 UTC (5 years, 3 months ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-sync-2008-12, unicode-utf16-sync-label-2009-03-16, unicode-utf16-char-support-2009-03-26, unicode-utf16-char-support-2009-03-25
Changes since 1.15.2.2: +35 -6 lines
Merge Snapshot 2008-12 to this branch.  Some tweaks needed in
boot-2008-05-cross-unicode-x86.lisp and the Config files.  FreeBSD and
Darwin/x86 untested, but Linux and Solaris build ok.
1 # -*- Mode: makefile -*-
2 PATH1 = ../../src/lisp
3 vpath %.h $(PATH1)
4 vpath %.c $(PATH1)
5 vpath %.S $(PATH1)
6
7 CC = gcc
8 LD = ld
9 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
35 # Enable support for Unicode
36 ifdef FEATURE_UNICODE
37 UNICODE = -DUNICODE
38 endif
39
40 RUNTIME = -Di386 $(GENCGC) $(LINKAGE) $(SSE2) $(UNICODE)
41
42 ifneq (,$(filter 2% 3%, $(shell $(CC) -dumpversion)))
43 CPPFLAGS = -I. -I$(PATH1) -I-
44 else
45 CPPFLAGS = -iquote . -iquote $(PATH1)
46 endif
47
48 CPPFLAGS += $(RUNTIME)
49
50 CFLAGS = -Wstrict-prototypes -Wall -O2 -g
51 ASFLAGS = -g
52 NM = nm -gp
53 UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
54 ASSEM_SRC = x86-assem.S
55 ARCH_SRC = x86-arch.c
56 OS_SRC = FreeBSD-os.c os-common.c elf.c e_rem_pio2.c k_rem_pio2.c undefineds.c
57 OS_LINK_FLAGS = -dynamic -export-dynamic
58 OS_LIBS = -lutil
59
60 # This has aliasing problems, so turn off aliasing.
61 e_rem_pio2.o : e_rem_pio2.c
62 $(CC) -c -fno-strict-aliasing -ffloat-store $(CFLAGS) $<

  ViewVC Help
Powered by ViewVC 1.1.5