Changes file for /usr/local/src/kcl/./lsp/makefile
Created on Wed Mar 27 10:44:51 1991
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 (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
# begin makedefs
AKCLDIR=/usr/local/src/akcl-1-599
SHELL=/bin/sh
MACHINE=NeXT
LBINDIR=/usr/local/bin

# For NeXT Operating system 2.

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

CC = cc -DVOL=volatile -I$(AKCLDIR)/o -fwritable-strings

LDCC= ld -noseglinkedit -segprot __TEXT rwx rwx

ODIR_DEBUG= -g

EXTRA_OTARGETS= sbrkNeXT.o unexNeXT.o seekNeXT.o
EXTRAS= $(ODIR)/sbrkNeXT.o $(ODIR)/unexNeXT.o $(ODIR)/seekNeXT.o

MAINDIR = /usr/local/src/kcl
CFLAGS	= -c $(DEFS)  -I../h

MAIN    = ../o/main.o


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

INITFORM=(si::build-symbol-table)(load "../lsp/setdoc.lsp")

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

# Use symbolic links
SYMB=-s
# the  make to use for saved_kcp the profiler.
#KCP=kcp-sun
KCP=kcp-next

NULLFILE = ../h/secondary_sun_magic
MAINDIR = /usr/local/src/kcl
# 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)

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

.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 "


@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]

