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

Contents of /src/lisp/Config.sparc_common

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations)
Wed Dec 22 02:12:52 2010 UTC (3 years, 3 months ago) by rtoy
Branch: MAIN
CVS Tags: GIT-CONVERSION, 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, HEAD
Changes since 1.3: +17 -5 lines
Merge changes from cross-sol-x86-2010-12-20 which adds support for
Solaris/x86.  There should be no functional changes for either other
x86 ports or for the sparc port.
1 # -*- Mode: makefile -*-
2
3 # Common configuration for sparc/solaris builds.
4
5 # These tell gmake where to look for .h, .c and .S files. Mostly for
6 # building the binary outside of the src tree.
7
8 PATH1 = ../../src/lisp
9 vpath %.h .:$(PATH1)
10 vpath %.c .:$(PATH1)
11 vpath %.S .:$(PATH1)
12
13 CMULOCALE = ../../src/i18n/locale
14 vpath %.pot $(CMULOCALE)
15 vpath %.po $(CMULOCALE)
16 vpath %.mo $(CMULOCALE)
17
18 # Enable support for :linkage-table feature.
19
20 ifdef FEATURE_LINKAGE_TABLE
21 LINKAGE = -DLINKAGE_TABLE
22 endif
23
24 # Enable support for generational GC
25 ifdef FEATURE_GENCGC
26 GENCGC = -DGENCGC
27 GC_SRC = gencgc.c
28 endif
29
30 # Enable support for SSE2. If FEATURE_X87 is set, we want SSE2
31 # support in the C code too so that the same binary is built in both
32 # cases. If neither is set, then we don't want any SSE2 support at
33 # all.
34 ifdef FEATURE_X87
35 SSE2 = -DFEATURE_SSE2
36 else
37 ifdef FEATURE_SSE2
38 SSE2 = -DFEATURE_SSE2
39 endif
40 endif
41
42 # Enable support for Unicode
43 ifdef FEATURE_UNICODE
44 UNICODE = -DUNICODE
45 endif
46
47 CPPFLAGS = -I. -I$(PATH1) -DSOLARIS -DSVR4 $(CC_V8PLUS) $(LINKAGE) $(GENCGC) $(UNICODE) $(SSE2)
48
49
50 CFLAGS = -g $(CC_V8PLUS)
51
52 NM = $(PATH1)/solaris-nm
53 #ASSEM_SRC = sparc-assem.S
54 #ARCH_SRC = sparc-arch.c
55
56 DEPEND=$(CC)
57 #OS_SRC = solaris-os.c os-common.c undefineds.c elf.c k_rem_pio2.c
58 OS_LINK_FLAGS=
59 #OS_LIBS= -lsocket -lnsl -ldl
60 EXEC_FINAL_OBJ = exec-final.o

  ViewVC Help
Powered by ViewVC 1.1.5