ack/mach/proto/libg/proto.libend
1991-09-18 10:02:37 +00:00

36 lines
870 B
Plaintext

# $Header$
#PARAMS do not remove this line!
#MACH_PARAMS do not remove this line!
SRC_DIR = $(SRC_HOME)/mach/$(MACH)/libend
all: end_o.a
end_o.a:
ASAR="$(ASAR)" ; export ASAR ; \
RANLIB="$(RANLIB)" ; export RANLIB ; \
MACH="$(MACH)" ; export MACH ; \
SUF="$(SUF)" ; export SUF ; \
MACHFL="$(MACHFL)" ; 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
install: all
cp end_o.a $(TARGET_HOME)/lib/$(MACH)/end_em
$(RANLIB) $(TARGET_HOME)/lib/$(MACH)/end_em
cmp: all
-cmp end_o.a $(TARGET_HOME)/lib/$(MACH)/end_em
clean:
-rm -f *.old *.[ce$(SUF)] end_o.a
opr:
make pr | opr
pr:
LIB=`head -1 $(SRC_DIR)/LIST` ; export LIB ; \
arch pv $(SRC_DIR)/$$LIB | pr -h $(SRC_DIR)/$$LIB