Pristine Ack-5.5
[Ack-5.5.git] / mach / sparc / ce / proto.make
1 # $Id: proto.make,v 1.3 1994/10/25 16:14:08 ceriel Exp $
2
3 #PARAMS         do not remove this line!
4
5 MACH = sparc
6 OBJ = as
7 SRC_DIR = $(SRC_HOME)/mach/$(MACH)/ce
8
9 CEG = $(TARGET_HOME)/lib.bin/ceg/util
10
11 all:
12         ( cd $(SRC_DIR); make CPP=$(UTIL_HOME)/lib.bin/cpp )
13         make -f $(CEG)/make_asobj "OBJ="$(OBJ) "MACH="$(MACH)
14
15 install:
16         ( cd $(SRC_DIR); make CPP=$(UTIL_HOME)/lib.bin/cpp )
17         -mkdir $(TARGET_HOME)/lib.bin/sparc
18         make -f $(CEG)/make_asobj "OBJ="$(OBJ) "MACH="$(MACH) install
19
20 cmp:
21         ( cd $(SRC_DIR); make CPP=$(UTIL_HOME)/lib.bin/cpp )
22         -make -f $(CEG)/make_asobj "OBJ="$(OBJ) "MACH="$(MACH) cmp
23
24 pr:
25         @pr $(SRC_DIR)/proto.make $(SRC_DIR)/EM_table.x $(SRC_DIR)/mach.h \
26             $(SRC_DIR)/mach.c $(SRC_DIR)/cache.c.x
27
28 opr:
29         make pr | opr
30
31 # total cleanup
32 clean:
33         make -f $(CEG)/make_asobj "OBJ="$(OBJ) clean
34
35 # only remove ce, ceg, and back directories
36 dclean:
37         make -f $(CEG)/make_asobj "OBJ="$(OBJ) dclean