From 861f4afc0c6d3fe8efa2cb636b9ee8edab4438d0 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 7 Oct 1993 10:56:25 +0000 Subject: [PATCH] Added -LIB where needed --- mach/proto/libg/proto.libcc.ansi | 4 ++-- mach/proto/libg/proto.libend | 2 +- mach/proto/libg/proto.libf77 | 2 +- mach/proto/libg/proto.libmon | 2 +- mach/proto/libg/proto.libsys | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mach/proto/libg/proto.libcc.ansi b/mach/proto/libg/proto.libcc.ansi index d0b628e2b..7bca5296e 100644 --- a/mach/proto/libg/proto.libcc.ansi +++ b/mach/proto/libg/proto.libcc.ansi @@ -9,10 +9,10 @@ SRC_DIR = $(SRC_HOME)/lang/cem/libcc.ansi .SUFFIXES: .o .e .c .m .s .so .c.o .c.m .c.s .c.so: - $(MACH) $(MACHFL) -ansi -c $< + $(MACH) $(MACHFL) -LIB -ansi -c $< .e.o .e.m .e.s .e.so: - $(MACH) $(MACHFL) -c $< + $(MACH) $(MACHFL) -c -LIB $< fake: all: copy head tail diff --git a/mach/proto/libg/proto.libend b/mach/proto/libg/proto.libend index efdb93516..49b8d0352 100644 --- a/mach/proto/libg/proto.libend +++ b/mach/proto/libg/proto.libend @@ -13,7 +13,7 @@ end_o.a: RANLIB="$(RANLIB)" ; export RANLIB ; \ MACH="$(MACH)" ; export MACH ; \ SUF="$(SUF)" ; export SUF ; \ - MACHFL="$(MACHFL)" ; export MACHFL ; \ + MACHFL="$(MACHFL) -LIB" ; export MACHFL ; \ LIB=`head -1 $(SRC_DIR)/LIST` ; export LIB ; \ if [ $(SUF) = o -o $(SUF) = m ] ; then march $(SRC_DIR) end_o.a $(SRC_HOME)/mach/proto/libg/compmodule ; else cp $(SRC_DIR)/$$LIB end_o.a ; fi diff --git a/mach/proto/libg/proto.libf77 b/mach/proto/libg/proto.libf77 index 3146033e8..21699a88d 100644 --- a/mach/proto/libg/proto.libf77 +++ b/mach/proto/libg/proto.libf77 @@ -9,7 +9,7 @@ SRC_DIR = $(SRC_HOME)/lang/fortran/lib .SUFFIXES: .o .e .c .m .s .so .c.o .c.m .c.s .c.so .e.o .e.m .e.s .e.so: - $(MACH) $(MACHFL) -DSkip_f2c_Undefs -ansi -DNON_UNIX_STDIO -wo -c $< + $(MACH) $(MACHFL) -LIB -DSkip_f2c_Undefs -ansi -DNON_UNIX_STDIO -wo -c $< fake: all: copy tail diff --git a/mach/proto/libg/proto.libmon b/mach/proto/libg/proto.libmon index d5caaf15c..5b4e371a9 100644 --- a/mach/proto/libg/proto.libmon +++ b/mach/proto/libg/proto.libmon @@ -13,7 +13,7 @@ libmon: $(SRC_DIR)/libmon_s.a RANLIB="$(RANLIB)" ; export RANLIB ; \ MACH="$(MACH)" ; export MACH ; \ SUF="$(SUF)" ; export SUF ; \ - MACHFL="$(MACHFL)" ; export MACHFL ; \ + MACHFL="$(MACHFL) -LIB" ; export MACHFL ; \ 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 diff --git a/mach/proto/libg/proto.libsys b/mach/proto/libg/proto.libsys index c7c645c1e..170d0b599 100644 --- a/mach/proto/libg/proto.libsys +++ b/mach/proto/libg/proto.libsys @@ -13,7 +13,7 @@ libmon: $(SRC_DIR)/libmon_s.a RANLIB="$(RANLIB)" ; export RANLIB ; \ MACH="$(MACH)" ; export MACH ; \ SUF="$(SUF)" ; export SUF ; \ - MACHFL="$(MACHFL) -I$(SRC_DIR) -I$(TARGET_HOME)/h" ; export MACHFL ; \ + MACHFL="$(MACHFL) -LIB -I$(SRC_DIR) -I$(TARGET_HOME)/h" ; export MACHFL ; \ 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