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

Remove Config.FreeBSD* and Config.NetBSD*. These were replaced by

Config.x86_freebsd and Config.x86_netbsd long ago.
parent 00d977a1
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
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
ARCH_SRC = x86-arch.c
OS_SRC = FreeBSD-os.c os-common.c undefineds.c
OS_LINK_FLAGS = -static
OS_LIBS =
GC_SRC = cgc.c
# -*- Mode: makefile -*-
PATH1 = ../../src/lisp
vpath %.h $(PATH1)
vpath %.c $(PATH1)
vpath %.S $(PATH1)
CC = gcc
LD = ld
CPP = cpp
# 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 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
SSE2 = -DFEATURE_SSE2
else
ifdef FEATURE_SSE2
SSE2 = -DFEATURE_SSE2
endif
endif
RUNTIME = -Di386 $(GENCGC) $(LINKAGE) $(SSE2)
ifneq (,$(filter 2% 3%, $(shell $(CC) -dumpversion)))
CPPFLAGS = -I. -I$(PATH1) -I-
else
CPPFLAGS = -iquote . -iquote $(PATH1)
endif
CPPFLAGS += $(RUNTIME)
CFLAGS = -Wstrict-prototypes -Wall -O2 -g
ASFLAGS = -g
NM = nm -gp
UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
ASSEM_SRC = x86-assem.S
ARCH_SRC = x86-arch.c
OS_SRC = FreeBSD-os.c os-common.c elf.c e_rem_pio2.c k_rem_pio2.c undefineds.c
OS_LINK_FLAGS = -dynamic -export-dynamic
OS_LIBS = -lutil
# This has aliasing problems, so turn off aliasing.
e_rem_pio2.o : e_rem_pio2.c
$(CC) -c -fno-strict-aliasing -ffloat-store $(CFLAGS) $<
PATH1 = ../../src/lisp
vpath %.h $(PATH1)
vpath %.c $(PATH1)
vpath %.S $(PATH1)
CPPFLAGS = -I. -I$(PATH1) -I-
CC = gcc
LD = ld
CPP = cpp
CFLAGS = -Wstrict-prototypes -Wall -O2 -g -DWANT_CGC -Di386
ASFLAGS = -g -DWANT_CGC -Di386
NM = nm -gp
UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
ASSEM_SRC = x86-assem.S
ARCH_SRC = x86-arch.c
OS_SRC = NetBSD-os.c os-common.c undefineds.c
OS_LINK_FLAGS = -static
OS_LIBS =
GC_SRC = cgc.c
PATH1 = ../../src/lisp
ARCH = $(shell uname -m)
vpath %.h $(PATH1)
vpath %.c $(PATH1)
vpath %.S $(PATH1)
CPPFLAGS = -iquote . -iquote $(PATH1)
CC = gcc -pipe
LD = ld
CPP = cpp
CFLAGS = -Wstrict-prototypes -Wall -O2 -g
ASFLAGS = -g -x assembler-with-cpp
NM = nm -gp
UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
ifeq ($(ARCH), i386)
ASSEM_SRC = x86-assem.S
ARCH_SRC = x86-arch.c
ASFLAGS += -Di386 -DGENCGC -DLINKAGE_TABLE
CFLAGS += -Di386 -DGENCGC -DLINKAGE_TABLE
GC_SRC = gencgc.c
endif
ifeq ($(ARCH), sparc64)
ASSEM_SRC = sparc-assem.S
ARCH_SRC = sparc-arch.c
ASFLAGS += -Dsparc64 -DLINKAGE_TABLE
CFLAGS += -Dsparc64 -DLINKAGE_TABLE
endif
ifeq ($(ARCH), sparc)
ASSEM_SRC = sparc-assem.S
ARCH_SRC = sparc-arch.c
ASFLAGS += -Dsparc
CFLAGS += -Dsparc
endif
ifeq ($(ARCH), powerpc)
ASSEM_SRC = ppc-assem.S
ARCH_SRC = ppc-arch.c
ASFLAGS += -Dppc
CFLAGS += -Dppc
endif
OS_SRC = NetBSD-os.c os-common.c elf.c e_rem_pio2.c k_rem_pio2.c
OS_LINK_FLAGS = -dynamic -export-dynamic
OS_LIBS =
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment