1# Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
2#     1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3#     2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
4#     Massachusetts Institute of Technology
5#
6# This file is part of MIT/GNU Scheme.
7#
8# MIT/GNU Scheme is free software; you can redistribute it and/or
9# modify it under the terms of the GNU General Public License as
10# published by the Free Software Foundation; either version 2 of the
11# License, or (at your option) any later version.
12#
13# MIT/GNU Scheme is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16# General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with MIT/GNU Scheme; if not, write to the Free Software
20# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21# 02110-1301, USA.
22
23# Standard Makefile for Scheme subsystem directories.
24# This makefile supports some utilities for Scheme subsystems.
25# Tools to rebuild these subsystems are written in Scheme and do not
26# use `make'.
27
28# **** BEGIN BOILERPLATE ****
29
30SHELL = @SHELL@
31
32@SET_MAKE@
33
34srcdir = @srcdir@
35top_srcdir = @top_srcdir@
36VPATH = @srcdir@
37prefix = @prefix@
38exec_prefix = @exec_prefix@
39
40bindir = @bindir@
41sbindir = @sbindir@
42libexecdir = @libexecdir@
43datarootdir = @datarootdir@
44datadir = @datadir@
45sysconfdir = @sysconfdir@
46sharedstatedir = @sharedstatedir@
47localstatedir = @localstatedir@
48libdir = @libdir@
49infodir = @infodir@
50mandir = @mandir@
51includedir = @includedir@
52oldincludedir = /usr/include
53
54DESTDIR =
55top_builddir = @top_builddir@
56
57INSTALL = @INSTALL@
58INSTALL_PROGRAM = @INSTALL_PROGRAM@
59INSTALL_DATA = @INSTALL_DATA@
60INSTALL_SCRIPT = @INSTALL_SCRIPT@
61INSTALL_COM = @INSTALL_COM@
62
63LN_S = @LN_S@
64ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
65mkinstalldirs = $(SHELL) $(top_srcdir)/microcode/mkinstalldirs
66
67# **** END BOILERPLATE ****
68
69CC = @CC@
70CCLD = @CCLD@
71
72DEFS = @DEFS@
73CFLAGS = @CFLAGS@
74CPPFLAGS = @CPPFLAGS@ -I../lib
75LDFLAGS = @LDFLAGS@
76
77COMPILE = $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS)
78LINK = $(CCLD) $(LDFLAGS) -o $@
79
80AUXDIR = @AUXDIR@
81
82all:
83	echo "No ALL action"
84
85mostlyclean clean distclean maintainer-clean:
86	./Clean.sh $@
87
88tags TAGS:
89	./Tags.sh
90
91stage1:
92	./Stage.sh make 1
93
94unstage1:
95	./Stage.sh unmake 1
96
97stage2:
98	./Stage.sh make 2
99
100unstage2:
101	./Stage.sh unmake 2
102
103stage3:
104	./Stage.sh make 3
105
106unstage3:
107	./Stage.sh unmake 3
108
109install:
110
111.PHONY: all mostlyclean clean distclean maintainer-clean tags TAGS
112.PHONY: stage1 unstage1 stage2 unstage2 stage3 unstage3 install
113