Changes file for /usr/local/src/kcl/lsp/makefile
Created on Fri Oct 16 13:25:45 1992
Usage \n@s[Original text\n@s|Replacement Text\n@s]
See the file rascal.ics.utexas.edu:/usr2/ftp/merge.c
for a program to merge change files.  Anything not between
"\n@s[" and  "\n@s]" is a simply a comment.
This file was constructed using emacs and  merge.el
Enhancements Copyright (c) W. Schelter All rights reserved.
   by (Bill Schelter)  wfs@carl.ma.utexas.edu 


****Change:(orig (1 1 c))
@s[.SUFFIXES: .o .c .lsp

@s|.SUFFIXES: .fn .o .c .lsp

@s]


****Change:(orig (3 3 a))
@s[


@s|



@s]


****Change:(orig (4 4 a))
@s[PORTDIR	= ../unixport

@s|PORTDIR	= ../unixport
CAT=cat

@s]


****Change:(orig (6 6 d))
@s[


@s|

@s]


****Change:(orig (9 9 c))
@s[	seq.o seqlib.o setf.o top.o trace.o 

@s|	seq.o seqlib.o setf.o top.o trace.o sloop.o debug.o

@s]


****Change:(orig (12 12 c))
@s[

CFLAGS	= -c -O

@s|

CFLAGS	= -c -O -I../h

@s]


****Change:(orig (13 13 a))
@s[

@s|
.lsp.c: 
	@ ../xbin/if-exists $(PORTDIR)/saved_kcl \
	"rm -f $*.c $*.h $*.data $*.o" \
	"$(PORTDIR)/saved_kcl $(PORTDIR)/ $* $* S0111"

@s]


****Change:(orig (14 14 a))
@s[

@s|
.lsp.o: 
	@ ../xbin/if-exists $(PORTDIR)/saved_kcl \
	"rm -f $*.c $*.h $*.data $*.o" \
	"$(PORTDIR)/saved_kcl $(PORTDIR)/ $* $* S0111" \
	"$(CC) $(OFLAG) $(CFLAGS) $*.c " \
	"../xbin/append ${NULLFILE} $*.data $*.o "

# begin makedefs
AKCLDIR=/usr/public/akcl
SHELL=/bin/sh
MACHINE=hp300-bsd

# Machine dependent makefile definitions for hp300 running 4.3bsd(mt xinu)

LBINDIR=/usr/local/bin

OFLAG	=  -O 
LIBS	= -lm -lg 
ODIR_DEBUG= -g

# This CC string will be used for compilation of the system,
# and also in the compiler::*cc* variable for later compilation of
# lisp files.

CC = gcc -fwritable-strings -msoft-float -DVOL=volatile -I$(AKCLDIR)/o 
MAINDIR = /public/kcl

# Enable the fastloading mechanism which does not use ld -A
# requires c/rel_.. machine dependent code.

RSYM	= rsym
SFASL	= $(ODIR)/sfasl.o

#  Use the mp.s file on 68k machine 

MPFILES= $(MPDIR)/mpi-bsd68k.o   $(MPDIR)/libmport.a


# When using SFASL it is good to have (si::build-symbol-table)
INITFORM=(si::build-symbol-table)

# Use symbolic links
SYMB=-s

LIBFILES=bsearch.o

# the  make to use for saved_kcp the profiler.
KCP=kcp-bsd
# end makedefs
















@s]


****Change:(orig (18 19 d))
@s[.lsp.c:
	$(PORTDIR)/saved_kcl $(PORTDIR)/ $* $* S0111

@s|
@s]


****Change:(orig (22 23 c))
@s[	cc $(CFLAGS) $*.c
	cat $*.data >> $*.o

@s|	$(CC) $(OFLAG) $(CFLAGS) $*.c
	$(CAT) ${NULLFILE} $*.data >> $*.o

@s]


****Change:(orig (24 24 a))
@s[

@s|
.lsp.fn: ../cmpnew/collectfn.o
	../xbin/make-fn $*.lsp

@s]


****Change:(orig (25 25 a))
@s[

@s|
all:	$(OBJS)

fns1:	$(FNS)

fns:	../cmpnew/collectfn.o
	make fns1 -e "FNS=`echo ${OBJS} | sed -e 's:\.o:\.fn:g'`"

../cmpnew/collectfn.o: ../cmpnew/collectfn.lsp
	(cd ../cmpnew ; $(PORTDIR)/saved_kcl $(PORTDIR)/ collectfn.lisp collectfn S1000)



@s]


****Change:(orig (29 29 a))
@s[allclean:
	rm -f *.h *.data *.c

@s|allclean:
	rm -f *.h *.data *.c

dummy3 $(NEWCFILES): sys-proclaim.lisp

sys-proclaim.lisp:
	echo '(in-package "SYSTEM")' \
	'(load "../cmpnew/collectfn")'\
	'(compiler::make-all-proclaims "*.fn")' | ../xbin/kcl


newc:	
	make $(OBJS) -e "NEWCFILES=`echo $(OBJS) | sed -e 's:\.o:.c:g'`"



@s]

