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

Contents of /src/lisp/Config.ppc_darwin

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12.2.1 - (show annotations)
Fri May 23 11:02:18 2008 UTC (5 years, 10 months ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-sync-2008-12, unicode-utf16-sync-2008-07, unicode-utf16-sync-2008-09, unicode-utf16-extfmts-sync-2008-12, unicode-utf16-extfmts-pre-sync-2008-11, unicode-utf16-sync-2008-11
Branch point for: unicode-utf16-extfmt-branch
Changes since 1.12: +9 -1 lines
Support FEATURE_UNICODE.
1 # -*- Mode: makefile -*-
2 PATH1 = ../../src/lisp
3 vpath %.h $(PATH1)
4 vpath %.c $(PATH1)
5 vpath %.S $(PATH1)
6 CPPFLAGS = -I. -I$(PATH1)
7 # For Mac OS X 10.2, gcc3 is appropriate. For 10.4, gcc (gcc 4.0) is ok. But
8 # this means -traditional is needed because gcc 4 seems to handle '##'
9 # differently from gcc-3.3. I (rtoy) don't know which is right, but I
10 # think gcc 4 is wrong. However, to work around this, we use /**/ to
11 # concatenate tokens which reguires the -traditional flag.
12 CC = gcc
13 LD = ld
14 NM = $(PATH1)/darwin-nm
15 CPP = cpp -no-cpp-precomp
16 DEPEND = $(CC) -MM
17
18 ifdef FEATURE_LINKAGE_TABLE
19 LINKAGE = -DLINKAGE_TABLE
20 endif
21
22 # Enable support for generational GC
23 ifdef FEATURE_GENCGC
24 GENCGC = -DGENCGC
25 GC_SRC = gencgc.c
26 endif
27
28 # Enable support for Unicode
29 ifdef FEATURE_UNICODE
30 UNICODE = -DUNICODE
31 GC_SRC = gencgc.c
32 endif
33
34 CFLAGS = -g -O3 -no-cpp-precomp -DDARWIN -Dppc $(LINKAGE) $(GENCGC) $(UNICODE)
35 ASFLAGS = -traditional -g -O3 -no-cpp-precomp -DDARWIN -Dppc $(LINKAGE) $(GENCGC)
36
37 UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
38 ASSEM_SRC = ppc-assem.S linux-stubs.S
39 ARCH_SRC = ppc-arch.c
40 OS_SRC = ppc-darwin-dlshim.c os-common.c Darwin-os.c e_rem_pio2.c k_rem_pio2.c
41
42 # I (rtoy) am not exactly sure what these values are, but it seems
43 # that the segaddr for CMUCLRO should be the READ_ONLY_SPACE_START.
44 # The seg1addr should be somewhere above our spaces. This is where
45 # the C runtime code goes, I think.
46
47 # OS_LINK_FLAGS = -g -dynamic -Wl,-sectcreate,CMUCLRO,core,/dev/null -Wl,-segaddr,CMUCLRO,0x01000000 -Wl,-seg1addr,0x1a000000
48 OS_LIBS = -lSystem -lc -lm
49 #all: adjustlisp
50 #adjustlisp: lisp darwin-lispadjuster
51 # ./darwin-lispadjuster lisp
52 #adjustlisp: lisp darwin-lispadjuster
53 # true
54
55 #darwin-lispadjuster: darwin-lispadjuster.c
56
57 # This has aliasing problems, so turn off aliasing.
58 e_rem_pio2.o : e_rem_pio2.c
59 $(CC) -c -fno-strict-aliasing -ffloat-store $(CFLAGS) $<

  ViewVC Help
Powered by ViewVC 1.1.5