1 # $Id: proto.make,v 1.4 1994/06/24 13:18:12 ceriel Exp $
3 #PARAMS do not remove this line!
5 INTS=em_t--- em_---- em_tf-- em_t-c- em_t--p
7 SRC_DIR = $(SRC_HOME)/mach/pdp/int
8 CFLAGS = $(COPTIONS) -I$(TARGET_HOME)/h -I$(TARGET_HOME)/config
11 b=$(TARGET_HOME)/lib.bin/em22
13 all: $(INTS) eminform em
16 $(CC) $(LDFLAGS) -o em em.c
19 $(CC) $(CFLAGS) -c $(SRC_DIR)/em.c
21 eminform: $(SRC_DIR)/eminform.s
22 as $(SRC_DIR)/eminform.s;ld -i -o eminform a.out -lc
24 em_t---: $(SRC_DIR)/t+ $(SRC_DIR)/f- $(SRC_DIR)/c- $(SRC_DIR)/p- $(SRC_DIR)/em_int.s
25 as $(SRC_DIR)/t+ $(SRC_DIR)/f- $(SRC_DIR)/c- $(SRC_DIR)/p- $(SRC_DIR)/em_int.s;ld -i -o em_t--- a.out -lc
27 em_----: $(SRC_DIR)/t- $(SRC_DIR)/f- $(SRC_DIR)/c- $(SRC_DIR)/p- $(SRC_DIR)/em_int.s
28 as $(SRC_DIR)/t- $(SRC_DIR)/f- $(SRC_DIR)/c- $(SRC_DIR)/p- $(SRC_DIR)/em_int.s;ld -i -o em_---- a.out -lc
30 em_tf--: $(SRC_DIR)/t+ $(SRC_DIR)/f+ $(SRC_DIR)/c- $(SRC_DIR)/p- $(SRC_DIR)/em_int.s
31 as $(SRC_DIR)/t+ $(SRC_DIR)/f+ $(SRC_DIR)/c- $(SRC_DIR)/p- $(SRC_DIR)/em_int.s;ld -i -o em_tf-- a.out -lc
33 em_t-c-: $(SRC_DIR)/t+ $(SRC_DIR)/f- $(SRC_DIR)/c+ $(SRC_DIR)/p- $(SRC_DIR)/em_int.s
34 as $(SRC_DIR)/t+ $(SRC_DIR)/f- $(SRC_DIR)/c+ $(SRC_DIR)/p- $(SRC_DIR)/em_int.s;ld -i -o em_t-c- a.out -lc
36 em_t--p: $(SRC_DIR)/t+ $(SRC_DIR)/f- $(SRC_DIR)/c- $(SRC_DIR)/p+ $(SRC_DIR)/em_int.s
37 as $(SRC_DIR)/t+ $(SRC_DIR)/f- $(SRC_DIR)/c- $(SRC_DIR)/p+ $(SRC_DIR)/em_int.s;ld -i -o em_t--p a.out -lc
42 cp em eminform $(TARGET_HOME)/bin
43 if [ $(DO_MACHINE_INDEP) = y ] ; \
44 then mk_manpage $(SRC_DIR)/em.1 $(TARGET_HOME) ; \
45 mk_manpage $(SRC_DIR)/eminform.1 $(TARGET_HOME) ; \
49 -cmp em_t--- $b/em_t---
50 -cmp em_---- $b/em_----
51 -cmp em_tf-- $b/em_tf--
52 -cmp em_t-c- $b/em_t-c-
53 -cmp em_t--p $b/em_t--p
54 -cmp em $(TARGET_HOME)/bin/em
55 -cmp eminform $(TARGET_HOME)/bin/eminform
58 -rm -f *.o *.old a.out em eminform $(INTS)
64 @pr $(SRC_DIR)/em.c $(SRC_DIR)/em_int.s $(SRC_DIR)/eminform.s