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

Diff of /src/lisp/Config.NetBSD_gencgc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pmai, Mon Jan 28 20:17:11 2002 UTC revision 1.2 by rtoy, Wed Jul 7 15:03:11 2004 UTC
# Line 1  Line 1 
1  PATH1 = ../../src/lisp  PATH1 = ../../src/lisp
2  PATH2 = ../../p86/lisp  PATH2 = ../../p86/lisp
3    ARCH = $(shell uname -m)
4  vpath %.h $(PATH2):$(PATH1)  vpath %.h $(PATH2):$(PATH1)
5  vpath %.c $(PATH2):$(PATH1)  vpath %.c $(PATH2):$(PATH1)
6  vpath %.S $(PATH2):$(PATH1)  vpath %.S $(PATH2):$(PATH1)
7  CPPFLAGS = -I. -I$(PATH2) -I$(PATH1) -I- -I/usr/X11R6/include  CPPFLAGS = -I. -I$(PATH2) -I$(PATH1) -I- -I/usr/X11R6/include
8  CC = gcc  CC = gcc -pipe
9  LD = ld  LD = ld
10  CPP = cpp  CPP = cpp
11  CFLAGS = -Wstrict-prototypes -Wall -O2 -g -DGENCGC -Di386  CFLAGS = -Wstrict-prototypes -Wall -O2 -g
12  ASFLAGS = -g -DGENCGC -Di386  ASFLAGS = -g -x assembler-with-cpp
13  NM = nm -gp  NM = nm -gp
14  UNDEFSYMPATTERN = -Xlinker -u -Xlinker &  UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
15  ASSEM_SRC = x86-assem.S  
16  ARCH_SRC = x86-arch.c  ifeq ($(ARCH), i386)
17  OS_SRC = NetBSD-os.c os-common.c undefineds.c    ASSEM_SRC = x86-assem.S
18  OS_LINK_FLAGS = -static    ARCH_SRC = x86-arch.c
19      ASFLAGS += -Di386 -DGENCGC -DLINKAGE_TABLE
20      CFLAGS += -Di386 -DGENCGC -DLINKAGE_TABLE
21      GC_SRC = gencgc.c
22    endif
23    
24    ifeq ($(ARCH), sparc64)
25      ASSEM_SRC = sparc-assem.S
26      ARCH_SRC = sparc-arch.c
27      ASFLAGS += -Dsparc64 -DLINKAGE_TABLE
28      CFLAGS += -Dsparc64 -DLINKAGE_TABLE
29    endif
30    
31    ifeq ($(ARCH), sparc)
32      ASSEM_SRC = sparc-assem.S
33      ARCH_SRC = sparc-arch.c
34      ASFLAGS += -Dsparc
35      CFLAGS += -Dsparc
36    endif
37    
38    ifeq ($(ARCH), powerpc)
39      ASSEM_SRC = ppc-assem.S
40      ARCH_SRC = ppc-arch.c
41      ASFLAGS += -Dppc
42      CFLAGS += -Dppc
43    endif
44    
45    OS_SRC = NetBSD-os.c os-common.c elf.c
46    OS_LINK_FLAGS = -dynamic -export-dynamic
47  OS_LIBS =  OS_LIBS =
 GC_SRC = gencgc.c  

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.5