Skip to content
Snippets Groups Projects
Commit a8f7a91b authored by Raymond Toy's avatar Raymond Toy
Browse files

Remove old Config files that are no longer used or supported.

parent 431765cf
No related branches found
No related tags found
No related merge requests found
PATH1 = ../../src/lisp
vpath %.h $(PATH1)
vpath %.c $(PATH1)
vpath %.S $(PATH1)
CPPFLAGS = -I. -I$(PATH1) -I-
CC = gcc -m32
LD = ld
CPP = cpp
CFLAGS = -Wstrict-prototypes -Wall -O2 -g -DWANT_CGC -m486
ASFLAGS = -g -DWANT_CGC
NM = $(PATH1)/linux-nm
UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
ASSEM_SRC = x86-assem.S linux-stubs.S
ARCH_SRC = x86-arch.c
OS_SRC = Linux-os.c os-common.c
OS_LINK_FLAGS = -Xlinker --export-dynamic
OS_LIBS = -ldl
GC_SRC = cgc.c
# -*- Mode: makefile -*-
PATH1 = ../../src/lisp
vpath %.h $(PATH1)
vpath %.c $(PATH1)
vpath %.S $(PATH1)
CC ?= gcc
LD = ld
CPP = cpp
RUNTIME += -m32 -Di386
# Enable support for :linkage-table feature.
ifdef FEATURE_LINKAGE_TABLE
RUNTIME += -DLINKAGE_TABLE
endif
# Enable support for generational GC
ifdef FEATURE_GENCGC
RUNTIME += -DGENCGC
GC_SRC = gencgc.c
endif
# Enable support for SSE2. If FEATURE_X87 is set, we want SSE2
# support in the C code too so that the same binary is built in both
# cases. If neither is set, then we don't want any SSE2 support at
# all.
ifdef FEATURE_X87
RUNTIME += -DFEATURE_SSE2
else
ifdef FEATURE_SSE2
RUNTIME += -DFEATURE_SSE2
endif
endif
# Enable support for Unicode
ifdef FEATURE_UNICODE
RUNTIME += -DUNICODE
endif
# __NO_CTYPE so builds on glibc 2.3 will run on (some) older glibc's.
ifneq (,$(filter 2% 3%, $(shell $(CC) -dumpversion)))
CPPFLAGS = -D__NO_CTYPE -D_GNU_SOURCE -I. -I$(PATH1) -I- $(RUNTIME)
else
CPPFLAGS = -D__NO_CTYPE -D_GNU_SOURCE -iquote. -iquote $(PATH1) $(RUNTIME)
endif
CFLAGS += -rdynamic -Wstrict-prototypes -Wall -O2 -g $(RUNTIME)
ASFLAGS = -g $(RUNTIME)
NM = $(PATH1)/linux-nm
UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
ASSEM_SRC = x86-assem.S linux-stubs.S
ARCH_SRC = x86-arch.c
OS_SRC = Linux-os.c os-common.c elf.c e_rem_pio2.c k_rem_pio2.c
OS_LINK_FLAGS = -m32 -rdynamic -Xlinker --export-dynamic -Xlinker -Map -Xlinker foo
OS_LIBS = -ldl
#GC_SRC = gencgc.c
# e_rem_pio2.c has strict aliasing issues. Compile this with
# strict-aliasing rules turned off. To see this failure, try
# computing (cos (expt 2d0 120)). This should be near
# -0.92587902285.... If not, then e_rem_pio2 has been miscompiled.
#
# Use -ffloat-store to make sure we get double-float arithmetic
# instead of extended.
e_rem_pio2.o : e_rem_pio2.c
$(CC) -c -fno-strict-aliasing -ffloat-store $(CFLAGS) $<
CPPFLAGS = -I.
CC = gcc # -Wall -Wstrict-prototypes -Wmissing-prototypes
CPP = /usr/cs/lib/cpp
CFLAGS = -g
ASFLAGS = -g
NM = nm -gp
ASSEM_SRC = sparc-assem.S
ARCH_SRC = sparc-arch.c
OS_SRC = mach-os.c os-common.c undefineds.c
OS_LINK_FLAGS=
OS_LIBS=-lmach
# -*- Mode: makefile -*-
# These tell gmake where to look for .h, .c and .S files. Mostly for
# building the binary outside of the src tree.
PATH1 = ../../src/lisp
vpath %.h .:$(PATH1)
vpath %.c .:$(PATH1)
vpath %.S .:$(PATH1)
# For v8plus support (allows 64-bit integer support on V9
# architectures), uncomment the definitions for CC_V8PLUS and
# AS_V8PLUS. The -Wa,xarch=v8plus option tells the assembler to
# accept v8plus instructions and generate a v8plus object files and
# executable.
#
# However, we should also make sure the binary is marked as v8plus by
# enabling AS_V8PLUS whenever we have the :sparc-v9 *feature* enabled
# because we really are a v8plus application by using some of the v9
# instructions, even if we don't use the 64-bit registers.
#CC_V8PLUS = -xarch=v8plus
ifdef FEATURE_SPARC_V9
AS_V8PLUS = -Wa,-xarch=v8plus
endif
# Enable support for :linkage-table feature.
ifdef FEATURE_LINKAGE_TABLE
LINKAGE = -DLINKAGE_TABLE
endif
# Enable support for generational GC
ifdef FEATURE_GENCGC
GENCGC = -DGENCGC
GC_SRC = gencgc.c
endif
CPPFLAGS = -I. -I$(PATH1) -DSOLARIS -DSVR4 $(CC_V8PLUS) $(LINKAGE) $(GENCGC)
# Note: If you want to be able to use gdb with cmucl, you need to use
# gdb 4.18 (or earlier?) or use gdb 6.8. Versions 5.x and later
# (including 6.3) appear to be incapable of passing signals (SIGILL
# and SIGSEGV) to lisp properly.
#
# But, gcc 3.3.3 and later appear to produce executables that gdb 4.18
# can't handle. So, we should probably stick with gcc 3.3.2. Adjust
# the CC variable appropriately, if necessary. But gdb 6.8 handles
# 3.4.3 just fine.
CC = gcc -O -Wall
#CC = /apps/gnu/solaris2.8/gcc-3.3.3/bin/gcc -O1 -Wall
CPP = gcc -E
CFLAGS = -g $(AS_V8PLUS)
# Needed for sys/asm_linkage.h and sparc-assem.S (at least in 2.3)
# Note that the sys/asm_linkage.h braindamage breaks make depend
ASFLAGS = -g -traditional-cpp $(AS_V8PLUS)
DEPEND_FLAGS = -traditional-cpp
NM = $(PATH1)/solaris-nm
ASSEM_SRC = sparc-assem.S
ARCH_SRC = sparc-arch.c
OS_SRC = solaris-os.c os-common.c undefineds.c elf.c k_rem_pio2.c
OS_LINK_FLAGS=
OS_LIBS= -lsocket -lnsl -ldl
# -*- Mode: makefile -*-
# These tell gmake where to look for .h, .c and .S files. Mostly for
# building the binary outside of the src tree.
PATH1 = ../../src/lisp
vpath %.h .:$(PATH1)
vpath %.c .:$(PATH1)
vpath %.S .:$(PATH1)
# For v8plus support (allows 64-bit integer support on V9
# architectures), uncomment the definitions for CC_V8PLUS and
# AS_V8PLUS. The -Wa,xarch=v8plus option tells the assembler to
# accept v8plus instructions and generate a v8plus object files and
# executable.
#
# However, we should also make sure the binary is marked as v8plus by
# enabling AS_V8PLUS whenever we have the :sparc-v9 *feature* enabled
# because we really are a v8plus application by using some of the v9
# instructions, even if we don't use the 64-bit registers.
ifdef FEATURE_SPARC_V9
CC_V8PLUS = -xarch=v8plus
AS_V8PLUS = -xarch=v8plus
endif
# Enable support for :linkage-table feature.
ifdef FEATURE_LINKAGE_TABLE
LINKAGE = -DLINKAGE_TABLE
endif
# Enable support for generational GC
ifdef FEATURE_GENCGC
GENCGC = -DGENCGC
GC_SRC = gencgc.c
endif
# Enable support for Unicode
ifdef FEATURE_UNICODE
UNICODE = -DUNICODE
endif
CPPFLAGS = -I. -I$(PATH1) -DSOLARIS -DSVR4 $(CC_V8PLUS) $(LINKAGE) $(GENCGC) $(UNICODE)
CC = cc -xlibmieee
CPP = cc -E
CFLAGS = -g $(CC_V8PLUS)
ASFLAGS = $(AS_V8PLUS)
NM = $(PATH1)/solaris-nm
ASSEM_SRC = sparc-assem.S
ARCH_SRC = sparc-arch.c
DEPEND=$(CC)
DEPEND_FLAGS = -xM
OS_SRC = solaris-os.c os-common.c undefineds.c elf.c k_rem_pio2.c
OS_LINK_FLAGS=
OS_LIBS= -lsocket -lnsl -ldl
CPPFLAGS = -I. -DSUNOS
CC = gcc # -Wall -Wstrict-prototypes -Wmissing-prototypes
CPP = /lib/cpp
CFLAGS = -O
ASFLAGS = -O
NM = nm -gp
ASSEM_SRC = sparc-assem.S
ARCH_SRC = sparc-arch.c
OS_SRC = sunos-os.c os-common.c undefineds.c
OS_LINK_FLAGS= -Xlinker -Bstatic
OS_LIBS=
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment