New installation mechanism

This commit is contained in:
ceriel 1991-09-05 11:50:17 +00:00
parent 3e9c44cef7
commit bb82ab2c09
3 changed files with 102 additions and 2 deletions

View file

@ -1,4 +1,4 @@
Makefile proto.make
READ_ME READ_ME
back.h back.h
bottom.c bottom.c

View file

@ -1,5 +1,5 @@
This directory contains the back-library that generates assembly code. This directory contains the back-library that generates assembly code.
All the files are similair to there object code version. All the files are similar to there object code version.
The table write should define some constant in his "mach.h" The table write should define some constant in his "mach.h"

View file

@ -0,0 +1,100 @@
# $Header$
#PARAMS do not remove this line!
CEG=$(TARGET_HOME)/lib.bin/ceg
SOURCE=$(CEG)/ce_back/as_back
IDIRS=-I.\
-I..\
-I$(TARGET_HOME)/h\
-I$(TARGET_HOME)/modules/h
LIBS=$(TARGET_HOME)/modules/lib/object.$(LIBSUF)\
$(TARGET_HOME)/modules/lib/libstring.$(LIBSUF)\
$(TARGET_HOME)/modules/lib/libprint.$(LIBSUF)\
$(TARGET_HOME)/modules/lib/libsystem.$(LIBSUF)
CFLAGS = $(COPTIONS) $(IDIRS)
all: bottom.$(SUF) con1.$(SUF) con2.$(SUF) con4.$(SUF) end_back.$(SUF) \
gen1.$(SUF) gen2.$(SUF) gen4.$(SUF) init_back.$(SUF) reloc1.$(SUF) \
reloc2.$(SUF) reloc4.$(SUF) bss.$(SUF) rom1.$(SUF) rom2.$(SUF) \
rom4.$(SUF) set_global.$(SUF) set_local.$(SUF) switchseg.$(SUF) \
symboldef.$(SUF) do_open.$(SUF) do_close.$(SUF) text1.$(SUF) \
text2.$(SUF) text4.$(SUF)
bottom.$(SUF) : ../mach.h back.h header.h $(SOURCE)/bottom.c
$(CC) $(CFLAGS) -c $(SOURCE)/bottom.c
bss.$(SUF) : ../mach.h back.h header.h $(SOURCE)/bss.c
$(CC) $(CFLAGS) -c $(SOURCE)/bss.c
text1.$(SUF) : ../mach.h back.h header.h $(SOURCE)/text1.c
$(CC) $(CFLAGS) -c $(SOURCE)/text1.c
text2.$(SUF) : ../mach.h back.h header.h $(SOURCE)/text2.c
$(CC) $(CFLAGS) -c $(SOURCE)/text2.c
text4.$(SUF) : ../mach.h back.h header.h $(SOURCE)/text4.c
$(CC) $(CFLAGS) -c $(SOURCE)/text4.c
con1.$(SUF) : ../mach.h back.h header.h $(SOURCE)/con1.c
$(CC) $(CFLAGS) -c $(SOURCE)/con1.c
con2.$(SUF) : ../mach.h back.h header.h $(SOURCE)/con2.c
$(CC) $(CFLAGS) -c $(SOURCE)/con2.c
con4.$(SUF) : ../mach.h back.h header.h $(SOURCE)/con4.c
$(CC) $(CFLAGS) -c $(SOURCE)/con4.c
do_open.$(SUF) : back.h header.h ../mach.h $(SOURCE)/do_open.c
$(CC) $(CFLAGS) -c $(SOURCE)/do_open.c
do_close.$(SUF) : back.h header.h ../mach.h $(SOURCE)/do_close.c
$(CC) $(CFLAGS) -c $(SOURCE)/do_close.c
gen1.$(SUF) : back.h header.h ../mach.h $(SOURCE)/gen1.c
$(CC) $(CFLAGS) -c $(SOURCE)/gen1.c
gen2.$(SUF) : back.h header.h ../mach.h $(SOURCE)/gen2.c
$(CC) $(CFLAGS) -c $(SOURCE)/gen2.c
gen4.$(SUF) : back.h header.h ../mach.h $(SOURCE)/gen4.c
$(CC) $(CFLAGS) -c $(SOURCE)/gen4.c
init_back.$(SUF) : header.h back.h ../mach.h $(SOURCE)/init_back.c
$(CC) $(CFLAGS) -c $(SOURCE)/init_back.c
end_back.$(SUF) : header.h back.h ../mach.h $(SOURCE)/end_back.c
$(CC) $(CFLAGS) -c $(SOURCE)/end_back.c
reloc1.$(SUF) : back.h header.h ../mach.h $(SOURCE)/reloc1.c
$(CC) $(CFLAGS) -c $(SOURCE)/reloc1.c
reloc2.$(SUF) : back.h header.h ../mach.h $(SOURCE)/reloc2.c
$(CC) $(CFLAGS) -c $(SOURCE)/reloc2.c
reloc4.$(SUF) : back.h header.h ../mach.h $(SOURCE)/reloc4.c
$(CC) $(CFLAGS) -c $(SOURCE)/reloc4.c
rom1.$(SUF) : back.h header.h ../mach.h $(SOURCE)/rom1.c
$(CC) $(CFLAGS) -c $(SOURCE)/rom1.c
rom2.$(SUF) : back.h header.h ../mach.h $(SOURCE)/rom2.c
$(CC) $(CFLAGS) -c $(SOURCE)/rom2.c
rom4.$(SUF) : back.h header.h ../mach.h $(SOURCE)/rom4.c
$(CC) $(CFLAGS) -c $(SOURCE)/rom4.c
set_global.$(SUF) : header.h back.h ../mach.h $(SOURCE)/set_global.c
$(CC) $(CFLAGS) -c $(SOURCE)/set_global.c
set_local.$(SUF) : header.h back.h ../mach.h $(SOURCE)/set_local.c
$(CC) $(CFLAGS) -c $(SOURCE)/set_local.c
switchseg.$(SUF) : header.h back.h ../mach.h $(SOURCE)/switchseg.c
$(CC) $(CFLAGS) -c $(SOURCE)/switchseg.c
symboldef.$(SUF) : header.h back.h ../mach.h $(SOURCE)/symboldef.c
$(CC) $(CFLAGS) -c $(SOURCE)/symboldef.c