[Openmcl-cvs-notifications] r11014 - in /trunk/source/lisp-kernel/freebsdx8632: ./ Makefile
gb at clozure.com
gb at clozure.com
Wed Oct 8 05:51:12 EDT 2008
Author: gb
Date: Wed Oct 8 05:51:12 2008
New Revision: 11014
Log:
New.
Added:
trunk/source/lisp-kernel/freebsdx8632/
trunk/source/lisp-kernel/freebsdx8632/Makefile
Added: trunk/source/lisp-kernel/freebsdx8632/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/source/lisp-kernel/freebsdx8632/Makefile (added)
+++ trunk/source/lisp-kernel/freebsdx8632/Makefile Wed Oct 8 05:51:12 2008
@@ -1,0 +1,78 @@
+#
+# Copyright (C) 2005-2006 Clozure Associates
+# This file is part of OpenMCL. =
+#
+# OpenMCL is licensed under the terms of the Lisp Lesser GNU Public
+# License , known as the LLGPL and distributed with OpenMCL as the
+# file "LICENSE". The LLGPL consists of a preamble and the LGPL,
+# which is distributed with OpenMCL as the file "LGPL". Where these
+# conflict, the preamble takes precedence. =
+#
+# OpenMCL is referenced in the preamble as the "LIBRARY."
+#
+# The LLGPL is also available online at
+# http://opensource.franz.com/preamble.html
+
+
+VPATH =3D ..
+RM =3D /bin/rm
+AS =3D as
+M4 =3D m4
+ASFLAGS =3D --32
+M4FLAGS =3D -DFREEBSD -DX86 -DX8632 -DHAVE_TLS
+CDEFINES =3D -DFREEBSD -D_REENTRANT -DX86 -DX8632 -D_GNU_SOURCE -DHAVE_TLS
+CDEBUG =3D -g
+COPT =3D #-O2
+
+
+
+
+SPOBJ =3D pad.o x86-spjump32.o x86-spentry32.o x86-subprims32.o
+ASMOBJ =3D x86-asmutils32.o imports.o
+
+COBJ =3D pmcl-kernel.o gc-common.o x86-gc.o bits.o x86-exceptions.o \
+ image.o thread_manager.o lisp-debug.o memory.o unix-calls.o
+
+DEBUGOBJ =3D lispdcmd.o plprint.o plsym.o xlbt.o x86_print.o
+KERNELOBJ=3D $(COBJ) x86-asmutils32.o imports.o
+
+SPINC =3D lisp.s m4macros.m4 x86-constants.s x86-macros.s errors.s x86-uuo=
.s \
+ x86-constants32.s
+
+CHEADERS =3D area.h bits.h x86-constants.h lisp-errors.h gc.h lisp.h \
+ lisp-exceptions.h lisp_globals.h macros.h memprotect.h image.h \
+ Threads.h x86-constants32.h x86-exceptions.h
+
+
+KSPOBJ =3D $(SPOBJ)
+all: ../../fx86cl
+
+
+OSLIBS =3D -lm -lthr
+
+.s.o:
+ $(M4) $(M4FLAGS) -I../ $< | $(AS) $(ASFLAGS) -o $@
+.c.o:
+ $(CC) -c $< $(CDEFINES) $(CDEBUG) $(COPT) -m32 -o $@
+
+LINKSCRIPTFILE =3D # =
+LINKSCRIPT =3D # -T $(LINKSCRIPTFILE)
+
+../../fx86cl: $(KSPOBJ) $(KERNELOBJ) $(DEBUGOBJ) $(LINKSCRIPTFILE)
+ $(CC) -m32 $(CDEBUG) -Wl,--export-dynamic $(LINKSCRIPT) -o $@ $(KSPOB=
J) $(KERNELOBJ) $(DEBUGOBJ) $(OSLIBS)
+
+
+$(SPOBJ): $(SPINC)
+$(ASMOBJ): $(SPINC)
+$(COBJ): $(CHEADERS)
+$(DEBUGOBJ): $(CHEADERS) lispdcmd.h
+
+
+cclean:
+ $(RM) -f $(KERNELOBJ) $(DEBUGOBJ) ../../fx86cl
+
+clean: cclean
+ $(RM) -f $(SPOBJ)
+
+strip: ../../fx86cl
+ strip -g ../../fx86cl
More information about the Openmcl-cvs-notifications
mailing list