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

Contents of /src/lisp/Config.x86_common

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations)
Fri Mar 19 15:19:03 2010 UTC (4 years ago) by rtoy
Branch: MAIN
CVS Tags: GIT-CONVERSION, cross-sol-x86-base, sparc-tramp-assem-base, post-merge-intl-branch, snapshot-2010-12, snapshot-2010-11, cross-sol-x86-merged, snapshot-2011-09, snapshot-2011-06, snapshot-2011-07, snapshot-2011-04, snapshot-2011-02, snapshot-2011-03, snapshot-2011-01, snapshot-2010-06, release-20b-pre1, release-20b-pre2, cross-sparc-branch-base, snapshot-2010-05, snapshot-2010-04, snapshot-2010-07, sparc-tramp-assem-2010-07-19, snapshot-2010-08, RELEASE_20b, cross-sol-x86-2010-12-20, HEAD
Branch point for: cross-sol-x86-branch, cross-sparc-branch, sparc-tramp-assem-branch, RELEASE-20B-BRANCH
Changes since 1.6: +5 -0 lines
Merge intl-branch 2010-03-18 to HEAD.  To build, you need to use
boot-2010-02-1 as the bootstrap file.  You should probably also use
the new -P option for build.sh to generate and update the po files
while building.
1 # -*- Mode: makefile -*-
2
3 # These tell gmake where to look for .h, .c and .S files. Mostly for
4 # building the binary outside of the src tree.
5
6 PATH1 = ../../src/lisp
7 vpath %.h $(PATH1)
8 vpath %.c $(PATH1)
9 vpath %.S $(PATH1)
10
11 CMULOCALE = ../../src/i18n/locale
12 vpath %.pot $(CMULOCALE)
13 vpath %.po $(CMULOCALE)
14 vpath %.mo $(CMULOCALE)
15
16 CPP_DEFINE_OPTIONS := -Di386
17
18 # Enable support for :linkage-table feature.
19 ifdef FEATURE_LINKAGE_TABLE
20 CPP_DEFINE_OPTIONS += -DLINKAGE_TABLE
21 endif
22
23 # Enable support for generational GC
24 ifdef FEATURE_GENCGC
25 CPP_DEFINE_OPTIONS += -DGENCGC
26 GC_SRC := gencgc.c
27 else
28 GC_SRC := cgc.c
29 CPP_DEFINE_OPTIONS += -DWANT_CGC
30 endif
31
32 # Enable support for SSE2. If FEATURE_X87 is set, we want SSE2
33 # support in the C code too so that the same binary is built in both
34 # cases. If neither is set, then we don't want any SSE2 support at
35 # all.
36 ifdef FEATURE_X87
37 CPP_DEFINE_OPTIONS += -DFEATURE_SSE2
38 else
39 ifdef FEATURE_SSE2
40 CPP_DEFINE_OPTIONS += -DFEATURE_SSE2
41 endif
42 endif
43
44 ifdef FEATURE_UNICODE
45 CPP_DEFINE_OPTIONS += -DUNICODE
46 endif
47
48 CC = gcc
49 LD = ld
50
51 ifeq ($(filter 2% 3%, $(shell $(CC) -dumpversion)),)
52 CPP_INCLUDE_OPTIONS := -iquote . -iquote $(PATH1)
53 else
54 CPP_INCLUDE_OPTIONS := -I. -I$(PATH1) -I-
55 endif
56
57 CPPFLAGS := $(CPP_DEFINE_OPTIONS) $(CPP_INCLUDE_OPTIONS)
58 CFLAGS += -Wstrict-prototypes -Wall -O2 -g
59 ASFLAGS = -g
60
61 ASSEM_SRC = x86-assem.S
62 ARCH_SRC = x86-arch.c
63 OS_SRC = os-common.c e_rem_pio2.c k_rem_pio2.c
64
65 NM = nm -gp
66 DEPEND = $(CC) -MM -E
67 DEPEND_FLAGS =
68
69 # This no longer has aliasing problems, so no need to use
70 # -ffloat-store and -fno-strict-aliasing anymore.
71 e_rem_pio2.o : e_rem_pio2.c
72 $(CC) -c $(CFLAGS) $(CPPFLAGS) $<

  ViewVC Help
Powered by ViewVC 1.1.5