/[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.16 - (show annotations)
Thu Jun 11 16:04:01 2009 UTC (4 years, 10 months ago) by rtoy
Branch: MAIN
CVS Tags: sparc-tramp-assem-base, post-merge-intl-branch, merged-unicode-utf16-extfmt-2009-06-11, intl-branch-working-2010-02-19-1000, unicode-string-buffer-impl-base, release-20b-pre1, release-20b-pre2, unicode-string-buffer-base, sparc-tramp-assem-2010-07-19, amd64-dd-start, intl-2-branch-base, GIT-CONVERSION, cross-sol-x86-merged, intl-branch-working-2010-02-11-1000, RELEASE_20b, release-20a-base, cross-sol-x86-base, snapshot-2010-12, snapshot-2010-11, snapshot-2011-09, snapshot-2011-06, snapshot-2011-07, snapshot-2011-04, snapshot-2011-02, snapshot-2011-03, snapshot-2011-01, pre-merge-intl-branch, snapshot-2010-05, snapshot-2010-04, snapshot-2010-07, snapshot-2010-06, snapshot-2010-01, snapshot-2010-03, snapshot-2010-02, snapshot-2010-08, cross-sol-x86-2010-12-20, intl-branch-2010-03-18-1300, RELEASE_20a, release-20a-pre1, snapshot-2009-11, snapshot-2009-12, portable-clx-import-2009-06-16, cross-sparc-branch-base, intl-branch-base, portable-clx-base, snapshot-2009-08, snapshot-2009-07, HEAD
Branch point for: portable-clx-branch, cross-sparc-branch, RELEASE-20B-BRANCH, unicode-string-buffer-branch, sparc-tramp-assem-branch, RELEASE-20A-BRANCH, amd64-dd-branch, unicode-string-buffer-impl-branch, intl-branch, cross-sol-x86-branch, intl-2-branch
Changes since 1.15: +7 -1 lines
Merge Unicode work to trunk.  From label
unicode-utf16-extfmt-2009-06-11.
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
8 # For Mac OS X 10.2, gcc3 is appropriate. For 10.4, gcc (gcc 4.0) is ok. But
9 # this means -traditional is needed because gcc 4 seems to handle '##'
10 # differently from gcc-3.3. I (rtoy) don't know which is right, but I
11 # think gcc 4 is wrong. However, to work around this, we use /**/ to
12 # concatenate tokens which reguires the -traditional flag.
13
14 # Build for OSX 10.2.8 or later. (Is this what we want?)
15 #OSX_VERSION=-mmacosx-version-min=10.2
16 CC = gcc
17 LD = ld
18 NM = $(PATH1)/darwin-nm
19 CPP = cpp -no-cpp-precomp
20 DEPEND = $(CC) -MM
21
22 ifdef FEATURE_LINKAGE_TABLE
23 LINKAGE = -DLINKAGE_TABLE
24 endif
25
26 # Enable support for generational GC
27 ifdef FEATURE_GENCGC
28 GENCGC = -DGENCGC
29 GC_SRC = gencgc.c
30 endif
31
32 # Enable support for Unicode
33 ifdef FEATURE_UNICODE
34 UNICODE = -DUNICODE
35 endif
36
37 CFLAGS = $(OSX_VERSION) -g -O3 -no-cpp-precomp -DDARWIN -Dppc $(LINKAGE) $(GENCGC) $(UNICODE)
38 ASFLAGS = $(OSX_VERSION) -traditional -g -O3 -no-cpp-precomp -DDARWIN -Dppc $(LINKAGE) $(GENCGC)
39
40 UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
41 ASSEM_SRC = ppc-assem.S linux-stubs.S
42 ARCH_SRC = ppc-arch.c
43 OS_SRC = ppc-darwin-dlshim.c os-common.c Darwin-os.c e_rem_pio2.c k_rem_pio2.c
44
45 # I (rtoy) am not exactly sure what these values are, but it seems
46 # that the segaddr for CMUCLRO should be the READ_ONLY_SPACE_START.
47 # The seg1addr should be somewhere above our spaces. This is where
48 # the C runtime code goes, I think.
49
50 # OS_LINK_FLAGS = -g -dynamic -Wl,-sectcreate,CMUCLRO,core,/dev/null -Wl,-segaddr,CMUCLRO,0x01000000 -Wl,-seg1addr,0x1a000000
51 OS_LINK_FLAGS = $(OSX_VERSION)
52 OS_LIBS = -lSystem -lc -lm
53 #all: adjustlisp
54 #adjustlisp: lisp darwin-lispadjuster
55 # ./darwin-lispadjuster lisp
56 #adjustlisp: lisp darwin-lispadjuster
57 # true
58
59 #darwin-lispadjuster: darwin-lispadjuster.c
60
61 # This has aliasing problems, so turn off aliasing.
62 e_rem_pio2.o : e_rem_pio2.c
63 $(CC) -c -fno-strict-aliasing -ffloat-store $(CFLAGS) $<

  ViewVC Help
Powered by ViewVC 1.1.5