new installation mechanism

This commit is contained in:
ceriel
1991-09-05 16:35:56 +00:00
parent 4ceac64530
commit edaf2a01f4
14 changed files with 281 additions and 71 deletions

View File

@@ -1,5 +1,5 @@
EM_table
Makefile
proto.make
as.c
as.h
as_table

32
mach/i386/ce/proto.make Normal file
View File

@@ -0,0 +1,32 @@
# $Header$
#PARAMS do not remove this line!
SRC_DIR = $(SRC_HOME)/mach/i386/ce
CEG = $(TARGET_HOME)/lib.bin/ceg/util
OBJ = obj
MACH = i386
all:
make -f $(CEG)/make_asobj "OBJ="$(OBJ) "MACH="$(MACH)
install:
make -f $(CEG)/make_asobj "OBJ="$(OBJ) "MACH="$(MACH) install
cmp:
-make -f $(CEG)/make_asobj "OBJ="$(OBJ) "MACH="$(MACH) cmp
pr:
@pr $(SRC_DIR)/proto.make $(SRC_DIR)/EM_table $(SRC_DIR)/mach.h $(SRC_DIR)/mach.c $(SRC_DIR)/as_table $(SRC_DIR)/as.h $(SRC_DIR)/as.c
opr:
make pr | opr
# total cleanup
clean:
make -f $(CEG)/make_asobj "OBJ="$(OBJ) clean
# only remove ce, ceg, and back directories
dclean:
make -f $(CEG)/make_asobj "OBJ="$(OBJ) dclean

View File

@@ -1,4 +1,4 @@
Makefile
proto.make
as_table
mach.c
mach.h

8
mach/m68020/ce/notes Normal file
View File

@@ -0,0 +1,8 @@
Helaas het framework kan niet tegen mnemonics met '.' erin, bijv.
add.l
move.w
Oplossing:
Alle punten door underscores vervangen in 'as_table' en process_menemonic()
aangepast zodat ook de punten uit de 'EM_table' omgewzet worden in underscores.

32
mach/m68020/ce/proto.make Normal file
View File

@@ -0,0 +1,32 @@
# $Header$
#PARAMS do not remove this line!
MACH = m68020
OBJ = obj
SRC_DIR = $(SRC_HOME)/mach/$(MACH)/ce
CEG = $(TARGET_HOME)/lib.bin/ceg/util
all:
make -f $(CEG)/make_asobj "OBJ="$(OBJ) "MACH="$(MACH)
install:
make -f $(CEG)/make_asobj "OBJ="$(OBJ) "MACH="$(MACH) install
cmp:
-make -f $(CEG)/make_asobj "OBJ="$(OBJ) "MACH="$(MACH) cmp
pr:
@pr $(SRC_DIR)/proto.make $(SRC_DIR)/EM_table $(SRC_DIR)/mach.h $(SRC_DIR)/mach.c $(SRC_DIR)/as_table $(SRC_DIR)/as.h $(SRC_DIR)/as.c
opr:
make pr | opr
# total cleanup
clean:
make -f $(CEG)/make_asobj "OBJ="$(OBJ) clean
# only remove ce, ceg, and back directories
dclean:
make -f $(CEG)/make_asobj "OBJ="$(OBJ) dclean