Changes file for /usr/local/src/kcl/./o/makefile
Created on Thu Sep 17 22:57: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 3 d))
@s[MACHINE = SUN3
#	Select 'VAX', 'SUN', 'SUN2R3', 'SUN3', 'ISI', 'SEQ', 'IBMRT',
#	or 'NEWS'.

@s|
@s]


****Change:(orig (5 12 d))
@s[CHTAB	= sun_chtab.s
#	Select 'char_table.s' or 'sun_chtab.s'.
#	1) char_table.s : for VAX, SEQ and NEWS
#	2) sun_chtab.s  : for SUN, SUN2R3 and SUN3

@s,#	4) ibmrt_chtab.s: for IBMRT



@s|
@s]


****Change:(orig (16 18 d))
@s[
DEFS	= -D$(MACHINE) -DMAXPAGE=16384 -DVSSIZE=8152
CFLAGS	= $(DEFS) -I$(HDIR)

@s|
@s]


****Change:(orig (20 20 c))
@s[OFLAG	= -O


@s|OFLAG	= -O
ODIR	= .
AKCLIB  = akcllib.a
RANLIB=ranlib
AR = ar qc
LIBFILES= bcmp.o bcopy.o bzero.o
# compile main.c with -g, since signalling may not be ok on -O
MAIN_DEBUG= -g

@s]


****Change:(orig (22 22 a))
@s[DPP	= ../bin/dpp


@s|DPP	= ../bin/dpp

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

@s]


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

@s|
# 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

CFLAGS	=  -I$(HDIR) $(ODIR_DEBUG)




MP 	= $(HDIR)/mp.h

@s]


****Change:(orig (27 27 c))
@s[	$(HDIR)/frame.h $(HDIR)/lex.h $(HDIR)/eval.h $(HDIR)/external.h \
	$(HDIR)/rgbc.h

@s|	$(HDIR)/frame.h $(HDIR)/lex.h $(HDIR)/eval.h $(HDIR)/external.h \
	$(HDIR)/rgbc.h $(HDIR)/config.h

@s]


****Change:(orig (38 38 c))
@s[	read.o sequence.o string.o symbol.o \
	char_table.o

@s|	read.o sequence.o string.o symbol.o \
	funlink.o  fat_string.o run_process.o \
	init_pari.o   $(EMUL) $(SFASL) ${EXTRA_OTARGETS}

@s]


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

@s|
all:	$(OBJS) $(LIBFILES)  $(AKCLIB)

@s]


****Change:(orig (41 41 c))
@s[
all:	$(OBJS)

@s|
ALIB=${LIBFILES} user_init.o

@s]


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

@s|
$(AKCLIB): ${ALIB} 
	rm -f akcllib.a
	$(AR) akcllib.a ${ALIB}
	${RANLIB} akcllib.a

@s]


****Change:(orig (44 44 a))
@s[clean:
	rm -f $(OBJS)

@s|clean:
	rm -f $(OBJS)
bcmp.o: $(CDIR)/bcmp.c
	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/bcmp.c

@s]


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

@s|
user_init.o: $(CDIR)/user_init.c
	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/user_init.c

@s]


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

@s|
bcopy.o: $(CDIR)/bcopy.c
	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/bcopy.c
bzero.o: $(CDIR)/bzero.c
	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/bzero.c

bsearch.o: $(CDIR)/bsearch.c
	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/bsearch.c



@s]


****Change:(orig (49 49 a))
@s[	as $(CDIR)/$(CHTAB) -o char_table.o


@s|	as $(CDIR)/$(CHTAB) -o char_table.o



@s]


