1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-16 12:43:12 +00:00
Files
Interlisp.maiko/bin/legacy/makefile-sunos4.i386
Bruce Mitchener 9e9f8c4475 Remove profile.h (#272)
This no longer had anything to do with profiling and was
only doing some defines for the switch case block addresses,
which we no longer need since there's no longer optional
asm generated for them.
2021-01-23 18:39:55 +00:00

45 lines
1.5 KiB
Plaintext

# Options for i386SUN
# This is to make the %$#@! Apollo cc happy
OEXT = .o
#For debugging
OPTFLAGS = -g
FPFLAGS =
DFLAGS = -DKBINT -DFLTINT -DNOASM -DOS4 -DI386 -DBYTESWAP -DCHECK -DLOGINT -DSUNDISPLAY
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
INLINE = $(SRCDIR)disp386i.il
OBJECTDIR = ../sunos4.i386/
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
COLORFILES = $(OBJECTDIR)colorbltfns.o
default : $(OBJECTDIR)lde $(OBJECTDIR)ldeether
# Special rules to create xc.c on 386i
#run cpp to expand macros
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h $(INCDIR)address.h \
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
$(INCDIR)arith.h $(INCDIR)stream.h $(INCDIR)dbprint.h\
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
$(INCDIR)tosfuncallmacro.h $(INCDIR)inlineC.h \
$(INCDIR)n_op_inlineC.h $(SRCDIR)disp386i.il \
$(INCDIR)dummy_entries.h \
$(INCDIR)inline386i.h $(INCDIR)fast_disp.h \
$(INCDIR)fastinline68K.h
cc -c -O -Qproduce .s $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.s
#run c compiler to produce first pass assembly
#$(OBJECTDIR)xc.s1: $(OBJECTDIR)xc.i
# rm -f $(OBJECTDIR)xc.s1
# /lib/ccom - $(FPFLAGS) <$(OBJECTDIR)xc.i >$(OBJECTDIR)xc.s1
$(OBJECTDIR)xc.s2: $(OBJECTDIR)xc.s $(INLINE)
rm -f $(OBJECTDIR)xc.s2
/usr/lib/inline -i $(INLINE) < $(OBJECTDIR)xc.s > $(OBJECTDIR)xc.s2
$(OBJECTDIR)xc.o: $(OBJECTDIR)xc.s2
/bin/as -o $(OBJECTDIR)xc.o -O1 $(OBJECTDIR)xc.s2