ack/mach/proto/libg/proto.libmon

41 lines
1.1 KiB
Plaintext
Raw Normal View History

1991-08-23 14:07:27 +00:00
# $Header$
#PARAMS do not remove this line!
#MACH_PARAMS do not remove this line!
1991-09-04 10:45:29 +00:00
SRC_DIR = $(SRC_HOME)/mach/$(MACH)/libmon
1991-08-23 14:07:27 +00:00
1991-09-04 10:45:29 +00:00
all: libmon head
1991-08-23 14:07:27 +00:00
1991-09-04 10:45:29 +00:00
libmon: $(SRC_DIR)/libmon_s.a
ASAR="$(ASAR)" ; export ASAR ; \
RANLIB="$(RANLIB)" ; export RANLIB ; \
MACH="$(MACH)" ; export MACH ; \
1991-09-18 10:02:37 +00:00
SUF="$(SUF)" ; export SUF ; \
1991-09-04 10:45:29 +00:00
MACHFL="$(MACHFL)" ; export MACHFL ; \
1991-09-18 10:02:37 +00:00
if [ $(SUF) = o ] ; then march $(SRC_DIR) libmon $(SRC_HOME)/mach/proto/libg/compmodule ; else cp $(SRC_DIR)/libmon_s.a libmon ; fi
1991-08-23 14:07:27 +00:00
1991-09-04 10:45:29 +00:00
head: $(SRC_DIR)/head_em.s
1991-09-18 10:02:37 +00:00
if [ $(SUF) = o ] ; then $(MACH) -c $(MACHFL) $(SRC_DIR)/head_em.s ; else cp $(SRC_DIR)/head_em.s head_em.s ; fi
1991-09-04 10:45:29 +00:00
mv head_em.$(SUF) head
1991-08-23 14:07:27 +00:00
1991-09-04 10:45:29 +00:00
install: all
cp libmon $(TARGET_HOME)/lib/$(MACH)/tail_mon2
$(RANLIB) $(TARGET_HOME)/lib/$(MACH)/tail_mon2
cp head $(TARGET_HOME)/lib/$(MACH)/head_em
1991-08-23 14:07:27 +00:00
1991-09-04 10:45:29 +00:00
cmp: all
-cmp libmon $(TARGET_HOME)/lib/$(MACH)/tail_mon2
-cmp head $(TARGET_HOME)/lib/$(MACH)/head_em
1991-08-23 14:07:27 +00:00
clean:
1991-09-04 10:45:29 +00:00
-rm -f *.old *.[ce$(SUF)] head libmon
1991-08-23 14:07:27 +00:00
opr:
1991-09-04 10:45:29 +00:00
make pr | opr
1991-08-23 14:07:27 +00:00
pr:
1991-09-04 10:45:29 +00:00
@pr $(SRC_DIR)/head_em.s
@arch pv $(SRC_DIR)/libmon_s.a | pr -h $(SRC_DIR)/libmon_s.a