****Change:(orig (52 52 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/character.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/character.c

@s]


****Change:(orig (53 53 a))
@s[	rm $(CDIR)/character.c

@s|	rm $(CDIR)/character.c

$(EMUL) dummy:
	as $(CDIR)/$(@:.o=.s)  -o $(EMUL)


@s]


****Change:(orig (56 56 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/file.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/file.c

@s]


****Change:(orig (60 60 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/hash.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/hash.c

@s]


****Change:(orig (64 64 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/list.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/list.c

@s]


****Change:(orig (68 68 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/package.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/package.c

@s]


****Change:(orig (72 72 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/pathname.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/pathname.c

@s]


****Change:(orig (76 76 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/print.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/print.c

@s]


****Change:(orig (80 80 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/read.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/read.c

@s]


****Change:(orig (84 84 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/sequence.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/sequence.c

@s]


****Change:(orig (88 88 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/string.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/string.c

@s]


****Change:(orig (92 92 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/symbol.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/symbol.c

@s]


****Change:(orig (96 96 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/alloc.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/alloc.c

@s]


****Change:(orig (98 98 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/array.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/array.c

@s]


****Change:(orig (100 100 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/assignment.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/assignment.c

@s]


****Change:(orig (102 102 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/backq.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/backq.c

@s]


****Change:(orig (104 104 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/bds.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/bds.c

@s]


****Change:(orig (106 106 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/big.c

@s|	rm -f $(CDIR)/num_include.h  # don't want one in c directory
	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/big.c

@s]


****Change:(orig (108 108 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/bind.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/bind.c
bitblt2.o:	$(CDIR)/bitblt2.c
	$(CC) -c $(CFLAGS) $(CDIR)/bitblt2.c

@s]


****Change:(orig (110 110 c))
@s[	cc -c $(CFLAGS) $(CDIR)/bitop.c

@s|	$(CC) -c $(CFLAGS) $(CDIR)/bitop.c

@s]


****Change:(orig (112 112 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/block.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/block.c

@s]


****Change:(orig (114 114 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/catch.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/catch.c

@s]


****Change:(orig (116 116 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/cfun.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/cfun.c

@s]


****Change:(orig (118 118 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/cmpaux.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/cmpaux.c

@s]


****Change:(orig (120 120 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/conditional.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/conditional.c

@s]


****Change:(orig (122 122 c))
@s[	cc -c $(CFLAGS) $(CDIR)/earith.c

@s|	$(CC) -c $(CFLAGS) $(CDIR)/earith.c

@s]


****Change:(orig (124 124 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/error.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/error.c

@s]


****Change:(orig (126 126 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/eval.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/eval.c

@s]


****Change:(orig (128 128 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/format.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/format.c

@s]


****Change:(orig (130 132 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/frame.c
gbc.o:	$(CDIR)/gbc.c
	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/gbc.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/frame.c
gbc.o:	$(CDIR)/gbc.c $(HDIR)/page.h $(CDIR)/sgbc.c
	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/gbc.c

@s]


****Change:(orig (134 134 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/iteration.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/iteration.c

@s]


****Change:(orig (136 136 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/let.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/let.c

@s]


****Change:(orig (138 138 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/lex.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/lex.c

@s]


****Change:(orig (140 140 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/macros.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/macros.c

@s]


****Change:(orig (142 142 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/main.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(MAIN_DEBUG) $(CDIR)/main.c

@s]


****Change:(orig (144 144 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/mapfun.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/mapfun.c

@s]


****Change:(orig (146 146 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/multival.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/multival.c

@s]


****Change:(orig (148 148 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/num_arith.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/num_arith.c

@s]


****Change:(orig (150 150 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/num_co.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/num_co.c

@s]


****Change:(orig (152 152 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/num_comp.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/num_comp.c

@s]


****Change:(orig (154 154 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/num_log.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/num_log.c

@s]


****Change:(orig (156 156 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/num_pred.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/num_pred.c

@s]


****Change:(orig (158 158 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/num_rand.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/num_rand.c

@s]


****Change:(orig (160 160 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/num_sfun.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/num_sfun.c

@s]


****Change:(orig (162 162 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/number.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/number.c
init_pari.o:	$(CDIR)/init_pari.c
	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/init_pari.c

@s]


****Change:(orig (164 164 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/predicate.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/predicate.c

@s]


****Change:(orig (166 166 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/prog.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/prog.c

@s]


****Change:(orig (168 168 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/reference.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/reference.c
run_process.o: $(CDIR)/run_process.c ${HFILES}
	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/run_process.c

@s]


****Change:(orig (170 170 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/structure.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/structure.c

@s]


****Change:(orig (172 172 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/toplevel.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/toplevel.c

@s]


****Change:(orig (174 174 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/typespec.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/typespec.c

@s]


****Change:(orig (176 176 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/unixfasl.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/unixfasl.c

@s]


****Change:(orig (178 178 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/unixfsys.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/unixfsys.c

@s]


****Change:(orig (180 180 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/unixint.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/unixint.c

@s]


****Change:(orig (182 186 c))
@s[	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/unixsave.c
unixsys.o:	$(CDIR)/unixsys.c
	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/unixsys.c
unixtime.o:	$(CDIR)/unixtime.c

@s,	cc -c $(OFLAG) $(CFLAGS) $(CDIR)/unixtime.c

@s|	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/unixsave.c
unixsys.o:	$(CDIR)/unixsys.c ${HFILES}
	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/unixsys.c
unixtime.o:	$(CDIR)/unixtime.c ${HFILES}
	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/unixtime.c
funlink.o:	$(CDIR)/funlink.c ${CDIR}/xdrfuns.c
	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/funlink.c

@s]


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

@s|
fat_string.o:	$(CDIR)/fat_string.c ${HFILES} $(CDIR)/fasdump.c
	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/fat_string.c

@s]


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

@s|
fasdump.o:	$(CDIR)/fasdump.c ${HFILES} 
	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/fasdump.c



$(SFASL) dummy2.o:	$(CDIR)/sfasl.c ${HFILES}
	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/sfasl.c

./littleXwin.o:  ${CDIR}/littleXwin.c
	$(CC) -c $(OFLAG) $(CFLAGS) $(CDIR)/littleXwin.c

IBMAIX3_NEAR_LIB = fsavres.o

$(ODIR)/ibmaix3.a: /lib/libc.a
	mkdir tmpx
	(cd tmpx ; ar xv /lib/libc.a ${IBMAIX3_NEAR_LIB} ; ar qc ../ibmaix3.a ${IBMAIX3_NEAR_LIB})
	rm -rf tmpx

${AKCLDIR}/aix3_mprotect/command:
	(cd ../aix3_mprotect ; make)


@s]


****Change:(orig (191 191 c))
@s[file.o:	$(HFILES)
hash.o: $(HFILES)

@s|file.o:	$(HFILES)
hash.o: $(HFILES) ${MP}

@s]


****Change:(orig (195 196 c))
@s[print.o: $(HFILES)
read.o: $(HFILES)

@s|print.o: $(HFILES) ${MP}
read.o: $(HFILES) ${MP}

@s]


****Change:(orig (206 207 c))
@s[big.o: $(HFILES)
bind.o: $(HFILES)

@s|big.o: $(HFILES) ${MP}
bind.o: $(HFILES) 

@s]


****Change:(orig (212 212 c))
@s[cfun.o: $(HFILES)
cmpaux.o: $(HFILES)

@s|cfun.o: $(HFILES)
cmpaux.o: $(HFILES) ${MP}

@s]


****Change:(orig (219 219 c))
@s[frame.o: $(HFILES)
gbc.o: $(HFILES)

@s|frame.o: $(HFILES)
gbc.o: $(HFILES) ${MP}

@s]


****Change:(orig (228 235 c))
@s[num_arith.o: $(HFILES) $(HDIR)/num_include.h
num_co.o: $(HFILES) $(HDIR)/num_include.h
num_comp.o: $(HFILES) $(HDIR)/num_include.h
num_log.o: $(HFILES) $(HDIR)/num_include.h

@s,number.o: $(HFILES) $(HDIR)/num_include.h

@s|mpi.o: $(MP)
num_arith.o: $(HFILES) $(HDIR)/num_include.h ${MP}
num_co.o: $(HFILES) $(HDIR)/num_include.h ${MP}
num_comp.o: $(HFILES) $(HDIR)/num_include.h ${MP}
num_log.o: $(HFILES) $(HDIR)/num_include.h ${MP}
num_pred.o: $(HFILES) $(HDIR)/num_include.h ${MP}
num_rand.o: $(HFILES) $(HDIR)/num_include.h ${MP}
num_sfun.o: $(HFILES) $(HDIR)/num_include.h ${MP}
number.o: $(HFILES) $(HDIR)/num_include.h ${MP}

@s]


****Change:(orig (241 241 c))
@s[toplevel.o: $(HFILES)
typespec.o: $(HFILES)

@s|toplevel.o: $(HFILES)
typespec.o: $(HFILES) ${MP}

@s]


****Change:(orig (247 247 a))
@s[unixsys.o: $(HFILES)
unixtime.o: $(HFILES)

@s|unixsys.o: $(HFILES)
unixtime.o: $(HFILES)
funlink.o: $(HFILES)
fat_string.o: $(HFILES)
fasdump.o: $(HFILES)
bitblit2.o: $(HFILES)


@s]

