picolisp

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/picolisp.git/
Log | Files | Refs | README | LICENSE

commit 792ede3627f30152b6a89138deb8fd867237b3bc
parent 11ae7985cd85a3de4934f457cab916dfee968362
Author: Alexander Burger <abu@software-lab.de>
Date:   Tue, 22 Feb 2011 15:50:57 +0100

SunOS shared object files
Diffstat:
Msrc64/Makefile | 29+++++++++++++----------------
1 file changed, 13 insertions(+), 16 deletions(-)

diff --git a/src64/Makefile b/src64/Makefile @@ -1,4 +1,4 @@ -# 21feb11abu +# 22feb11abu # (c) Software Lab. Alexander Burger .SILENT: @@ -10,31 +10,28 @@ ifeq ($(shell uname), Linux) OS = Linux SYS = linux ARCH = x86-64 - CC = gcc - AS = as - LINK-FLAGS = -rdynamic -lc -lm -ldl - DYNAMIC-LIB-FLAGS = -shared -export-dynamic + AS = as + LD-MAIN = gcc -rdynamic -lc -lm -ldl + LD-SHARED = gcc -shared -export-dynamic STRIP = strip else ifeq ($(shell uname), SunOS) OS = SunOS SYS = sunOs ARCH = x86-64 - CC = gcc -m64 - AS = gas --64 - LINK-FLAGS = -lc -lm -ldl -lsocket -lnsl - DYNAMIC-LIB-FLAGS = -shared + AS = gas --64 + LD-MAIN = gcc -m64 -lc -lm -ldl -lsocket -lnsl + LD-SHARED = gcc -m64 -shared STRIP = strip else ifeq ($(shell uname), Darwin) OS = Darwin SYS = darwin ARCH = x86-64 - CC = gcc - AS = as + AS = as + LD-MAIN = gcc -lc -lm -ldl + LD-SHARED = gcc -dynamiclib -undefined dynamic_lookup -export-dynamic export MACOSX_DEPLOYMENT_TARGET=10.4 - LINK-FLAGS = -lc -lm -ldl - DYNAMIC-LIB-FLAGS = -dynamiclib -undefined dynamic_lookup -export-dynamic STRIP = : endif endif @@ -49,15 +46,15 @@ all: picolisp $(bin)/picolisp: $(ARCH).$(SYS).base.o mkdir -p $(bin) $(lib) - $(CC) -o $(bin)/picolisp $(LINK-FLAGS) $(ARCH).$(SYS).base.o + $(LD-MAIN) -o $(bin)/picolisp $(ARCH).$(SYS).base.o $(STRIP) $(bin)/picolisp $(lib)/ext: $(ARCH).$(SYS).ext.o - $(CC) -o $(lib)/ext $(DYNAMIC-LIB-FLAGS) $(ARCH).$(SYS).ext.o + $(LD-SHARED) -o $(lib)/ext $(ARCH).$(SYS).ext.o $(STRIP) $(lib)/ext $(lib)/ht: $(ARCH).$(SYS).ht.o - $(CC) -o $(lib)/ht $(DYNAMIC-LIB-FLAGS) $(ARCH).$(SYS).ht.o + $(LD-SHARED) -o $(lib)/ht $(ARCH).$(SYS).ht.o $(STRIP) $(lib)/ht .s.o: