From c9e540068903157718827dd069f67b82bbf916e6 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 14 May 2007 16:59:48 +0000 Subject: [PATCH] Move building of LIARC bundles into their respective directories. Create bundle file lists from .pkg files rather than from directory listings. Change "make c" to "make liarc-dist". Restructure top-level makefile to generate "liarc-dist" in distinct stages: (1) build a compiler in the directory "boot-lib"; (2) run c-clean to discard all .c files; and (3) rebuild everything using boot-lib compiler. Delete "Makefile.std"; generate all subdirectory makefiles (except microcode) using "Makefile-fragment" and standard prefix/suffix. Rename COMPILE_FOR_DYNAMIC_LOADING to ENABLE_LIARC_FILE_INIT. Don't build 6001 or xdoc subdirs. Use -fPIC only for shared objects, not for scheme executable. Make sure -fPIC is given to linker as well as compiler. --- v7/src/Makefile.std | 59 ------------------------------------- v7/src/etc/build-runtime.sh | 43 --------------------------- 2 files changed, 102 deletions(-) delete mode 100644 v7/src/Makefile.std delete mode 100755 v7/src/etc/build-runtime.sh diff --git a/v7/src/Makefile.std b/v7/src/Makefile.std deleted file mode 100644 index 780be3806..000000000 --- a/v7/src/Makefile.std +++ /dev/null @@ -1,59 +0,0 @@ -# $Id: Makefile.std,v 1.15 2007/01/05 21:19:20 cph Exp $ -# -# Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, -# 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007 Massachusetts Institute of Technology -# -# This file is part of MIT/GNU Scheme. -# -# MIT/GNU Scheme is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# MIT/GNU Scheme is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with MIT/GNU Scheme; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -# 02110-1301, USA. - -# Standard Makefile for Scheme subsystem directories. -# This makefile supports some utilities for Scheme subsystems. -# Tools to rebuild these subsystems are written in Scheme and do not -# use `make'. - -SHELL = /bin/sh - -all: - echo "No ALL action" - -mostlyclean clean distclean maintainer-clean: - ./Clean.sh $@ - -tags TAGS: - ./Tags.sh - -stage1: - ./Stage.sh make 1 - -unstage1: - ./Stage.sh unmake 1 - -stage2: - ./Stage.sh make 2 - -unstage2: - ./Stage.sh unmake 2 - -stage3: - ./Stage.sh make 3 - -unstage3: - ./Stage.sh unmake 3 - -.PHONY: all mostlyclean clean distclean maintainer-clean tags TAGS -.PHONY: stage1 unstage1 stage2 unstage2 stage3 unstage3 diff --git a/v7/src/etc/build-runtime.sh b/v7/src/etc/build-runtime.sh deleted file mode 100755 index 0a1a7de6c..000000000 --- a/v7/src/etc/build-runtime.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh -# -# $Id: build-runtime.sh,v 1.2 2007/05/04 01:26:10 cph Exp $ -# -# Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, -# 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007 Massachusetts Institute of Technology -# -# This file is part of MIT/GNU Scheme. -# -# MIT/GNU Scheme is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# MIT/GNU Scheme is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with MIT/GNU Scheme; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -# 02110-1301, USA. - -set -e - -echo "cd runtime" -cd runtime - -if [ -f make.o ]; then - FASL=runtime_make.so -elif [ -f make.com ]; then - FASL=make.com -else - echo "Can't find argument for --fasl." - exit 1 -fi - -echo "../microcode/scheme --library ../lib --fasl ${FASL}" -exec ../microcode/scheme --library ../lib --fasl ${FASL} <