Fixed for machines without .o
authorceriel <none@none>
Fri, 19 Nov 1993 09:59:11 +0000 (09:59 +0000)
committerceriel <none@none>
Fri, 19 Nov 1993 09:59:11 +0000 (09:59 +0000)
mach/proto/libg/proto.libmon
mach/proto/libg/proto.libsys

index 5b4e371..be1ec34 100644 (file)
@@ -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
index 170d0b5..afce2c3 100644 (file)
@@ -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