ack/doc/em/int/proto.make

34 lines
1,016 B
Plaintext
Raw Normal View History

1994-06-24 11:31:16 +00:00
# $Id$
1993-03-31 13:22:17 +00:00
#PARAMS do not remove this line!
SRC_DIR = $(SRC_HOME)/doc/em/int
install \
all: em emdmp tables
tables: mktables $(SRC_HOME)/etc/ip_spec.t
mktables $(SRC_HOME)/etc/ip_spec.t tables
2003-01-08 09:39:52 +00:00
mktables: $(SRC_DIR)/mktables.c $(TARGET_HOME)/h/em_spec.h \
1993-03-31 13:22:17 +00:00
$(TARGET_HOME)/h/em_flag.h \
$(TARGET_HOME)/lib.bin/em_data.$(LIBSUF) $(TARGET_HOME)/h/ip_spec.h
2003-01-08 09:39:52 +00:00
$(CC) -I$(TARGET_HOME)/h -O -o mktables $(SRC_DIR)/mktables.c $(TARGET_HOME)/lib.bin/em_data.$(LIBSUF)
1993-03-31 13:22:17 +00:00
em: $(SRC_DIR)/em.p
apc -O $(SRC_DIR)/em.p >emerrs ; mv a.out em
nem.p: $(SRC_DIR)/em.p
sed -e '/maxadr = t16/s//maxadr =t15/' -e '/maxdata = 8191; /s//maxdata = 14335;/' -e '/ adr=.*long/s// adr= 0..maxadr/' <$(SRC_DIR)/em.p >nem.p
nem: nem.p
apc -O nem.p >emerrs ; mv a.out nem
emdmp: $(SRC_DIR)/emdmp.c
$(CC) -I$(TARGET_HOME)/h -I$(TARGET_HOME)/config -o emdmp -O $(SRC_DIR)/emdmp.c
cmp:
pr:
@pr $(SRC_DIR)/em.p $(SRC_DIR)/mktables.c $(SRC_DIR)/emdmp.c