From 0e6e7bc913bad24a67d44d7b3598f53cef6b02c4 Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 19 Nov 1993 09:59:11 +0000 Subject: [PATCH] Fixed for machines without .o --- mach/proto/libg/proto.libmon | 3 +-- mach/proto/libg/proto.libsys | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mach/proto/libg/proto.libmon b/mach/proto/libg/proto.libmon index 5b4e371a9..be1ec3498 100644 --- a/mach/proto/libg/proto.libmon +++ b/mach/proto/libg/proto.libmon @@ -17,8 +17,7 @@ libmon: $(SRC_DIR)/libmon_s.a if [ $(SUF) = o ] ; then march $(SRC_DIR) libmon $(SRC_HOME)/mach/proto/libg/compmodule ; else cp $(SRC_DIR)/libmon_s.a libmon ; fi head: $(SRC_DIR)/head_em.s - $(MACH) -c.$(SUF) $(MACHFL) $(SRC_DIR)/head_em.s - mv head_em.$(SUF) head + if [ $(SUF) = o ] ; then $(MACH) -c.$(SUF) $(MACHFL) -I$(SRC_DIR) -I$(TARGET_HOME)/h $(SRC_DIR)/head_em.s ; mv head_em.$(SUF) head ; else cp $(SRC_DIR)/head_em.s head ; fi install: all cp libmon $(TARGET_HOME)/lib/$(MACH)/tail_mon2 diff --git a/mach/proto/libg/proto.libsys b/mach/proto/libg/proto.libsys index 170d0b599..afce2c395 100644 --- a/mach/proto/libg/proto.libsys +++ b/mach/proto/libg/proto.libsys @@ -17,8 +17,7 @@ libmon: $(SRC_DIR)/libmon_s.a if [ $(SUF) = o ] ; then march $(SRC_DIR) libmon $(SRC_HOME)/mach/proto/libg/compmodule ; else cp $(SRC_DIR)/libmon_s.a libmon ; fi head: $(SRC_DIR)/head_em.s - $(MACH) -c.$(SUF) $(MACHFL) -I$(SRC_DIR) -I$(TARGET_HOME)/h $(SRC_DIR)/head_em.s - mv head_em.$(SUF) head + if [ $(SUF) = o ] ; then $(MACH) -c.$(SUF) $(MACHFL) -I$(SRC_DIR) -I$(TARGET_HOME)/h $(SRC_DIR)/head_em.s ; mv head_em.$(SUF) head ; else cp $(SRC_DIR)/head_em.s head ; fi install: all cp libmon $(TARGET_HOME)/lib/$(MACH)/tail_mon -- 2.34.1